CVE-2024-35998

smb3: fix lock ordering potential deadlock in cifs_sync_mid_result

MEDIUM
5.5
CVSS Score
Published: May 20, 2024 at 09:48 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.2.15v ≥ 6.3.2v < 6.1.906.1.28 ≤ v < 6.1.906.2 ≤ v < 6.6.306.2.15 ≤ v < 6.36.3.2 ≤ v < 6.46.4 ≤ v < 6.6.306.4 ≤ v < 6.8.96.4 ≤ v < 6.96.7 ≤ v < 6.8.90b08c4c499200be67d54c439d56e5ea8668699456.1.286.2.156.3.26.9 rc16.9 rc26.9 rc36.9 rc46.9 rc564d62ac6d6514cba1305bd08e271ec1843bdd61290c49fce1c43e1cc152695e20363ff5087897c09c511954bf142fe1995aec3c739a9f1a76990283a
Vendor states this is fixed in 699f8958dece132709c0bff6a9700999a2a63b75 (fixed)
Vendor states this is fixed in 8248224ab5b8ca7559b671917c224296a4d671fc (fixed)
Vendor states this is fixed in 8861fd5180476f45f9e8853db154600469a0284f (fixed)
Vendor states this is fixed in c7a4bca289e50bb4b2650f845c41bb3e453f4c66 (fixed)
Vendor states this is fixed in 6.1.90 (unaffected)
Affected range stops below 6.3, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/699f8958dece132709c0bff6a9700999a2a63b75
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8248224ab5b8ca7559b671917c224296a4d671fc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8861fd5180476f45f9e8853db154600469a0284f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7a4bca289e50bb4b2650f845c41bb3e453f4c66

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card