Linux kernel crash in dm-integrity read-only activation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dm-integrity: fix NULL pointer dereference when the 'R' flag is used
If the dm-integrity device has the SB_FLAG_DIRTY_BITMAP flag set and the user activates the device in the 'R' mode, a crash in dm_integrity_resume happens because the function attempts to read the journal containing the bitmap.
This patch makes dm-integrity skip any writes to the device in dm_integrity_resume if the device is activated in the 'R' mode.
From the CVE record · Linux
The Linux kernel's dm-integrity component can dereference a NULL pointer when a device with SB_FLAG_DIRTY_BITMAP set is activated in 'R' mode. A user activating such a device can trigger a crash in dm_integrity_resume; the input does not specify authentication requirements.
Anyone running the Linux kernel with dm-integrity should check whether their kernel is affected; affected versions were not provided.