CVE-2026-43178
High · 7.8CVSS
7.8
EPSS
0.1%
Published
May 6, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel can let a logged-in user damage internal memory structures, potentially crashing the system or gaining higher privileges.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Double mmput() call on an mm_struct in the PROCMAP_QUERY error path after mmap_lock release, resulting in use-after-free or memory corruption.
Why it matters to the business
Local attackers on affected Linux systems can trigger kernel memory corruption, leading to crashes, data corruption, or potential privilege escalation; the issue affects widely used kernels with no fixed versions listed yet, increasing urgency for patching once available.
How an attack unfolds
A local attacker invokes the PROCMAP_QUERY operation with an incorrectly sized build ID buffer, causing the -ENAMETOOLONG error path to execute after mmput() has already occurred, triggering the double free during cleanup.
How to fix it
Apply the upstream kernel patch that adjusts the error jump target to avoid the second mmput(); monitor for distribution updates that include this fix once released.
How to confirm the fix worked
Review kernel source for the corrected goto target in do_procmap_query() after the ENAMETOOLONG return; confirm the double-mmput path is eliminated by code inspection or by testing the error condition.
Typical attack path
- Obtain local unprivileged access to a vulnerable Linux system
- Invoke PROCMAP_QUERY ioctl or equivalent with malformed build ID buffer size
- Trigger the error path that performs the second mmput()
- Exploit resulting use-after-free for memory corruption or escalation
How to detect it
Search kernel logs and audit trails for repeated PROCMAP_QUERY failures returning ENAMETOOLONG followed by unexpected mm_struct reference counts or oops involving mmput; no public exploitation artifacts are known.
What your security team should do
- Prioritize kernel updates containing this fix once available from distributions
- Restrict unprivileged local access where possible until patched
- Monitor EPSS and KEV status for changes indicating increased exploitation risk
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119338 Tesseract is an open source OCR engine. CWE-415
- CVE-2026-119116 A use-after-free and double-free issue in the SetClient command handler of the… CWE-415
- CVE-2026-85890 Double free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute… CWE-415
- CVE-2026-83831 Double free in Microsoft Edge (Chromium-based) allows an unauthorized attacker to execute… CWE-415
- CVE-2026-88812 A double free in XKB SetGeometryin X.Org X Server before 21.1.25 and X Wayland before… CWE-415
- CVE-2026-116743 libyal libmsiecf through 20260525 contains a double free vulnerability in… CWE-415
- CVE-2026-112457 A double free issue was addressed with improved memory management. CWE-415
- CVE-2026-78116 The Broadcom AFBR-S50 time-of-flight sensor driver double-completes an RTIO submission… CWE-415