{"id":"CVE-2026-97562","revision":"b4ba62ed006342c1a79e400d5d9bcb22","records":[{"revision":"b4ba62ed006342c1a79e400d5d9bcb22","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-97562","aliases":[],"title":"smb: client: pin DFS superblock in iterator callback","description":"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.","state":0,"publishedAt":"2026-09-25T10:21:50.664+00:00","modifiedAt":"2026-10-19T09:09:25.22+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/misc.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"bacd704a95ad0b93af995aae4a523aa046f46563\",\n                            \"lessThan\": \"3c9acc9835c304013a4faeb969fe9333d66ca9f8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bacd704a95ad0b93af995aae4a523aa046f46563\",\n                            \"lessThan\": \"ea43a15cea36dc5ddd832be5bddeac7dd804cbcf\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bacd704a95ad0b93af995aae4a523aa046f46563\",\n                            \"lessThan\": \"a6b6561522212af852c9ad8a7dca8d59ef2c7377\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bacd704a95ad0b93af995aae4a523aa046f46563\",\n                            \"lessThan\": \"5b01a8c0209690db75341528ec53fd87e0ac1460\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"bacd704a95ad0b93af995aae4a523aa046f46563\",\n                            \"lessThan\": \"d806d5a85dcbe2a0f181b2f0f9f61ddfbefa1818\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/misc.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.158\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.111\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.53\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.7\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-97562","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-97562","identifiers":["CVE-2026-97562"]},"retained":false,"historicalAffected":[]}],"coverage":[]}