CVE-2024-50277

medium

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

References

https://git.kernel.org/stable/c/fed13a5478680614ba97fc87e71f16e2e197912e

https://git.kernel.org/stable/c/d7aec2a06730b774a97caaf48cbbc58330a85829

Details

Source: Mitre, NVD

Published: 2024-11-19

Updated: 2024-11-27

Risk Information

CVSS v2

Base Score: 3.8

Vector: CVSS2#AV:L/AC:H/Au:S/C:N/I:N/A:C

Severity: Low

CVSS v3

Base Score: 4.7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium