CVE-2026-43178
procfs: fix possible double mmput() in do_procmap_query()
Check your servers for CVE-2026-43178
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-43178 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.99% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-1341 Multiple Releases of Same Resource or Handle
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b9b97e6aeb534315f9646b2090d1a5024c6a4e82, before f9fe092084cd04deea18747f58a2304026e76aaa affected from cbc03ce3e6ce7e21214c3f02218213574c1a2d08, before 8adaff87db143583e08eec4f4e7788f1ef8af94d affected from b5cbacd7f86f4f62b8813688c8e73be94e8e1951, before 90f5e87c9b75833b9ef3a4415b92c0247f28ab2f affected from b5cbacd7f86f4f62b8813688c8e73be94e8e1951, before 61dc9f776705d6db6847c101b98fa4f0e9eb6fa3 affected from 6.12.70, before 6.12.75 affected from 6.18.10, before 6.18.16
Other versions: unaffected
|
| Linux |
affected 6.19 unaffected before 6.19 unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.16 up to and including 6.18.* unaffected from 6.19.6 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-43178 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-43178
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-43178
trivy image --scanners vuln IMAGE | grep CVE-2026-43178
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-43178 access.redhat.com · vdb entry
- RHBZ#2467227 bugzilla.redhat.com · issue tracking
Other references
- https://git.kernel.org/stable/c/f9fe092084cd04deea18747f58a2304026e76aaa git.kernel.org
- https://git.kernel.org/stable/c/8adaff87db143583e08eec4f4e7788f1ef8af94d git.kernel.org
- https://git.kernel.org/stable/c/90f5e87c9b75833b9ef3a4415b92c0247f28ab2f git.kernel.org
- https://git.kernel.org/stable/c/61dc9f776705d6db6847c101b98fa4f0e9eb6fa3 git.kernel.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43178.json security.access.redhat.com
Source: the record CVE-2026-43178 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse