CVE-2024-53107: fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()

Published Dec 2, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fs/proc/taskmmu: prevent integer overflow in pagemapscangetargs()

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

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

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=6.7<6.11.10
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
Linux Linux kernel=6.12-rc3
Linux Linux kernel=6.12-rc4
Linux Linux kernel=6.12-rc5
Linux Linux kernel=6.12-rc6
Linux Linux kernel=6.12-rc7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Configuration

    Update the fs/proc/task_mmu pagemap_scan_get_args() logic to use size_mul() to avoid integer wrapping in the expression 'arg->vec_len * sizeof(struct page_region)'. Ensure the user-provided 'arg->vec_len' (a u64 from user input) fits in the expected type/size used for subsequent computations on 32-bit systems.

    Linux kernel (fs/proc/task_mmu) pagemap_scan_get_args() integer overflow handling = Use size_mul() for arg->vec_len * sizeof(struct page_region) instead of direct multiplication

Event History

Dec 2, 2024
CVE Published
via MITRE·01:44 PM
Data Sourced
via MITRE·01:44 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 24, 2025
Data Sourced
via Launchpad·12:54 AM
Description
May 3, 2025
Data Sourced
via Ubuntu·01:10 AM
RemedyDescriptionSeverityAffected Software
Jan 10, 58561
Event
via MITRE·08:44 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-53107?

CVE-2024-53107 has been classified as having a medium severity level due to the potential for integer overflow leading to memory issues.

2

How do I fix CVE-2024-53107?

To fix CVE-2024-53107, update the Linux kernel to version 6.11.10 or later.

3

Which versions of the Linux kernel are affected by CVE-2024-53107?

CVE-2024-53107 affects Linux kernel versions from 6.7 up to and including 6.11.10 and all 6.12 release candidates.

4

What impact does CVE-2024-53107 have on system security?

CVE-2024-53107 can potentially allow for system instability and unauthorized access due to improper handling of user input.

5

Where can I find more information on CVE-2024-53107?

Detailed information about CVE-2024-53107 can be found in the official Linux kernel change logs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203