NULL pointer dereference in Linux

CVE-2024-50277

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

EPSS: 0.002 (8.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-50277?
CVE-2024-50277 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 4.7/10. Published 2024-11-19.
How severe is CVE-2024-50277?
Medium severity. CVSS v3 base score is 4.7 out of 10.