CVE-2026-90155

published 17 Sep 2026 · updated 30 Oct 2026

ksmbd: detach blocked lock requests before freeing

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 215e8816b1ac25176d911abb8704390413ccee4b, Kernel 4e8b69c06bd6583ec11abef4fae50c2c8d5f3679, Kernel 514a0b2bc949963497e66cacd433f65dc768a71d and 3 more.

In the Linux kernel, the following vulnerability has been resolved: ksmbd: detach blocked lock requests before freeing A file_lock retained by ksmbd for byte-range lock bookkeeping can still be part of the VFS blocked-request graph. In particular, the VFS can chain a new waiter below an already blocked request through flc_blocked_requests. The ksmbd_file reference count does not cover that graph. Both __ksmbd_close_fd() and the cross-request unlock path free these retained file_lock objects directly. If a dependent waiter is still attached, locks_release_private() hits BUG_ON(!list_empty(&flc->flc_blocked_requests)). The same lifetime mismatch can leave a freed ksmbd_lock reachable through its request-local llist. Detach the file_lock from the blocked-request graph before freeing it in the close, cross-request unlock, and rollback paths. locks_delete_block() also wakes requests chained below the object. Remove llist when a completed lock is published so a globally visible ksmbd_lock no longer points into the submitting worker's stack.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <215e8816b1ac25176d911abb8704390413ccee4b, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <4e8b69c06bd6583ec11abef4fae50c2c8d5f3679, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <514a0b2bc949963497e66cacd433f65dc768a71d, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <d31db79cfaa9fce6649772ad279779473ba8aef9, >=d63528eb0d43c4796c42aad56889dec12cf4e122 <f77d2accafca529e0ea3f979eb6e6cf1dac05c90215e8816b1ac25176d911abb8704390413ccee4b, 4e8b69c06bd6583ec11abef4fae50c2c8d5f3679, 514a0b2bc949963497e66cacd433f65dc768a71d, d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04, d31db79cfaa9fce6649772ad279779473ba8aef9, f77d2accafca529e0ea3f979eb6e6cf1dac05c90

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-90155 severity on Zeptric[![CVE-2026-90155](https://zeptric.io/badge/cve/CVE-2026-90155.svg)](https://zeptric.io/cve/CVE-2026-90155)