CVE-2023-53597CWE-401

CVE-2023-53597

High · published October 4, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
19.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00280 · 19.3th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-10-04T20:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 5.9.5, < 5.15.1505.15.150
linux/linux_kernel≥ 5.16, < 6.1.426.1.42
linux/linux_kernel≥ 6.2, < 6.4.76.4.7
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 04 OCT 15:44Z
    cifs: fix mid leak during reconnection after timeout threshold
    cvelistv5