Skip to content
Heist/ feed
High

smb: client: pin DFS superblock in iterator callback

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-97562

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97562

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "bacd704a95ad0b93af995aae4a523aa046f46563",
        "lessThan": "3c9acc9835c304013a4faeb969fe9333d66ca9f8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bacd704a95ad0b93af995aae4a523aa046f46563",
        "lessThan": "ea43a15cea36dc5ddd832be5bddeac7dd804cbcf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bacd704a95ad0b93af995aae4a523aa046f46563",
        "lessThan": "a6b6561522212af852c9ad8a7dca8d59ef2c7377",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bacd704a95ad0b93af995aae4a523aa046f46563",
        "lessThan": "5b01a8c0209690db75341528ec53fd87e0ac1460",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bacd704a95ad0b93af995aae4a523aa046f46563",
        "lessThan": "d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/smb/client/misc.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.7"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.7",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/misc.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97562

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#38008 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement