CVE-2026-43178
HIGHprocfs: fix possible double mmput() in do_procmap_query()
Title source: cnaDescription
In the Linux kernel, the following vulnerability has been resolved: procfs: fix possible double mmput() in do_procmap_query() When user provides incorrectly sized buffer for build ID for PROCMAP_QUERY we return with -ENAMETOOLONG error. After recent changes this condition happens later, after we unlocked mmap_lock/per-VMA lock and did mmput(), so original goto out is now wrong and will double-mmput() mm_struct. Fix by jumping further to clean up only vm_file and name_buf.
References (7)
Core 7
Core References
Vendor Advisory
https://access.redhat.com/security/cve/CVE-2026-43178
Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2467227
Scores
CVSS v3
7.8
EPSS
0.0013
EPSS Percentile
3.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-1341
CWE-415
Status
published
Products (17)
linux/Kernel
< 6.12.75linux
linux/Kernel
6.13.0 - 6.18.16linux
linux/Kernel
6.19.0 - 6.19.6linux
Linux/Linux
< 6.19
Linux/Linux
6.12.70 - 6.12.75
Linux/Linux
6.12.75 - 6.12.*
Linux/Linux
6.18.10 - 6.18.16
Linux/Linux
6.18.16 - 6.18.*
Linux/Linux
6.19
Linux/Linux
6.19.6 - 6.19.*
... and 7 more
Published
May 06, 2026
Tracked Since
May 06, 2026