CVE-2023-53794
cifs: fix session state check in reconnect to avoid use-after-free issue
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 759ffc164d95a32c09528766d74d9b4fb054e8f4; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591dabe3db2ae27552; 875cc09c0767a4ac06b57af383709657f98b3ea1; 599fe1409085059ba12a2c3897c853be9fa9e7cf; 2e4378ee60049b752c9dce16f62ce6fbd11b379a; 59b520454b323ec43b2ae757217332cea33091e0; e20c888e2b3576e5f498c167729d274ef60b86f8; 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba; …
- Anyone running Linux 4.7
Vulnerability facts
- Affected
- Linux >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 759ffc164d95a32c09528766d74d9b4fb054e8f4; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591dabe3db2ae27552; 875cc09c0767a4ac06b57af383709657f98b3ea1; 599fe1409085059ba12a2c3897c853be9fa9e7cf; 2e4378ee60049b752c9dce16f62ce6fbd11b379a; 59b520454b323ec43b2ae757217332cea33091e0; e20c888e2b3576e5f498c167729d274ef60b86f8; 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba; …; Linux 4.7
- Fixed in
- Linux 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76, Linux 759ffc164d95a32c09528766d74d9b4fb054e8f4, Linux 99f280700b4cc02d5f141b8d15f8e9fad0418f65
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.84% chance of exploitation in 30 days (percentile 55, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 759ffc164d95a32c09528766d74d9b4fb054e8f4; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591dabe3db2ae27552; 875cc09c0767a4ac06b57af383709657f98b3ea1; 599fe1409085059ba12a2c3897c853be9fa9e7cf; 2e4378ee60049b752c9dce16f62ce6fbd11b379a; 59b520454b323ec43b2ae757217332cea33091e0; e20c888e2b3576e5f498c167729d274ef60b86f8; 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba; … | — | cvelist |
| Linux | 4.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53794. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53794.md Affected: Linux >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 759ffc164d95a32c09528766d74d9b4fb054e8f4; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591d… Fixed in: Linux 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76, Linux 759ffc164d95a32c09528766d74d9b4fb054e8f4, Linux 99f280700b4cc02d5f141b8d15f8e9fad0418f65 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-53794 being exploited?
There is no confirmed exploitation: CVE-2023-53794 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.84% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53794?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-53794?
Linux >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 759ffc164d95a32c09528766d74d9b4fb054e8f4; >= 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, < 99f280700b4cc02d5f141b8d15f8e9fad0418f65; 655e0c067f0e02ece03fd0591dabe3db2ae27552; 875cc09c0767a4ac06b57af383709657f98b3ea1; 599fe1409085059ba12a2c3897c853be9fa9e7cf; 2e4378ee60049b752c9dce16f62ce6fbd11b379a; 59b520454b323ec43b2ae757217332cea33091e0; e20c888e2b3576e5f498c167729d274ef60b86f8; 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba; …; Linux 4.7.
Is there a fix for CVE-2023-53794?
Yes. Fixed in Linux 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76, Linux 759ffc164d95a32c09528766d74d9b4fb054e8f4, Linux 99f280700b4cc02d5f141b8d15f8e9fad0418f65. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53794?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.