4.7medium
dm: fix a crash if blk_alloc_disk fails
- Severity
- 4.7medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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;".
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 74fa8f9c553f7b5ccab7d103acae63cc2e080465 before d7aec2a06730b774a97caaf48cbbc58330a85829, from 74fa8f9c553f7b5ccab7d103acae63cc2e080465 before fed13a5478680614ba97fc87e71f16e2e197912e, 6.9 Not affected: before 6.9, from 6.11.8 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | before 6.11.8, 6.12 | NVD |
All scores
| CISA-ADP | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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;".
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dm: corrige un bloqueo si blk_alloc_disk falla Si blk_alloc_disk falla, la variable md->disk se establece en un valor de error. cleanup_mapped_device verá que md->disk no es NULL e intentará acceder a él, lo que provocará un bloqueo en esta declaración "md->disk->private_data = NULL;".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50277 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-50277 changed 2026-06-17 | Public domain |