dm flakey: fix a crash with invalid table line
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a3998799fb4df0b0af8271a7d50c4269032397aa · < cb874a190f3f7c3c3fa5b979bee7a3b8cc3a19cc| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dm flakey: fix a crash with invalid table line
This command will crash with NULL pointer dereference: dmsetup create flakey --table \ "0 `blockdev --getsize /dev/ram0` flakey /dev/ram0 0 0 1 2 corrupt_bio_byte 512"
Fix the crash by checking if arg_name is non-NULL before comparing it.
From the CVE record · Linux
The Linux kernel's dm flakey component can dereference a NULL pointer when given an invalid table line. A local user who can submit the malformed dmsetup table shown in the report can trigger a crash; the input does not specify authentication requirements.
Engineers running Linux kernels with dm flakey should check their systems; affected versions are not specified.