Read the docs
TI-2023-29885 Aliases CVE-2023-53597GHSA-g6xj-m5qj-cqp6

cifs: fix mid leak during reconnection after timeout threshold

Priority LOW 33CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-401.

Summary

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.

Why it matters now

EPSS 0.00286 21st percentileScored 2026-11-07
Fix Fixed Linux (Linux): 5.10, 5.15.150, 6.1.42 +2Red Hat: 2 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.9.5 to before 5.105.10Patch availableCNA
LinuxLinux5.10 and later5.15.150, 6.1.42, 6.4.7, 6.5Patch availableCNA
  • Linux VendorLinux Affected 5.9.5 to before 5.10 Fixed in 5.10 Patch available CNA
  • Linux VendorLinux Affected 5.10 and later Fixed in 5.15.150, 6.1.42, 6.4.7, 6.5 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.9.5 to before 5.15.150; 5.16 to before 6.1.42; 6.2 to before 6.4.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*6.5 rc1VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.9.5 to before 5.15.150; 5.16 to before 6.1.42; 6.2 to before 6.4.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* Versions 6.5 rc1 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.10
  • Fix · CNA Linux (Linux) Fixed in 5.15.150, 6.1.42, 6.4.7, 6.5

Red Hat 2 advisories

  • RHSA-2024:9315 Released 2024-11-12 · Red Hat rating Moderate
    kernel security update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-cross-headers-5.14.0-503.11.1.el9_5, kernel-tools-libs-devel-5.14.0-503.11.1.el9_5, libperf-5.14.0-503.11.1.el9_5
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-503.11.1.el9_5, kernel-64k-debug-devel-matched-5.14.0-503.11.1.el9_5, kernel-64k-devel-5.14.0-503.11.1.el9_5 +12
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.4.0-503.11.1.el9_5, kernel-5.14.0-503.11.1.el9_5, kernel-64k-5.14.0-503.11.1.el9_5 +30
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-503.11.1.el9_5, kernel-rt-core-5.14.0-503.11.1.el9_5, kernel-rt-debug-5.14.0-503.11.1.el9_5 +9
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-503.11.1.el9_5, kernel-rt-core-5.14.0-503.11.1.el9_5, kernel-rt-debug-5.14.0-503.11.1.el9_5 +11
  • RHSA-2024:5101 Released 2024-08-08 · Red Hat rating Important
    kernel security update
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.16.1.el8_10, kernel-4.18.0-553.16.1.el8_10, kernel-abi-stablelists-4.18.0-553.16.1.el8_10 +19
    • Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.16.1.el8_10

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2024:9315
Red Hat Enterprise Linux AppStream (v. 8)Fixed—
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2024:9315
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2024:5101
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2024:9315
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2024:5101
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2024:9315
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2024:9315
Not affected: 5 products
  • Red Hat CodeReady Linux Builder (v. 9)
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux AppStream (v. 9)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-53597
  2. 2026-10-03 Alias added: GHSA-g6xj-m5qj-cqp6

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources