What’s Vulnerable › Vulnerabilities
CVE-2024-50277: dm: fix a crash if blk_alloc_disk fails
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-19 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: dm: fix a crash if blk_alloc_disk fails If blk_alloc_disk fails, the variable md->disk is set to an error value. cleanup_mapped_device will see that md->disk is non-NULL and it will attempt to access it, causing a crash on this statement "md->disk->private_data = NULL;".
Affected products
- Linux kernel: before 6.11.8; 6.12-rc1, 6.12-rc2, 6.12-rc3, 6.12-rc4, 6.12-rc5, 6.12-rc6 — fixed in 6.11.8
How to fix
Upgrade to a fixed version: Linux kernel 6.11.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/d7aec2a06730b774a97caaf48cbbc58330a85829
- https://git.kernel.org/stable/c/fed13a5478680614ba97fc87e71f16e2e197912e
Get alerted when CVE-2024-50277 or the next vulnerability affects your stack