CVE-2026-97562

Source
https://cve.org/CVERecord?id=CVE-2026-97562
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97562.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-97562
Downstream
Published
2026-09-25T10:21:50Z
Modified
2026-09-26T03:48:27Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
smb: client: pin DFS superblock in iterator callback
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97562.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bacd704a95ad0b93af995aae4a523aa046f46563
Fixed
ea43a15cea36dc5ddd832be5bddeac7dd804cbcf
Fixed
a6b6561522212af852c9ad8a7dca8d59ef2c7377
Fixed
5b01a8c0209690db75341528ec53fd87e0ac1460
Fixed
d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97562.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.7.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97562.json"