CVE-2024-53107

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53107
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53107.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53107
Downstream
Related
Published
2024-12-02T13:44:39.811Z
Modified
2025-11-28T02:33:50.811361Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53107.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
52526ca7fdb905a768a93f8faa418e9b988fc34b
Fixed
adee03f8903c58a6a559f21388a430211fac8ce9
Fixed
669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.10