CVE-2026-43178: procfs: fix possible double mmput() in do_procmap_query()
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.
Security readout for executives and security teams
Plain-English summary
A local Linux user may trigger faulty kernel memory-management cleanup by supplying an incorrectly sized procfs process-map query buffer. The kernel can release a process memory descriptor twice, potentially compromising confidentiality, integrity, or availability. Network access alone is insufficient; an attacker needs local, low-privileged access.
Executive priority
Treat as a high-priority local privilege-boundary risk, especially on shared or externally accessible compute. It is less urgent than remotely exploitable kernel flaws on systems without untrusted local execution. Patch through supported distribution channels after confirming applicability; no active exploitation is established in the supplied evidence.
Technical view
In do_procmap_query(), an undersized build-ID buffer causes -ENAMETOOLONG after mmap or per-VMA locking is released and mmput() has run. The former error path performs another mmput() on the same mm_struct. The correction redirects cleanup to release only vm_file and name_buf.
Likely exposure
Exposure is concentrated on systems allowing untrusted or compromised local users to reach the affected procfs interface. The bundle marks Linux versions 6.19, 6.12.75, 6.18.16, 6.19.6, and 7.0 as affected, but its version presentation is ambiguous. Confirm distribution backports and running kernel builds with vendor guidance.
Exploitation context
The CVSS 3.1 score is 7.8 with local access, low complexity, low privileges, and no user interaction. The source bundle provides no evidence of public exploitation or inclusion in CISA's Known Exploited Vulnerabilities catalog. Practical exploitability and demonstrated impact are not established by the supplied evidence.
Researcher notes
The trigger is an incorrectly sized build-ID buffer in PROCMAP_QUERY, producing -ENAMETOOLONG after the first mmput(). Analysis should focus on exact introduction and stable-backport boundaries, which are not clearly represented in the bundle's affected-version list. The cited kernel commits are the authoritative correction references; no proof-of-concept or observed exploitation is supplied.
Mitigation direction
Apply a vendor-supported kernel update containing the cited procfs correction.
Reboot into the updated kernel and confirm the running version.
Check distribution advisories for backport status and affected build mappings.
Prioritize multi-user, shared-hosting, and other systems permitting untrusted local execution.
Validation and detection
Inventory running Linux kernel versions across affected systems.
Compare exact distribution builds against vendor advisories and backport records.
Confirm the installed kernel contains the applicable cited stable commit.
Verify systems booted the remediated kernel after updating.
Review local-access exposure while remediation remains pending.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-1341: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
1ADP providers
8Source links
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-1341 · source CWE mapping
Multiple Releases of Same Resource or Handle
Multiple Releases of Same Resource or Handle represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.