CVE-2024-50277

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
19/11/2024
Last modified:
27/11/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> dm: fix a crash if blk_alloc_disk fails<br /> <br /> If blk_alloc_disk fails, the variable md-&gt;disk is set to an error value.<br /> cleanup_mapped_device will see that md-&gt;disk is non-NULL and it will<br /> attempt to access it, causing a crash on this statement<br /> "md-&gt;disk-&gt;private_data = NULL;".

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*