{"id":"CVE-2026-90155","published":"2026-09-17T16:06:47Z","modified":"2026-10-30T12:34:28Z","title":"ksmbd: detach blocked lock requests before freeing","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: detach blocked lock requests before freeing\n\nA file_lock retained by ksmbd for byte-range lock bookkeeping can still\nbe part of the VFS blocked-request graph. In particular, the VFS can\nchain a new waiter below an already blocked request through\nflc_blocked_requests. The ksmbd_file reference count does not cover that\ngraph.\n\nBoth __ksmbd_close_fd() and the cross-request unlock path free these\nretained file_lock objects directly. If a dependent waiter is still\nattached, locks_release_private() hits\nBUG_ON(!list_empty(&flc->flc_blocked_requests)). The same lifetime\nmismatch can leave a freed ksmbd_lock reachable through its request-local\nllist.\n\nDetach the file_lock from the blocked-request graph before freeing it in\nthe close, cross-request unlock, and rollback paths. locks_delete_block()\nalso wakes requests chained below the object. Remove llist when a\ncompleted lock is published so a globally visible ksmbd_lock no longer\npoints into the submitting worker's stack.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.11872,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4e8b69c06bd6583ec11abef4fae50c2c8d5f3679","tags":[]},{"url":"https://git.kernel.org/stable/c/d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04","tags":[]},{"url":"https://git.kernel.org/stable/c/d31db79cfaa9fce6649772ad279779473ba8aef9","tags":[]},{"url":"https://git.kernel.org/stable/c/f77d2accafca529e0ea3f979eb6e6cf1dac05c90","tags":[]},{"url":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d","tags":[]},{"url":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d63528eb0d43c4796c42aad56889dec12cf4e122, < 4e8b69c06bd6583ec11abef4fae50c2c8d5f3679",">= d63528eb0d43c4796c42aad56889dec12cf4e122, < d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04",">= d63528eb0d43c4796c42aad56889dec12cf4e122, < d31db79cfaa9fce6649772ad279779473ba8aef9",">= d63528eb0d43c4796c42aad56889dec12cf4e122, < f77d2accafca529e0ea3f979eb6e6cf1dac05c90",">= d63528eb0d43c4796c42aad56889dec12cf4e122, < 514a0b2bc949963497e66cacd433f65dc768a71d",">= d63528eb0d43c4796c42aad56889dec12cf4e122, < 215e8816b1ac25176d911abb8704390413ccee4b"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2026-81748","exploited":false,"provenance":"source"}}