CVE-2026-97562
smb: client: pin DFS superblock in iterator callback
Check your servers for CVE-2026-97562
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-97562 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:
smb: client: pin DFS superblock in iterator callback
tcon_super_cb() stores a raw superblock pointer, but __cifs_get_super() takes its active reference only after iterate_supers_type() has dropped s_umount and its passive reference. Concurrent DFS automount expiry can therefore free the superblock before cifs_sb_active() uses it.
A deterministic KASAN test reproduces the race as:
BUG: KASAN: slab-use-after-free in cifs_sb_active+0x77/0x80
The same test passes with this change applied.
Take the active reference in the callback while iterate_supers_type() still holds s_umount shared. cifs_put_tcp_super() remains the matching release.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.48%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.6% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bacd704a95ad0b93af995aae4a523aa046f46563, before d976dfb6dc095db47aa5f9d9b02c8f6ccf776094 affected from bacd704a95ad0b93af995aae4a523aa046f46563, before 3c9acc9835c304013a4faeb969fe9333d66ca9f8 affected from bacd704a95ad0b93af995aae4a523aa046f46563, before ea43a15cea36dc5ddd832be5bddeac7dd804cbcf affected from bacd704a95ad0b93af995aae4a523aa046f46563, before a6b6561522212af852c9ad8a7dca8d59ef2c7377 affected from bacd704a95ad0b93af995aae4a523aa046f46563, before 5b01a8c0209690db75341528ec53fd87e0ac1460 affected from bacd704a95ad0b93af995aae4a523aa046f46563, before d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 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-97562 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97562
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-97562
trivy image --scanners vuln IMAGE | grep CVE-2026-97562
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/d976dfb6dc095db47aa5f9d9b02c8f6ccf776094 git.kernel.org
- https://git.kernel.org/stable/c/3c9acc9835c304013a4faeb969fe9333d66ca9f8 git.kernel.org
- https://git.kernel.org/stable/c/ea43a15cea36dc5ddd832be5bddeac7dd804cbcf git.kernel.org
- https://git.kernel.org/stable/c/a6b6561522212af852c9ad8a7dca8d59ef2c7377 git.kernel.org
- https://git.kernel.org/stable/c/5b01a8c0209690db75341528ec53fd87e0ac1460 git.kernel.org
- https://git.kernel.org/stable/c/d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818 git.kernel.org
Source: the record CVE-2026-97562 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