VDB

CVE-2023-53597

CVE-2023-53597 PUBLISHED CVSS 7.5 HIGH

cifs: fix mid leak during reconnection after timeout threshold

Reported by linux · Published October 4, 2025

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.

EPSS 0.29% · 21.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.49-69.116.amzn2023
kernel-headersAmazon Linux6.1.49-69.116.amzn2023
kernel-toolsAmazon Linux6.1.49-69.116.amzn2023
python3-perfAmazon Linux6.1.49-69.116.amzn2023
kernel-livepatch-6.1.49-69.116Amazon Linux1.0-0.amzn2023
perfAmazon Linux6.1.49-69.116.amzn2023
kernel-libbpf-staticAmazon Linux6.1.49-69.116.amzn2023
kernel-develAmazon Linux6.1.49-69.116.amzn2023
kernel-libbpf-develAmazon Linux6.1.49-69.116.amzn2023
kernelAmazon Linux6.1.49-69.116.amzn2023
linux_kernellinux6.4.7, 6.1.42, 5.15.150
LinuxLinux5.10

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
0.29%
21.4th percentile

Affected products

VendorProductVersions
LinuxLinux8e670f77c4a55013db6d23b962f9bf6673a5e7b6, 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, 8e670f77c4a55013db6d23b962f9bf6673a5e7b6
LinuxLinux5.10, 0, 5.15.150
amazon:2023kernel-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel-tools0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.49-69.1160
amazon:2023perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel0
LinuxLinux5.9.5, 5.10, 0
amazon:2023bpftool0
amazon:2023kernel-libbpf0
linuxlinux_kernel5.10, 5.9.5, 5.10

Timeline

  • Oct 4, 2025 CVE Published
  • Oct 5, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 6, 2025 Coalition ESS Score (6 in total, the first dated here)
  • Oct 12, 2025 PoC Published (5 in total, the first dated here)
  • Jan 24, 2026 Security Advisory (103 in total, the first dated here)
  • Aug 4, 2026 CVE Updated
  • Oct 4, 2026 Distribution Patch (92 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-53597
vulnetix vdb fixes CVE-2023-53597

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-53597/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›