CVE-2024-50277

dm: fix a crash if blk_alloc_disk fails

State
Published
Severity
4.7 Medium
Published
Nov 19, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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;".

Scores

CVSSScoreVectorSource
3.14.7 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 74fa8f9c553f7b5ccab7d103acae63cc2e080465 to before d7aec2a06730b774a97caaf48cbbc58330a85829Affected
  • 74fa8f9c553f7b5ccab7d103acae63cc2e080465 to before fed13a5478680614ba97fc87e71f16e2e197912eAffected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.11.8 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.