CVE-2026-139064
ipc/mqueue: release notification resources during inode eviction
Check your servers for CVE-2026-139064
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139064 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.37%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 96fa3e879a6c0a39a7d208c796dd25d1a32e5a78 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ca7a2fdb589fb228c64feec9e9749214476296f0 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 1e0d1f3f7e43bc47e421887da38f9a3e51f6449a affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d7155ac49c75e9b0ccf4788efc07763a8d99fe1e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7fbc41dd8a3aaf620829f5875c9693e0ee905306 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 58291947b70a132144e1ed6fd6a4d9e043061a34 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before abdce0f17b8b6c2adff399fd79929bab584b436e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before eb85469f0dd69ca145d63117450e14c31f67f698
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139064 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139064
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139064
trivy image --scanners vuln IMAGE | grep CVE-2026-139064
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/96fa3e879a6c0a39a7d208c796dd25d1a32e5a78 git.kernel.org
- https://git.kernel.org/stable/c/ca7a2fdb589fb228c64feec9e9749214476296f0 git.kernel.org
- https://git.kernel.org/stable/c/1e0d1f3f7e43bc47e421887da38f9a3e51f6449a git.kernel.org
- https://git.kernel.org/stable/c/d7155ac49c75e9b0ccf4788efc07763a8d99fe1e git.kernel.org
- https://git.kernel.org/stable/c/7fbc41dd8a3aaf620829f5875c9693e0ee905306 git.kernel.org
- https://git.kernel.org/stable/c/58291947b70a132144e1ed6fd6a4d9e043061a34 git.kernel.org
- https://git.kernel.org/stable/c/abdce0f17b8b6c2adff399fd79929bab584b436e git.kernel.org
- https://git.kernel.org/stable/c/eb85469f0dd69ca145d63117450e14c31f67f698 git.kernel.org
Source: the record CVE-2026-139064 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse