ipc: drop the mqueue mount with kern_unmount() on setup failure (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: ipc: drop the mqueue mount with kern_unmount() on setup failure mq_init_ns() creates the mqueue mount with fc_mount_longterm(), so its ->mnt_ns is MNT_NS_INTERNAL. When setting up the mqueue or ipc sysctls or msg_init_ns() fails afterwards, create_ipc_ns() drops it with a plain mntput(). With ->mnt_ns set that takes the fast path of mntput_no_expire(). The count drops to zero and nothing ever kills the mount, so the mount and the mqueue superblock are leaked. Commit dc55e35f9e81 ("ipc: Store mqueue sysctls in the ipc namespace") added the first failure path after mq_init_ns() and never dropped the mount. Commit 7229d74e5e8c ("ipc: create_ipc_ns: drop mqueue mount on sysctl setup failure") tried to fix that with a mntput() but that doesn't help for a long-term mount. Use kern_unmount(). free_ipc() open-codes the same thing for a namespace that made it.
References
- https://git.kernel.org/stable/c/a18e94fa9238a810b5cef56f696232da6aa3e4e7
- https://git.kernel.org/stable/c/4ffb61eeb57e0854bff3a25b210bc0500ff0f6e4
- https://git.kernel.org/stable/c/4dd36cf72d2c6c090958c0d7b542fa8211635d2d
- https://git.kernel.org/stable/c/4aef6ceb4d6acacd53bc047ac4849677c3edbec1
- https://git.kernel.org/stable/c/c0620b648321fff654173d238d4a85298ea16d05
- https://git.kernel.org/stable/c/f0e48172a59e517e613b73f73cc35f24fd123aeb
European references
- ENISA EUVD · EUVD-2026-111924
- GCVE · GCVE-0-2026-99172
CERT-FR advisories
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1594 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < a18e94fa9238a810b5cef56f696232da6aa3e4e7 affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < 4ffb61eeb57e0854bff3a25b210bc0500ff0f6e4 affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < 4dd36cf72d2c6c090958c0d7b542fa8211635d2d affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < 4aef6ceb4d6acacd53bc047ac4849677c3edbec1 affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < c0620b648321fff654173d238d4a85298ea16d05 affected : ≥ dc55e35f9e810f23dd69cfdc91a3d636023f57a2 < f0e48172a59e517e613b73f73cc35f24fd123aeb Other versions : unaffected |
| Linux · Linux | affected : 5.19 unaffected : ≥ 0 < 5.19 unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.61 ≤ 6.18.* unaffected : ≥ 7.2.13 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * 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 |