Bug 2263856 (CVE-2023-52429) - CVE-2023-52429 kernel: missing check for struct in dm-table.c can cause a crash
Summary: CVE-2023-52429 kernel: missing check for struct in dm-table.c can cause a crash
Status: NEW
Alias: CVE-2023-52429
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Product Security
QA Contact:
: CVE-2024-23851 (view as bug list)
Depends On: 2263891
Blocks: 2260037 2263863
TreeView+ depends on / blocked
Reported: 2024-02-12 12:47 UTC by ybuenos
Modified: 2024-05-05 11:31 UTC (History)
50 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the md driver in the linux kernel. Due to a missing check for struct dm_ioctl.target_count, dm_table_create can attempt to allocate more bytes than intended, resulting in a crash.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description ybuenos 2024-02-12 12:47:56 UTC
dm_table_create in drivers/md/dm-table.c in the Linux kernel through 6.7.4 can attempt to (in alloc_targets) allocate more than INT_MAX bytes, and crash, because of a missing check for struct dm_ioctl.target_count.


Comment 2 ybuenos 2024-02-12 15:58:33 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2263891]

Comment 5 Alex 2024-02-28 15:04:17 UTC
*** Bug 2260046 has been marked as a duplicate of this bug. ***

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