Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2023-53597

HIGH 7.5EPSS 38%

cifs: fix mid leak during reconnection after timeout threshold

Mitigation

  • Upgrade Linux to 5.10 or later.

Who should check

  • Anyone running Linux >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < df31d05f0678cdd0796ea19983a2b93edca18bb0; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < c55901d381a22300c9922170e59704059f50977b; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 57d25e9905c71133e201f6d06b56a3403d4ad433; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 69cba9d3c1284e0838ae408830a02c4a063104bc; fa6d7a5853f93efb088aba36af12cb1944156411; >= 5.9.5, < 5.10
  • Anyone running Linux 5.10

Vulnerability facts

Affected
Linux >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < df31d05f0678cdd0796ea19983a2b93edca18bb0; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < c55901d381a22300c9922170e59704059f50977b; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 57d25e9905c71133e201f6d06b56a3403d4ad433; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 69cba9d3c1284e0838ae408830a02c4a063104bc; fa6d7a5853f93efb088aba36af12cb1944156411; >= 5.9.5, < 5.10; Linux 5.10
Fixed in
Linux 57d25e9905c71133e201f6d06b56a3403d4ad433, Linux 69cba9d3c1284e0838ae408830a02c4a063104bc, Linux 5.10
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.53% chance of exploitation in 30 days (percentile 38, 2026-11-26)
CWE
CWE-401
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: cifs: fix mid leak during reconnection after timeout threshold When the number of responses with status of STATUS_IO_TIMEOUT exceeds a specified threshold (NUM_STATUS_IO_TIMEOUT), we reconnect the connection. But we do not return the mid, or the credits returned for the mid, or reduce the number of in-flight requests. This bug could result in the server->in_flight count to go bad, and also cause a leak in the mids. This change moves the check to a few lines below where the response is decrypted, even of the response is read from the transform header. This way, the code for returning the mids can be reused. Also, the cifs_reconnect was reconnecting just the transport connection before. In case of multi-channel, this may not be what we want to do after several timeouts. Changed that to reconnect the session and the tree too. Also renamed NUM_STATUS_IO_TIMEOUT to a more appropriate name MAX_STATUS_IO_TIMEOUT.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < df31d05f0678cdd0796ea19983a2b93edca18bb0; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < c55901d381a22300c9922170e59704059f50977b; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 57d25e9905c71133e201f6d06b56a3403d4ad433; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 69cba9d3c1284e0838ae408830a02c4a063104bc; fa6d7a5853f93efb088aba36af12cb1944156411; >= 5.9.5, < 5.10—cvelist
Linux5.10—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-53597. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53597.md
Affected: Linux >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < df31d05f0678cdd0796ea19983a2b93edca18bb0; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < c55901d381a22300c9922170e59704059f50977b; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 57d25e9905c71133e201f6d06b56a3403d4ad433; >= 8e670f77c4a55013db6d23b…
Fixed in: Linux 57d25e9905c71133e201f6d06b56a3403d4ad433, Linux 69cba9d3c1284e0838ae408830a02c4a063104bc, Linux 5.10

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-53597 being exploited?

There is no confirmed exploitation: CVE-2023-53597 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2023-53597?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2023-53597?

Linux >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < df31d05f0678cdd0796ea19983a2b93edca18bb0; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < c55901d381a22300c9922170e59704059f50977b; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 57d25e9905c71133e201f6d06b56a3403d4ad433; >= 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, < 69cba9d3c1284e0838ae408830a02c4a063104bc; fa6d7a5853f93efb088aba36af12cb1944156411; >= 5.9.5, < 5.10; Linux 5.10.

Is there a fix for CVE-2023-53597?

Yes. Fixed in Linux 57d25e9905c71133e201f6d06b56a3403d4ad433, Linux 69cba9d3c1284e0838ae408830a02c4a063104bc, Linux 5.10. Upgrade Linux to 5.10 or later.

How do I check if I'm affected by CVE-2023-53597?

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.

Sponsors