In the Linux kernel, the following vulnerability has been resolved:
smb3: fix lock ordering potential deadlock in cifssyncmid_result
Coverity spotted that the cifssyncmid_result function could deadlock
"Thread deadlock (ORDERREVERSAL) lockorder: Calling spinlock acquires lock TCPServerInfo.srvlock while holding lock TCPServerInfo.mid_lock"
Addresses-Coverity: 1590401 ("Thread deadlock (ORDER_REVERSAL)")
[
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c",
"function": "cifs_sync_mid_result"
},
"digest": {
"length": 827.0,
"function_hash": "49484337955645731554892709381030000286"
},
"id": "CVE-2024-35998-1a51390e",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c7a4bca289e50bb4b2650f845c41bb3e453f4c66",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c",
"function": "cifs_sync_mid_result"
},
"digest": {
"length": 827.0,
"function_hash": "49484337955645731554892709381030000286"
},
"id": "CVE-2024-35998-4d14c491",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@699f8958dece132709c0bff6a9700999a2a63b75",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"178201008602339291022010693289183397335",
"89317978973304151047790977833466312333",
"42764891157593633508802352607851884654",
"64764339161204719434144820356478882395",
"261765352805764115589153105506121878557",
"233610704383175653389122386354970871167",
"124106039995782824919363498917623424312",
"136185285547983662159574491068193862231",
"121302367015877635850707668772105459368"
]
},
"id": "CVE-2024-35998-690acb3c",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8248224ab5b8ca7559b671917c224296a4d671fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"178201008602339291022010693289183397335",
"89317978973304151047790977833466312333",
"42764891157593633508802352607851884654",
"64764339161204719434144820356478882395",
"261765352805764115589153105506121878557",
"233610704383175653389122386354970871167",
"124106039995782824919363498917623424312",
"136185285547983662159574491068193862231",
"121302367015877635850707668772105459368"
]
},
"id": "CVE-2024-35998-aa993e7a",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@699f8958dece132709c0bff6a9700999a2a63b75",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"178201008602339291022010693289183397335",
"89317978973304151047790977833466312333",
"42764891157593633508802352607851884654",
"64764339161204719434144820356478882395",
"261765352805764115589153105506121878557",
"233610704383175653389122386354970871167",
"124106039995782824919363498917623424312",
"136185285547983662159574491068193862231",
"121302367015877635850707668772105459368"
]
},
"id": "CVE-2024-35998-eb3895f9",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8861fd5180476f45f9e8853db154600469a0284f",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c",
"function": "cifs_sync_mid_result"
},
"digest": {
"length": 827.0,
"function_hash": "49484337955645731554892709381030000286"
},
"id": "CVE-2024-35998-f1770b76",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8248224ab5b8ca7559b671917c224296a4d671fc",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"178201008602339291022010693289183397335",
"89317978973304151047790977833466312333",
"42764891157593633508802352607851884654",
"64764339161204719434144820356478882395",
"261765352805764115589153105506121878557",
"233610704383175653389122386354970871167",
"124106039995782824919363498917623424312",
"136185285547983662159574491068193862231",
"121302367015877635850707668772105459368"
]
},
"id": "CVE-2024-35998-f2b32905",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c7a4bca289e50bb4b2650f845c41bb3e453f4c66",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/smb/client/transport.c",
"function": "cifs_sync_mid_result"
},
"digest": {
"length": 827.0,
"function_hash": "49484337955645731554892709381030000286"
},
"id": "CVE-2024-35998-f3fd8c08",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8861fd5180476f45f9e8853db154600469a0284f",
"signature_version": "v1"
}
]