CVE-2026-99514
landlock: Fix superblock use-after-free in release_inode()
Check your servers for CVE-2026-99514
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-99514 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:
landlock: Fix superblock use-after-free in release_inode()
Without this fix, release_inode() (task 1) can race with a umount operation in hook_sb_delete() (task 2). The order of operations in which the race occurs is:
* task 2: hook_sb_delete() arrives at the end of the function, waiting for landlock_superblock(sb)->inode_refs to become zero. * task 1: release_inode(): does atomic_long_dec_and_test(), decrementing inode_refs to zero. * task 2: gets woken up through some other means, sees that inode_refs is zero and returns. The caller is the unmount operation and proceeds to release the superblock. * task 1: Runs wake_up_var(&landlock_superblock(sb)->inode_refs), *dereferencing the sb_security on the freed-up superblock*.
Notably, wake_up_var() does not dereference the pointer passed to it, and only uses it to determine an overapproximated set of tasks to wake up. So while it's potentially possible for an attacker to provide a different value for that pointer, this only results in the wrong set of tasks getting woken up, and in this scenario, no further tasks are actually waiting.
Nevertheless, KASAN detects it as a slab-use-after-free read on sb->s_security:
BUG: KASAN: slab-use-after-free in release_inode+0x196/0x290 Read of size 8 at addr ffff888103b6c0a8 by task repro/217 release_inode+0x196/0x290 landlock_put_object+0x71/0x90 landlock_free_rules+0x38/0xc0 landlock_put_ruleset+0x47/0x130 fop_ruleset_release+0x33/0x40 __fput+0x305/0x780 Freed by task 54: kfree+0x11c/0x390 process_scheduled_works+0x766/0xe50 worker_thread+0x7bc/0xb20
The fix is to determine &landlock_superblock(inode->i_sb)->inode_refs only once earlier in release_inode(), and later use that precalculated address for the wake_up_var() call, without having to dereference through the superblock.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before f8e921fb6367c2b6b64f39943300727f67952362 affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before f882b70e659178d9d47d5e191061934660748c82 affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 63bcfd04210960743fc7286796e3c42e731f6707 affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 1824d884e5076e3fdd83f44256746f2f95d062ec affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 2b61008c9f884ead174a67f1cc70342a9efee3e4 affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before f79a0195db1f2568fd82999fd814af071b2dbca7 affected from cb2c7d1a1776057c9a1f48ed1250d85e94d4850d, before 3e271a27c46fd591d1011c7de5a644a41e2010f1
Other versions: unaffected
|
| Linux |
affected 5.13 unaffected before 5.13 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.61 up to and including 6.18.* unaffected from 7.3.2 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-99514 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99514
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-99514
trivy image --scanners vuln IMAGE | grep CVE-2026-99514
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/f8e921fb6367c2b6b64f39943300727f67952362 git.kernel.org
- https://git.kernel.org/stable/c/f882b70e659178d9d47d5e191061934660748c82 git.kernel.org
- https://git.kernel.org/stable/c/63bcfd04210960743fc7286796e3c42e731f6707 git.kernel.org
- https://git.kernel.org/stable/c/1824d884e5076e3fdd83f44256746f2f95d062ec git.kernel.org
- https://git.kernel.org/stable/c/2b61008c9f884ead174a67f1cc70342a9efee3e4 git.kernel.org
- https://git.kernel.org/stable/c/f79a0195db1f2568fd82999fd814af071b2dbca7 git.kernel.org
- https://git.kernel.org/stable/c/3e271a27c46fd591d1011c7de5a644a41e2010f1 git.kernel.org
Source: the record CVE-2026-99514 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