CVE-2024-35998

published 20 May 2024 · updated 17 Nov 2026

smb3: fix lock ordering potential deadlock in cifs_sync_mid_result

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8861fd5180476f45f9e8853db154600469a0284f, Kernel 6.3, Kernel 6.4 and 6 more.

In the Linux kernel, the following vulnerability has been resolved: smb3: fix lock ordering potential deadlock in cifs_sync_mid_result Coverity spotted that the cifs_sync_mid_result function could deadlock "Thread deadlock (ORDER_REVERSAL) lock_order: Calling spin_lock acquires lock TCP_Server_Info.srv_lock while holding lock TCP_Server_Info.mid_lock" Addresses-Coverity: 1590401 ("Thread deadlock (ORDER_REVERSAL)")

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=90c49fce1c43e1cc152695e20363ff5087897c09 <8861fd5180476f45f9e8853db154600469a0284f, >=6.2.15 <6.3, >=6.3.2 <6.4, >=64d62ac6d6514cba1305bd08e271ec1843bdd612 <c7a4bca289e50bb4b2650f845c41bb3e453f4c66, >=90c49fce1c43e1cc152695e20363ff5087897c09 <699f8958dece132709c0bff6a9700999a2a63b75, >=90c49fce1c43e1cc152695e20363ff5087897c09 <8248224ab5b8ca7559b671917c224296a4d671fc, =0b08c4c499200be67d54c439d56e5ea866869945, =6.4, =c511954bf142fe1995aec3c739a9f1a76990283a, >=6.1.28 <6.1.908861fd5180476f45f9e8853db154600469a0284f, 6.3, 6.4, c7a4bca289e50bb4b2650f845c41bb3e453f4c66, 699f8958dece132709c0bff6a9700999a2a63b75, 8248224ab5b8ca7559b671917c224296a4d671fc, 6.1.90
linux-kernel: Kernel>=6.2.15 <6.3, >=6.3.2 <6.4, >=6.4.0 <6.6.30, >=6.7.0 <6.8.9, >=6.1.28 <6.1.906.3, 6.4, 6.6.30, 6.8.9, 6.1.90

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35998 severity on Zeptric[![CVE-2024-35998](https://zeptric.io/badge/cve/CVE-2024-35998.svg)](https://zeptric.io/cve/CVE-2024-35998)