Bug 2327178 (CVE-2024-50277) - CVE-2024-50277 kernel: dm: fix a crash if blk_alloc_disk fails
Summary: CVE-2024-50277 kernel: dm: fix a crash if blk_alloc_disk fails
Keywords:
Status: NEW
Alias: CVE-2024-50277
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2327242
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-19 02:02 UTC by OSIDB Bzimport
Modified: 2024-11-21 19:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-11-19 02:02:04 UTC
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;".

Comment 1 Avinash Hanwate 2024-11-19 05:37:36 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024111936-CVE-2024-50277-1fe3@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.