Bug 2329934 (CVE-2024-53107) - CVE-2024-53107 kernel: fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
Summary: CVE-2024-53107 kernel: fs/proc/task_mmu: prevent integer overflow in pagemap_...
Keywords:
Status: NEW
Alias: CVE-2024-53107
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: 2329943
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-02 14:02 UTC by OSIDB Bzimport
Modified: 2024-12-02 14:54 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-02 14:02:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()

The "arg->vec_len" variable is a u64 that comes from the user at the start
of the function.  The "arg->vec_len * sizeof(struct page_region))"
multiplication can lead to integer wrapping.  Use size_mul() to avoid
that.

Also the size_add/mul() functions work on unsigned long so for 32bit
systems we need to ensure that "arg->vec_len" fits in an unsigned long.


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