{"id":"CVE-2026-98261","aliases":["CVE-2026-98261"],"related":[],"kind":"vulnerability","state":"published","title":"cifs: Fix server use-after-free in cifs_chan_skip_or_disable()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix server use-after-free in cifs_chan_skip_or_disable()\n\nWhen a secondary channel is no longer supported by the server,\ncifs_chan_skip_or_disable() drops the channel reference with\ncifs_put_tcp_session() and then continues to use the server pointer by\ncalling cifs_signal_cifsd_for_reconnect() on it and reading its\nprimary_server pointer. cifs_put_tcp_session() can drop the last\nreference of the channel and tear it down, so both the channel and the\nprimary server (whose reference is also dropped by\ncifs_put_tcp_session()) can be freed before they are signaled for\nreconnect.\n\nSignal the channel and the primary server and capture the primary\nserver pointer before dropping the channel reference with\ncifs_put_tcp_session().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix server use-after-free in cifs_chan_skip_or_disable()\n\nWhen a secondary channel is no longer supported by the server,\ncifs_chan_skip_or_disable() drops the channel reference with\ncifs_put_tcp_session() and then continues to use the server pointer by\ncalling cifs_signal_cifsd_for_reconnect() on it and reading its\nprimary_server pointer. cifs_put_tcp_session() can drop the last\nreference of the channel and tear it down, so both the channel and the\nprimary server (whose reference is also dropped by\ncifs_put_tcp_session()) can be freed before they are signaled for\nreconnect.\n\nSignal the channel and the primary server and capture the primary\nserver pointer before dropping the channel reference with\ncifs_put_tcp_session().","source":"cvelist"}],"published":"2026-10-06T08:45:25.361Z","modified":"2026-10-19T10:18:27.253Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"50e8363ecc85da49764781da90ebffe1a657b370","fixed":"0338489960ddad6368bce55e8adbc176c523093d","status":"affected"},{"type":"git","introduced":"f591062bdbf4742b7f1622173017f19e927057b0","fixed":"edd52eae5fcfb8433b6bb0e7cd98db438fe01227","status":"affected"},{"type":"git","introduced":"f591062bdbf4742b7f1622173017f19e927057b0","fixed":"fcc0a935bb6e37ecbf7e4335061309f896f35780","status":"affected"},{"type":"git","introduced":"f591062bdbf4742b7f1622173017f19e927057b0","fixed":"7a1b27780b113583a94256d58dabfe7c0d9286e7","status":"affected"},{"type":"git","introduced":"f591062bdbf4742b7f1622173017f19e927057b0","fixed":"717e0a25036b6c92cecace30913b2d874a4c22b8","status":"affected"},{"type":"git","version":"d61ba1d71ea6039eca7ada870bf3f0c3c8fc12e4","status":"affected"},{"type":"semver","introduced":"6.6.15","fixed":"6.6.158","status":"affected"},{"type":"semver","introduced":"6.7.3","fixed":"6.8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0338489960ddad6368bce55e8adbc176c523093d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/edd52eae5fcfb8433b6bb0e7cd98db438fe01227","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fcc0a935bb6e37ecbf7e4335061309f896f35780","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a1b27780b113583a94256d58dabfe7c0d9286e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/717e0a25036b6c92cecace30913b2d874a4c22b8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98261","url":"https://www.cve.org/CVERecord?id=CVE-2026-98261","licence":"CVE Terms of Use","modified":"2026-10-19T09:16:32.334Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98261","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98261","licence":"Public domain","modified":"2026-10-19T10:18:27.253Z"}],"updatedAt":"2026-11-25T22:59:42.307Z","epss":{"score":0.00405,"percentile":0.36891,"date":"2026-12-01T12:00:22.000Z"}}