{"id":"CVE-2026-99172","published":"2026-10-28T10:35:27Z","modified":"2026-11-10T18:15:26Z","title":"ipc: drop the mqueue mount with kern_unmount() on setup failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc: drop the mqueue mount with kern_unmount() on setup failure\n\nmq_init_ns() creates the mqueue mount with fc_mount_longterm(), so its\n->mnt_ns is MNT_NS_INTERNAL. When setting up the mqueue or ipc sysctls\nor msg_init_ns() fails afterwards, create_ipc_ns() drops it with a plain\nmntput(). With ->mnt_ns set that takes the fast path of\nmntput_no_expire(). The count drops to zero and nothing ever kills the\nmount, so the mount and the mqueue superblock are leaked.\n\nCommit dc55e35f9e81 (\"ipc: Store mqueue sysctls in the ipc namespace\")\nadded the first failure path after mq_init_ns() and never dropped the\nmount. Commit 7229d74e5e8c (\"ipc: create_ipc_ns: drop mqueue mount on\nsysctl setup failure\") tried to fix that with a mntput() but that\ndoesn't help for a long-term mount.\n\nUse kern_unmount(). free_ipc() open-codes the same thing for a namespace\nthat made it.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00213,"percentile":0.11617,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4dd36cf72d2c6c090958c0d7b542fa8211635d2d","tags":[]},{"url":"https://git.kernel.org/stable/c/4aef6ceb4d6acacd53bc047ac4849677c3edbec1","tags":[]},{"url":"https://git.kernel.org/stable/c/c0620b648321fff654173d238d4a85298ea16d05","tags":[]},{"url":"https://git.kernel.org/stable/c/f0e48172a59e517e613b73f73cc35f24fd123aeb","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.32}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= dc55e35f9e810f23dd69cfdc91a3d636023f57a2, < 4dd36cf72d2c6c090958c0d7b542fa8211635d2d",">= dc55e35f9e810f23dd69cfdc91a3d636023f57a2, < 4aef6ceb4d6acacd53bc047ac4849677c3edbec1",">= dc55e35f9e810f23dd69cfdc91a3d636023f57a2, < c0620b648321fff654173d238d4a85298ea16d05",">= dc55e35f9e810f23dd69cfdc91a3d636023f57a2, < f0e48172a59e517e613b73f73cc35f24fd123aeb"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"euvd":{"id":"EUVD-2026-111924","exploited":false,"provenance":"source"}}