CVE-2026-43178 Details
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.
A vulnerability in the Linux kernel's procfs implementation can lead to a double memory management issue. This occurs in the 'do_procmap_query' function when a user provides a buffer for the build ID that is incorrectly sized. The function returns an '-ENAMETOOLONG' error, but due to recent changes, this error is now handled after releasing locks and decrementing the memory reference count, leading to the double decrement. The vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2026-43178 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2467227 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43178.json | redhat-SADP | |
| https://git.kernel.org/stable/c/61dc9f776705d6db6847c101b98fa4f0e9eb6fa3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8adaff87db143583e08eec4f4e7788f1ef8af94d | kernel.org | Patch |
| https://git.kernel.org/stable/c/90f5e87c9b75833b9ef3a4415b92c0247f28ab2f | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9fe092084cd04deea18747f58a2304026e76aaa | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
| CWE-1341 | Multiple Releases of Same Resource or Handle | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12.70, < 6.12.75 >= 6.18.10, < 6.18.16 >= 6.19.1, < 6.19.6 6.19 - |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 12, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | CVE Modified | kernel.org |
| May 6, 2026 | New CVE Received | kernel.org |