Friday 04 December 2026 06:29:54 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

MODE SENSE

A SCSI command used to query a device for configuration and capability data.

MODE SENSE is a SCSI command that lets a host request configuration and capability data from a storage device. The device returns structured data, including length fields that software must validate before interpreting it.

Because operating systems may issue this command while detecting a device, MODE SENSE responses are part of the privileged attack surface. In a malformed-response attack, crafted data could trigger a flaw in the kernel’s parsing logic, potentially causing memory corruption before a user logs in or mounts a filesystem. Defenses include validating device-supplied lengths and applying vendor kernel updates that fix parsing bugs. Restricting untrusted USB storage can also reduce exposure.

← WIKICROOK index