CVE-2024-50277

dm: fix a crash if blk_alloc_disk fails

Medium · published November 19, 2024

CVSS v3.1
4.7
EPSS
0%
Percentile
8.0
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00188 · 8.0th percentile
Published
2024-11-19T01:30Z
EPSS history
Timeline
  • 19 NOV 01:30Z
    dm: fix a crash if blk_alloc_disk fails
    cvelistv5