{"id":"CVE-2024-35998","summary":"smb3: fix lock ordering potential deadlock in cifs_sync_mid_result","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb3: fix lock ordering potential deadlock in cifs_sync_mid_result\n\nCoverity spotted that the cifs_sync_mid_result function could deadlock\n\n\"Thread deadlock (ORDER_REVERSAL) lock_order: Calling spin_lock acquires\nlock TCP_Server_Info.srv_lock while holding lock TCP_Server_Info.mid_lock\"\n\nAddresses-Coverity: 1590401 (\"Thread deadlock (ORDER_REVERSAL)\")","modified":"2026-04-16T04:32:39.223377972Z","published":"2024-05-20T09:48:01.009Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2360-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35998.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/699f8958dece132709c0bff6a9700999a2a63b75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8248224ab5b8ca7559b671917c224296a4d671fc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8861fd5180476f45f9e8853db154600469a0284f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c7a4bca289e50bb4b2650f845c41bb3e453f4c66"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35998.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35998"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"64d62ac6d6514cba1305bd08e271ec1843bdd612"},{"fixed":"c7a4bca289e50bb4b2650f845c41bb3e453f4c66"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"90c49fce1c43e1cc152695e20363ff5087897c09"},{"fixed":"699f8958dece132709c0bff6a9700999a2a63b75"},{"fixed":"8248224ab5b8ca7559b671917c224296a4d671fc"},{"fixed":"8861fd5180476f45f9e8853db154600469a0284f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"c511954bf142fe1995aec3c739a9f1a76990283a"},{"last_affected":"0b08c4c499200be67d54c439d56e5ea866869945"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35998.json"}}],"schema_version":"1.7.5"}