High severity7.8NVD Advisory· Published May 6, 2026· Updated Jul 15, 2026
CVE-2026-43178
CVE-2026-43178
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4Patches
Vulnerability mechanics
References
7- git.kernel.org/stable/c/61dc9f776705d6db6847c101b98fa4f0e9eb6fa3nvdPatch
- git.kernel.org/stable/c/8adaff87db143583e08eec4f4e7788f1ef8af94dnvdPatch
- git.kernel.org/stable/c/90f5e87c9b75833b9ef3a4415b92c0247f28ab2fnvdPatch
- git.kernel.org/stable/c/f9fe092084cd04deea18747f58a2304026e76aaanvdPatch
- access.redhat.com/security/cve/CVE-2026-43178nvd
- bugzilla.redhat.com/show_bug.cginvd
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43178.jsonnvd
News mentions
0No linked articles in our index yet.