# CVE-2023-53794: cifs: fix session state check in reconnect to avoid use-after-free issue

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2025-12-09T00:00:51.061Z
- Modified: 2026-10-15T22:17:48.877Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix session state check in reconnect to avoid use-after-free issue

Don't collect exiting session in smb2_reconnect_server(), because it
will be released soon.

Note that the exiting session will stay in server->smb_ses_list until
it complete the cifs_free_ipc() and logoff() and then delete itself
from the list.

(As written by CVE List.)

## Affected

- Linux Linux: from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 before 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 before 759ffc164d95a32c09528766d74d9b4fb054e8f4; from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 before 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591dabe3db2ae27552; 875cc09c0767a4ac06b57af383709657f98b3ea1; 599fe1409085059ba12a2c3897c853be9fa9e7cf; 2e4378ee60049b752c9dce16f62ce6fbd11b379a; 59b520454b323ec43b2ae757217332cea33091e0; e20c888e2b3576e5f498c167729d274ef60b86f8; 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba; 419fad68e4c4135ff9859e9214dd6cf954413ca1; from 3.10.103 before 3.11; and 8 more (not affected: before 4.7; from 6.1.47 up to 6.1.*; from 6.4.12 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/7e4f5c3f01fb0e51ca438e43262d858daf9a0a76>
- <https://git.kernel.org/stable/c/759ffc164d95a32c09528766d74d9b4fb054e8f4>
- <https://git.kernel.org/stable/c/99f280700b4cc02d5f141b8d15f8e9fad0418f65>

## Sources

- CVE List: [CVE-2023-53794](https://www.cve.org/CVERecord?id=CVE-2023-53794), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53794](https://nvd.nist.gov/vuln/detail/CVE-2023-53794), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-53794 · Whole record: https://cve.day/CVE-2023-53794.json · Rebuilt by cve.day 2026-11-25T22:58:35.055Z
