CVE-2023-53597
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.49-69.116.amzn2023 |
| python3-perf | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-livepatch-6.1.49-69.116 | Amazon Linux | 1.0-0.amzn2023 |
| perf | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| kernel | Amazon Linux | 6.1.49-69.116.amzn2023 |
| linux_kernel | linux | 6.4.7, 6.1.42, 5.15.150 |
| Linux | Linux | 5.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, 8e670f77c4a55013db6d23b962f9bf6673a5e7b6, 8e670f77c4a55013db6d23b962f9bf6673a5e7b6 |
| Linux | Linux | 5.10, 0, 5.15.150 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-livepatch-6.1.49-69.116 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel | 0 |
| Linux | Linux | 5.9.5, 5.10, 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| linux | linux_kernel | 5.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