CVE-2026-90155
ksmbd: detach blocked lock requests before freeing
Check your servers for CVE-2026-90155
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90155 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.87% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before 4e8b69c06bd6583ec11abef4fae50c2c8d5f3679 affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04 affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before d31db79cfaa9fce6649772ad279779473ba8aef9 affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before f77d2accafca529e0ea3f979eb6e6cf1dac05c90 affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before 514a0b2bc949963497e66cacd433f65dc768a71d affected from d63528eb0d43c4796c42aad56889dec12cf4e122, before 215e8816b1ac25176d911abb8704390413ccee4b
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90155 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90155
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90155
trivy image --scanners vuln IMAGE | grep CVE-2026-90155
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4e8b69c06bd6583ec11abef4fae50c2c8d5f3679 git.kernel.org
- https://git.kernel.org/stable/c/d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04 git.kernel.org
- https://git.kernel.org/stable/c/d31db79cfaa9fce6649772ad279779473ba8aef9 git.kernel.org
- https://git.kernel.org/stable/c/f77d2accafca529e0ea3f979eb6e6cf1dac05c90 git.kernel.org
- https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d git.kernel.org
- https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b git.kernel.org
Source: the record CVE-2026-90155 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse