Bug 2260046 (CVE-2024-23851) - CVE-2024-23851 kernel: copy_params can attempt to allocate more than INT_MAX bytes and crash
Summary: CVE-2024-23851 kernel: copy_params can attempt to allocate more than INT_MAX ...
Keywords:
Status: CLOSED DUPLICATE of bug 2263856
Alias: CVE-2024-23851
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
: CVE-2024-26819 (view as bug list)
Depends On: 2260047
Blocks: 2260037
TreeView+ depends on / blocked
 
Reported: 2024-01-24 08:24 UTC by Rohit Keshri
Modified: 2024-04-19 20:20 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in copy_params in drivers/md/dm-ioctl.c in the Linux kernel, where it can attempt to allocate more than INT_MAX bytes and crash due to a missing param_kernel->data_size check. This issue is related to ctl_ioctl.
Clone Of:
Environment:
Last Closed: 2024-02-28 15:04:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2024-01-24 08:24:52 UTC
copy_params in drivers/md/dm-ioctl.c in the Linux kernel through 6.7.1 can attempt to allocate more than INT_MAX bytes, and crash, because of a missing param_kernel->data_size check. This is related to ctl_ioctl.

https://www.spinics.net/lists/dm-devel/msg56574.html
https://www.spinics.net/lists/dm-devel/msg56694.html

Comment 1 Rohit Keshri 2024-01-24 08:34:24 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2260047]

Comment 5 Alex 2024-02-28 15:04:17 UTC

*** This bug has been marked as a duplicate of bug 2263856 ***

Comment 7 Ben Marzinski 2024-04-19 20:20:13 UTC
*** Bug 2275620 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.