CVE-2026-99174
ext4: free the sbi after a grace period
Check your servers for CVE-2026-99174
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-99174 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:
ext4: free the sbi after a grace period
ext4_get_link() follows a symlink that keeps its target in a data block in rcu pathwalk mode with ext4_getblk(EXT4_GET_BLOCKS_CACHED_NOWAIT). That reads s_mount_state in the ASSERT() of ext4_getblk() and again in ext4_es_lookup_extent(), and the lookup bumps the extent status hit or miss counter, all through sb->s_fs_info.
ext4_put_super() destroys those counters, clears sb->s_fs_info and frees the sbi without waiting for a grace period. A pathwalk that is still in ext4_get_link() when the last reference to the mount goes away then dereferences a NULL s_fs_info, the freed sbi or the destroyed percpu counters.
With a pathwalk held up in ext4_get_link() while the last reference goes away:
KASAN: null-ptr-deref in range [0x00000000000000a8-0x00000000000000af] RIP: 0010:ext4_getblk+0xf0/0x640 Call Trace: <TASK> ext4_get_link+0x26c/0x410 pick_link+0xf96/0x1780 step_into_slowpath+0x9b8/0x1250 path_lookupat+0x484/0xb00 filename_lookup+0x1f1/0x5b0 vfs_statx+0xd7/0x3b0 vfs_fstatat+0x4d/0x90 __do_sys_newfstatat+0xa0/0x100 do_syscall_64+0x10e/0x5e0 entry_SYSCALL_64_after_hwframe+0x77/0x7f
So far that has been hard to hit. umount(2) waits for a grace period in namespace_unlock() before it drops the mount, so only a mount whose last reference goes away elsewhere, like the close of a file or a chdir out of a lazily unmounted directory, can race a walker.
Keep sb->s_fs_info and free the sbi together with the extent status counters after a grace period. Split the counters out of ext4_es_unregister_shrinker() for that. The shrinker still gets wasted in ext4_put_super(), the counters go with the sbi.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.84% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before cf3bd5824c985b350d150bcd76698ee5e993fcba affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before b4b0598fad51a978fcbda9d55eef6b5bd3cbe7d8 affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before 4ce0e27ea610663a9cdc04e3bca38559147428d4 affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before 80d5db1686b05fad6f384be017714297d828a714 affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before 87d29b8b849738d52fe820d495fa0aa2d5a1ec82 affected from 6493792d3299b3e33f887ef8a150099d271faf9c, before c17b44266a1f9fcb49b894d4611d1254bf1aa313
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.161 up to and including 6.6.* unaffected from 6.12.115 up to and including 6.12.* unaffected from 6.18.59 up to and including 6.18.* unaffected from 7.2.13 up to and including 7.2.* unaffected 7.3 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-99174 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99174
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-99174
trivy image --scanners vuln IMAGE | grep CVE-2026-99174
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/cf3bd5824c985b350d150bcd76698ee5e993fcba git.kernel.org
- https://git.kernel.org/stable/c/b4b0598fad51a978fcbda9d55eef6b5bd3cbe7d8 git.kernel.org
- https://git.kernel.org/stable/c/4ce0e27ea610663a9cdc04e3bca38559147428d4 git.kernel.org
- https://git.kernel.org/stable/c/80d5db1686b05fad6f384be017714297d828a714 git.kernel.org
- https://git.kernel.org/stable/c/87d29b8b849738d52fe820d495fa0aa2d5a1ec82 git.kernel.org
- https://git.kernel.org/stable/c/c17b44266a1f9fcb49b894d4611d1254bf1aa313 git.kernel.org
Source: the record CVE-2026-99174 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