CVE-2024-35998 smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
A lock ordering error in the Linux kernel's SMB3 implementation can cause a deadlock, leading to a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35998?
CVE-2024-35998 is a high-severity vulnerability in Linux kernel, published on 20 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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)")
Weakness: CWE-667
Which versions are affected by CVE-2024-35998?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35998?
Apply the vendor's patch.
Is CVE-2024-35998 being exploited?
There is no known exploitation of CVE-2024-35998 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-55440, BELL-CVE-2024-35998, DEBIAN-CVE-2024-35998, GHSA-c4cj-x9mv-wwgx, ROOT-OS-DEBIAN-11-CVE-2024-35998, ROOT-OS-UBUNTU-2204-CVE-2024-35998 and 1 more.