{"id":"CVE-2026-64016","aliases":["CVE-2026-64016"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix durable reconnect error path file lifetime","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix durable reconnect error path file lifetime\n\nAfter a durable reconnect succeeds, ksmbd_reopen_durable_fd() republishes\nthe same ksmbd_file into the session volatile-id table. If smb2_open()\nthen takes a later error path, cleanup first calls ksmbd_fd_put(work, fp)\nand then unconditionally calls ksmbd_put_durable_fd(dh_info.fp).\n\nIn this case fp and dh_info.fp are the same object. The first put drops the\nreconnect lookup reference, but the final durable put can run\n__ksmbd_close_fd(NULL, fp). Because the final close is not session-aware,\nit can free the file object without removing the volatile-id entry that was\njust published into the session table.\n\nUse the session-aware put for the final reconnect drop when the reconnect\nhad already succeeded and the error path is cleaning up the republished\nfile. Earlier reconnect failures, before fp is assigned to dh_info.fp, keep\nusing the durable-only put path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix durable reconnect error path file lifetime\n\nAfter a durable reconnect succeeds, ksmbd_reopen_durable_fd() republishes\nthe same ksmbd_file into the session volatile-id table. If smb2_open()\nthen takes a later error path, cleanup first calls ksmbd_fd_put(work, fp)\nand then unconditionally calls ksmbd_put_durable_fd(dh_info.fp).\n\nIn this case fp and dh_info.fp are the same object. The first put drops the\nreconnect lookup reference, but the final durable put can run\n__ksmbd_close_fd(NULL, fp). Because the final close is not session-aware,\nit can free the file object without removing the volatile-id entry that was\njust published into the session table.\n\nUse the session-aware put for the final reconnect drop when the reconnect\nhad already succeeded and the error path is cleaning up the republished\nfile. Earlier reconnect failures, before fp is assigned to dh_info.fp, keep\nusing the durable-only put path.","source":"cvelist"}],"published":"2026-07-19T15:39:11.266Z","modified":"2026-10-13T14:48:12.317Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"f0ff7f12398e85b3a11745ff7feab6246f3d75c2","fixed":"5e641e4ee0bc1937408d41051a908ad4151be63b","status":"affected"},{"type":"git","introduced":"4db3dcac84c2f14a45ae201efb38de1fb1bfc009","fixed":"478bfaa036bd0c7e179acff8b8484bccdee3b8c7","status":"affected"},{"type":"git","introduced":"ce2e164c1c51c3f7813b80f8c926836e896bcbb3","fixed":"a1a39f227c80cbf369767badc32cba2b225147d1","status":"affected"},{"type":"git","introduced":"97a0cd55283b4e63fd92804da91c8d9896adcad9","fixed":"6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3","status":"affected"},{"type":"git","introduced":"1baff47b81f94f9231c91236aa511420d0e266b9","fixed":"3515503322f4819277091839eed46b695096aca5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.18.33","fixed":"6.18.34","status":"affected"},{"type":"semver","introduced":"7.0.10","fixed":"7.0.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","version":"6.18.33"},{"status":"affected","version":"7.0.10"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:6.18.33:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/5e641e4ee0bc1937408d41051a908ad4151be63b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/478bfaa036bd0c7e179acff8b8484bccdee3b8c7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1a39f227c80cbf369767badc32cba2b225147d1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6cb0b9385320110fe24a5d5ac0000ade4bb3a3f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3515503322f4819277091839eed46b695096aca5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64016","url":"https://www.cve.org/CVERecord?id=CVE-2026-64016","licence":"CVE Terms of Use","modified":"2026-09-14T11:58:34.345Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64016","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64016","licence":"Public domain","modified":"2026-10-13T14:48:12.317Z"}],"updatedAt":"2026-11-25T22:59:28.928Z","epss":{"score":0.00457,"percentile":0.41375,"date":"2026-12-01T12:00:22.000Z"}}