{"id":"CVE-2026-139064","aliases":["CVE-2026-139064"],"related":[],"kind":"vulnerability","state":"published","title":"ipc/mqueue: release notification resources during inode eviction","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc/mqueue: release notification resources during inode eviction\n\nmqueue_flush_file() removes an mq_notify() registration only when the\nclosing task belongs to the thread group stored in notify_owner.\n\nA task in a separate thread group created with CLONE_FILES can register\nSIGEV_THREAD notification and exit without closing the shared file table.\nIf another thread group then unlinks and last-closes the queue, ->flush()\nskips the registration and inode eviction loses the only pointers to its\nresources.\n\nThe orphaned registration permanently retains the notification skb, its\nnetlink socket, a pid reference and a user namespace reference. An\nunprivileged process can repeat the sequence with new queues and sockets.\n\nNo inode users remain during eviction. Remove any stale registration there\nafter dropping info->lock, since netlink_sendskb() may release the final\nsocket reference.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipc/mqueue: release notification resources during inode eviction\n\nmqueue_flush_file() removes an mq_notify() registration only when the\nclosing task belongs to the thread group stored in notify_owner.\n\nA task in a separate thread group created with CLONE_FILES can register\nSIGEV_THREAD notification and exit without closing the shared file table.\nIf another thread group then unlinks and last-closes the queue, ->flush()\nskips the registration and inode eviction loses the only pointers to its\nresources.\n\nThe orphaned registration permanently retains the notification skb, its\nnetlink socket, a pid reference and a user namespace reference. An\nunprivileged process can repeat the sequence with new queues and sockets.\n\nNo inode users remain during eviction. Remove any stale registration there\nafter dropping info->lock, since netlink_sendskb() may release the final\nsocket reference.","source":"cvelist"}],"published":"2026-11-30T13:27:31.964Z","modified":"2026-11-30T14:18:13.310Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"96fa3e879a6c0a39a7d208c796dd25d1a32e5a78","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ca7a2fdb589fb228c64feec9e9749214476296f0","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"1e0d1f3f7e43bc47e421887da38f9a3e51f6449a","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"d7155ac49c75e9b0ccf4788efc07763a8d99fe1e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"7fbc41dd8a3aaf620829f5875c9693e0ee905306","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"58291947b70a132144e1ed6fd6a4d9e043061a34","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"abdce0f17b8b6c2adff399fd79929bab584b436e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"eb85469f0dd69ca145d63117450e14c31f67f698","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/96fa3e879a6c0a39a7d208c796dd25d1a32e5a78","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca7a2fdb589fb228c64feec9e9749214476296f0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e0d1f3f7e43bc47e421887da38f9a3e51f6449a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7155ac49c75e9b0ccf4788efc07763a8d99fe1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7fbc41dd8a3aaf620829f5875c9693e0ee905306","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58291947b70a132144e1ed6fd6a4d9e043061a34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abdce0f17b8b6c2adff399fd79929bab584b436e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb85469f0dd69ca145d63117450e14c31f67f698","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139064","url":"https://www.cve.org/CVERecord?id=CVE-2026-139064","licence":"CVE Terms of Use","modified":"2026-11-30T13:27:31.964Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139064","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139064","licence":"Public domain","modified":"2026-11-30T14:18:13.310Z"}],"updatedAt":"2026-11-30T14:32:51.600Z","epss":{"score":0.00371,"percentile":0.33102,"date":"2026-12-01T12:00:22.000Z"}}