{"id":"CVE-2026-90155","summary":"ksmbd: detach blocked lock requests before freeing","details":"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-\u003eflc_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.","modified":"2026-11-01T02:30:40.406349996Z","published":"2026-09-17T16:06:47.716Z","related":["openSUSE-SU-2026:11880-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90155.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e8b69c06bd6583ec11abef4fae50c2c8d5f3679"},{"type":"WEB","url":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d31db79cfaa9fce6649772ad279779473ba8aef9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f77d2accafca529e0ea3f979eb6e6cf1dac05c90"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90155.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90155"},{"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":"d63528eb0d43c4796c42aad56889dec12cf4e122"},{"fixed":"4e8b69c06bd6583ec11abef4fae50c2c8d5f3679"},{"fixed":"d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04"},{"fixed":"d31db79cfaa9fce6649772ad279779473ba8aef9"},{"fixed":"f77d2accafca529e0ea3f979eb6e6cf1dac05c90"},{"fixed":"514a0b2bc949963497e66cacd433f65dc768a71d"},{"fixed":"215e8816b1ac25176d911abb8704390413ccee4b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90155.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.114"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.57"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90155.json"}}],"schema_version":"1.9.2"}