CVE-2026-97950
configfs: pin the symlink target's dirent instead of chasing ->ci_dentry
Check your servers for CVE-2026-97950
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-97950 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:
configfs: pin the symlink target's dirent instead of chasing ->ci_dentry
create_link() reads the target's configfs_dirent from item->ci_dentry->d_fsdata, relying on the item reference taken by get_target(). That reference pins the item, not its dentry: the dentry is pinned by DCACHE_PERSISTENT, which configfs_remove_dir() releases via simple_rmdir() while the item is still alive. A symlink racing with rmdir of its target can therefore find ->ci_dentry freed and its dirent released, triggering WARN_ON(!atomic_read(&sd->s_count)) in configfs_get().
Take the dirent in get_target() as well, under ->d_lock and atomically with the item reference, and pass it down to create_link(). A hashed dentry has not been killed yet, so its ->d_fsdata reference keeps the dirent alive there.
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.86% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before 0bc27c3d2e24376e34c8db590ae6ecef68c6ed82 affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before a44744454eafbc158e8c8e3ef8d207076410b195 affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before 846ff40fd57a47e59a41f4e331ec3b34efaddc23 affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before 4f54beb2e7f6d399396466682fba3539bcdcb414 affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before d47c5de1cd6bfbe1067fc310bf90e4e00205e839 affected from 7063fbf2261194f72ee75afca67b3b38b554b5fa, before a7c1290eef60711c10289c056ad32ed1f2b47b12
Other versions: unaffected
|
| Linux |
affected 2.6.16 unaffected before 2.6.16 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 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-97950 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97950
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-97950
trivy image --scanners vuln IMAGE | grep CVE-2026-97950
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/0bc27c3d2e24376e34c8db590ae6ecef68c6ed82 git.kernel.org
- https://git.kernel.org/stable/c/a44744454eafbc158e8c8e3ef8d207076410b195 git.kernel.org
- https://git.kernel.org/stable/c/846ff40fd57a47e59a41f4e331ec3b34efaddc23 git.kernel.org
- https://git.kernel.org/stable/c/4f54beb2e7f6d399396466682fba3539bcdcb414 git.kernel.org
- https://git.kernel.org/stable/c/d47c5de1cd6bfbe1067fc310bf90e4e00205e839 git.kernel.org
- https://git.kernel.org/stable/c/a7c1290eef60711c10289c056ad32ed1f2b47b12 git.kernel.org
Source: the record CVE-2026-97950 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