procfs: fix possible double mmput() in do_procmap_query() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.14 % · percentile 3 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/f9fe092084cd04deea18747f58a2304026e76aaa
- https://git.kernel.org/stable/c/8adaff87db143583e08eec4f4e7788f1ef8af94d
- https://git.kernel.org/stable/c/90f5e87c9b75833b9ef3a4415b92c0247f28ab2f
- https://git.kernel.org/stable/c/61dc9f776705d6db6847c101b98fa4f0e9eb6fa3
- https://access.redhat.com/security/cve/CVE-2026-43178
- https://bugzilla.redhat.com/show_bug.cgi?id=2467227
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43178.json
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
European references
- ENISA EUVD · EUVD-2026-27738
- GCVE · GCVE-0-2026-43178
CERT-FR advisories
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.12.70 < 6.12.75cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.18.10 < 6.18.16cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19.1 < 6.19.6cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ b9b97e6aeb534315f9646b2090d1a5024c6a4e82 < f9fe092084cd04deea18747f58a2304026e76aaa affected : ≥ cbc03ce3e6ce7e21214c3f02218213574c1a2d08 < 8adaff87db143583e08eec4f4e7788f1ef8af94d affected : ≥ b5cbacd7f86f4f62b8813688c8e73be94e8e1951 < 90f5e87c9b75833b9ef3a4415b92c0247f28ab2f affected : ≥ b5cbacd7f86f4f62b8813688c8e73be94e8e1951 < 61dc9f776705d6db6847c101b98fa4f0e9eb6fa3 affected : ≥ 6.12.70 < 6.12.75 affected : ≥ 6.18.10 < 6.18.16 Other versions : unaffected |
| Linux · Linux | affected : 6.19 unaffected : ≥ 0 < 6.19 unaffected : ≥ 6.12.75 ≤ 6.12.* unaffected : ≥ 6.18.16 ≤ 6.18.* unaffected : ≥ 6.19.6 ≤ 6.19.* unaffected : ≥ 7.0 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |