CVE-2024-35998
smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
Mitigation
- Upgrade Linux to 6.4 or later.
Who should check
- Anyone running Linux >= 64d62ac6d6514cba1305bd08e271ec1843bdd612, < c7a4bca289e50bb4b2650f845c41bb3e453f4c66; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 699f8958dece132709c0bff6a9700999a2a63b75; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8248224ab5b8ca7559b671917c224296a4d671fc; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8861fd5180476f45f9e8853db154600469a0284f; c511954bf142fe1995aec3c739a9f1a76990283a; 0b08c4c499200be67d54c439d56e5ea866869945; >= 6.1.28, < 6.1.90; >= 6.2.15, < 6.3; >= 6.3.2, < 6.4
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 64d62ac6d6514cba1305bd08e271ec1843bdd612, < c7a4bca289e50bb4b2650f845c41bb3e453f4c66; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 699f8958dece132709c0bff6a9700999a2a63b75; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8248224ab5b8ca7559b671917c224296a4d671fc; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8861fd5180476f45f9e8853db154600469a0284f; c511954bf142fe1995aec3c739a9f1a76990283a; 0b08c4c499200be67d54c439d56e5ea866869945; >= 6.1.28, < 6.1.90; >= 6.2.15, < 6.3; >= 6.3.2, < 6.4; Linux 6.4
- Fixed in
- Linux 699f8958dece132709c0bff6a9700999a2a63b75, Linux 8248224ab5b8ca7559b671917c224296a4d671fc, Linux 8861fd5180476f45f9e8853db154600469a0284f, Linux 6.1.90, Linux 6.3, Linux 6.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.67% chance of exploitation in 30 days (percentile 47, 2026-11-26)
- CWE
- CWE-667
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 64d62ac6d6514cba1305bd08e271ec1843bdd612, < c7a4bca289e50bb4b2650f845c41bb3e453f4c66; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 699f8958dece132709c0bff6a9700999a2a63b75; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8248224ab5b8ca7559b671917c224296a4d671fc; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8861fd5180476f45f9e8853db154600469a0284f; c511954bf142fe1995aec3c739a9f1a76990283a; 0b08c4c499200be67d54c439d56e5ea866869945; >= 6.1.28, < 6.1.90; >= 6.2.15, < 6.3; >= 6.3.2, < 6.4 | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35998. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35998.md Affected: Linux >= 64d62ac6d6514cba1305bd08e271ec1843bdd612, < c7a4bca289e50bb4b2650f845c41bb3e453f4c66; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 699f8958dece132709c0bff6a9700999a2a63b75; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8248224ab5b8ca7559b671917c224296a4d671fc; >= 90c49fce1c43e1cc152695e… Fixed in: Linux 699f8958dece132709c0bff6a9700999a2a63b75, Linux 8248224ab5b8ca7559b671917c224296a4d671fc, Linux 8861fd5180476f45f9e8853db154600469a0284f, Linux 6.1.90, Linux 6.3, Linux 6.4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-35998 being exploited?
There is no confirmed exploitation: CVE-2024-35998 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.67% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35998?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-35998?
Linux >= 64d62ac6d6514cba1305bd08e271ec1843bdd612, < c7a4bca289e50bb4b2650f845c41bb3e453f4c66; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 699f8958dece132709c0bff6a9700999a2a63b75; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8248224ab5b8ca7559b671917c224296a4d671fc; >= 90c49fce1c43e1cc152695e20363ff5087897c09, < 8861fd5180476f45f9e8853db154600469a0284f; c511954bf142fe1995aec3c739a9f1a76990283a; 0b08c4c499200be67d54c439d56e5ea866869945; >= 6.1.28, < 6.1.90; >= 6.2.15, < 6.3; >= 6.3.2, < 6.4; Linux 6.4.
Is there a fix for CVE-2024-35998?
Yes. Fixed in Linux 699f8958dece132709c0bff6a9700999a2a63b75, Linux 8248224ab5b8ca7559b671917c224296a4d671fc, Linux 8861fd5180476f45f9e8853db154600469a0284f, Linux 6.1.90, Linux 6.3, Linux 6.4. Upgrade Linux to 6.4 or later.
How do I check if I'm affected by CVE-2024-35998?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.