{"id":"CVE-2026-99276","published":"2026-11-07T14:08:46Z","modified":"2026-11-07T14:08:46Z","title":"ksmbd: defer connection scavenging while session locks are busy","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: defer connection scavenging while session locks are busy\n\nThe expiration worker holds conn_list_lock for reading while checking\nfor authenticated sessions. Without this change, the check can wait for\nconn->session_lock or sessions_table_lock.\n\nIn destroy_previous_session(), the status updates after\nksmbd_conn_wait_idle_sess() run with both session locks held for\nwriting. Both the KSMBD_SESS_GOOD error path and the\nKSMBD_SESS_NEED_SETUP success path call ksmbd_all_conn_set_status(),\nwhich takes conn_list_lock for reading.\n\nA writer queued on conn_list_lock can block these new read acquisitions.\nThe worker then waits for a session lock held by\ndestroy_previous_session(), which waits behind the writer. The writer\ncannot proceed until the worker releases conn_list_lock.\n\nTry both session locks instead of waiting in the scavenging check. Keep\nthe connection when either lock is busy and let the periodic worker\nretry later.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00145,"percentile":0.03804,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4e4e8b38994a0b0fc23f00ca6698b469a41abe70","tags":[]},{"url":"https://git.kernel.org/stable/c/b4bae7af1154089be87c7475218264fcbfd16d10","tags":[]}],"priority":{"score":0.8,"factors":[{"name":"EPSS percentile","points":0.76}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d7fd1f98607f2cd358e583f9548bdf0173090a86, < 4e4e8b38994a0b0fc23f00ca6698b469a41abe70",">= d7fd1f98607f2cd358e583f9548bdf0173090a86, < b4bae7af1154089be87c7475218264fcbfd16d10","c99ea7855124ca1428a1e59c2b4590aaef34eacf",">= 7.2.8, < 7.3"]},{"vendor":"Linux","product":"Linux","versions":["7.3"]}],"euvd":{"id":"EUVD-2026-119286","exploited":false,"provenance":"source"}}