{"id":"CVE-2026-97562","published":"2026-09-25T10:21:50Z","modified":"2026-10-19T09:09:25Z","title":"smb: client: pin DFS superblock in iterator callback","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: pin DFS superblock in iterator callback\n\ntcon_super_cb() stores a raw superblock pointer, but __cifs_get_super()\ntakes its active reference only after iterate_supers_type() has dropped\ns_umount and its passive reference. Concurrent DFS automount expiry can\ntherefore free the superblock before cifs_sb_active() uses it.\n\nA deterministic KASAN test reproduces the race as:\n\n  BUG: KASAN: slab-use-after-free in cifs_sb_active+0x77/0x80\n\nThe same test passes with this change applied.\n\nTake the active reference in the callback while iterate_supers_type()\nstill holds s_umount shared. cifs_put_tcp_super() remains the matching\nrelease.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00444,"percentile":0.39365,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3c9acc9835c304013a4faeb969fe9333d66ca9f8","tags":[]},{"url":"https://git.kernel.org/stable/c/ea43a15cea36dc5ddd832be5bddeac7dd804cbcf","tags":[]},{"url":"https://git.kernel.org/stable/c/a6b6561522212af852c9ad8a7dca8d59ef2c7377","tags":[]},{"url":"https://git.kernel.org/stable/c/5b01a8c0209690db75341528ec53fd87e0ac1460","tags":[]},{"url":"https://git.kernel.org/stable/c/d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818","tags":[]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.87},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bacd704a95ad0b93af995aae4a523aa046f46563, < 3c9acc9835c304013a4faeb969fe9333d66ca9f8",">= bacd704a95ad0b93af995aae4a523aa046f46563, < ea43a15cea36dc5ddd832be5bddeac7dd804cbcf",">= bacd704a95ad0b93af995aae4a523aa046f46563, < a6b6561522212af852c9ad8a7dca8d59ef2c7377",">= bacd704a95ad0b93af995aae4a523aa046f46563, < 5b01a8c0209690db75341528ec53fd87e0ac1460",">= bacd704a95ad0b93af995aae4a523aa046f46563, < d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818"]},{"vendor":"Linux","product":"Linux","versions":["5.7"]}],"euvd":{"id":"EUVD-2026-86870","exploited":false,"provenance":"source"}}