# CVE-2026-97562: smb: client: pin DFS superblock in iterator callback

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-09-25T10:21:50.664Z
- Modified: 2026-11-23T08:17:22.020Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bacd704a95ad0b93af995aae4a523aa046f46563 before d976dfb6dc095db47aa5f9d9b02c8f6ccf776094; from bacd704a95ad0b93af995aae4a523aa046f46563 before 3c9acc9835c304013a4faeb969fe9333d66ca9f8; from bacd704a95ad0b93af995aae4a523aa046f46563 before ea43a15cea36dc5ddd832be5bddeac7dd804cbcf; from bacd704a95ad0b93af995aae4a523aa046f46563 before a6b6561522212af852c9ad8a7dca8d59ef2c7377; from bacd704a95ad0b93af995aae4a523aa046f46563 before 5b01a8c0209690db75341528ec53fd87e0ac1460; from bacd704a95ad0b93af995aae4a523aa046f46563 before d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818; 5.7 (not affected: before 5.7; from 6.1.193 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d976dfb6dc095db47aa5f9d9b02c8f6ccf776094>
- <https://git.kernel.org/stable/c/3c9acc9835c304013a4faeb969fe9333d66ca9f8>
- <https://git.kernel.org/stable/c/ea43a15cea36dc5ddd832be5bddeac7dd804cbcf>
- <https://git.kernel.org/stable/c/a6b6561522212af852c9ad8a7dca8d59ef2c7377>
- <https://git.kernel.org/stable/c/5b01a8c0209690db75341528ec53fd87e0ac1460>
- <https://git.kernel.org/stable/c/d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818>

## Sources

- CVE List: [CVE-2026-97562](https://www.cve.org/CVERecord?id=CVE-2026-97562), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-97562](https://nvd.nist.gov/vuln/detail/CVE-2026-97562), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-97562 · Whole record: https://cve.day/CVE-2026-97562.json · Rebuilt by cve.day 2026-11-25T22:59:40.958Z
