ipc/mqueue: release notification resources during inode eviction
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 7 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
mqueue_flush_file() in the Linux kernel removes an mq_notify() registration only when the closing task belongs to the thread group stored in notify_owner. A task in a separate thread group created with CLONE_FILES can register SIGEV_THREAD notification and exit without closing the shared file table, and if another thread group then unlinks and last-closes the queue, the flush skips the registration and inode eviction loses the only pointers to its resources. The orphaned registration keeps the notification skb, its netlink socket, a pid reference and a user namespace reference, and an unprivileged process can repeat the sequence with new queues and sockets.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: ipc/mqueue: release notification resources during inode eviction mqueue_flush_file() removes an mq_notify() registration only when the closing task belongs to the thread group stored in notify_owner. A task in a separate thread group created with CLONE_FILES can register SIGEV_THREAD notification and exit without closing the shared file table. If another thread group then unlinks and last-closes the queue, ->flush() skips the registration and inode eviction loses the only pointers to its resources. The orphaned registration permanently retains the notification skb, its netlink socket, a pid reference and a user namespace reference. An unprivileged process can repeat the sequence with new queues and sockets. No inode users remain during eviction. Remove any stale registration there after dropping info->lock, since netlink_sendskb() may release the final socket reference.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.12 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.12 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Update to a kernel with the fix in its branch: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1. Linux from 2.6.12 is affected until the fix reaches its branch. Red Hat rates this Low: RHEL 6 has no fix planned, and RHEL 7, 8, 9 and 10 and OpenShift Container Platform 4 and 5 have no fix available yet.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139064
- 2026-11-30 Alias added: GHSA-qhrq-jrj3-pmhf
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/96fa3e879a6c0a39a7d208c796dd25d1a32e5a78
- https://git.kernel.org/stable/c/ca7a2fdb589fb228c64feec9e9749214476296f0
- https://git.kernel.org/stable/c/1e0d1f3f7e43bc47e421887da38f9a3e51f6449a
- https://git.kernel.org/stable/c/d7155ac49c75e9b0ccf4788efc07763a8d99fe1e
- https://git.kernel.org/stable/c/7fbc41dd8a3aaf620829f5875c9693e0ee905306
- https://git.kernel.org/stable/c/58291947b70a132144e1ed6fd6a4d9e043061a34
- https://git.kernel.org/stable/c/abdce0f17b8b6c2adff399fd79929bab584b436e
- https://git.kernel.org/stable/c/eb85469f0dd69ca145d63117450e14c31f67f698
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139064 · CVE Program
- CVE-2026-139064 · NVD
- GHSA-qhrq-jrj3-pmhf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139064 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences