smb: client: pin DFS superblock in iterator callback (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.41 % · percentile 36 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
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.
References
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-86870
- GCVE · GCVE-0-2026-97562
CERT-FR advisories
- CERTFR-2026-AVI-1432 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected bacd704a95ad0b93af995aae4a523aa046f46563 < 3c9acc9835c304013a4faeb969fe9333d66ca9f8 ; affected bacd704a95ad0b93af995aae4a523aa046f46563 < ea43a15cea36dc5ddd832be5bddeac7dd804cbcf ; affected bacd704a95ad0b93af995aae4a523aa046f46563 < a6b6561522212af852c9ad8a7dca8d59ef2c7377 ; affected bacd704a95ad0b93af995aae4a523aa046f46563 < 5b01a8c0209690db75341528ec53fd87e0ac1460 ; affected bacd704a95ad0b93af995aae4a523aa046f46563 < d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818 |
| Linux · Linux | affected 5.7 ; unaffected 0 < 5.7 ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* ; unaffected 7.2.7 ≤ 7.2.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |