fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.11.10
- CVEs
- CVE-2024-53107
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 08:42 UTC · Revision 1
Source evidence
fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
core-osv · Original sourcePublished 2 Dec 2024, 13:44 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.
osv:CVE-2024-53107
Kernel
Fixed versions: 6.11.10
Complete source record
{
"id": "40f05c1094102cbe4413cec06a44e118a83790d35de4a7a39922cafcd189f284",
"url": "https://osv.dev/vulnerability/CVE-2024-53107",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()",
"summary": "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.",
"evidence": "osv:CVE-2024-53107",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.11.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2024-53107",
"aliases": [
"CVE-2024-53107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "52526ca7fdb905a768a93f8faa418e9b988fc34b"
},
{
"fixed": "adee03f8903c58a6a559f21388a430211fac8ce9"
},
{
"fixed": "669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53107.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.11.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53107.json"
}
}
],
"modified": "2026-10-28T02:30:34.185557864Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e",
"https://git.kernel.org/stable/c/adee03f8903c58a6a559f21388a430211fac8ce9",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53107.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-53107",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53107.json"
}
},
"related_cves": [
{
"value": "CVE-2024-53107",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501213,
"published_at": "2024-12-02T13:44:39.811+00:00"
}