CVE-2026-90176
ksmbd: Do not skip lock checks for single-byte ranges
Check your servers for CVE-2026-90176
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-90176 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: Do not skip lock checks for single-byte ranges
check_lock_range() uses inclusive ranges. Its callers pass the end offset as start + length - 1, so start == end represents a valid single-byte range rather than an empty range.
The start == end shortcut therefore skips mandatory byte-range lock checks for one-byte reads, writes, copychunk operations and one-byte truncate ranges. A conflicting lock covering that byte is not checked and the operation is allowed to proceed.
Remove the shortcut. The truncate size == inode->i_size case is already handled by only calling check_lock_range() when the new size differs from the current file size.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.52%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 37.7% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 52fcbb92e0d3acfd1448b2a43b6595d540da5295, before a89cc145832e81c32199d4ca2e1ea8bd51ed601d affected from da29cd197246c85c0473259f1cad897d9d28faea, before 993e0158331d37c04da18efe551b5e1e35fb3078 affected from a6f4cfa3783804336491e0edcb250c25f9b59d33, before f751d6e39d4c937c45f8fedc66699aa7d2d52288 affected from 571204e4758a528fbd67330bd4b0dfbdafb33dd8, before 84c2d8e807ac489f5c91769293fb15dfdae8bae8 affected from 5d510ac31626ed157d2182149559430350cf2104, before 07a9e289ff7edcc004f58952405f8a65c4e37512 affected from 5d510ac31626ed157d2182149559430350cf2104, before d40c24634fe077a0dc91fd11fccf44ce12b454d5 affected from 6.1.160, before 6.1.188 affected from 6.6.120, before 6.6.157 affected from 6.12.64, before 6.12.110 affected from 6.18.3, before 6.18.52
Other versions: unaffected
|
| Linux |
affected 6.19 unaffected before 6.19 unaffected from 6.1.188 up to and including 6.1.* unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 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-90176 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90176
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-90176
trivy image --scanners vuln IMAGE | grep CVE-2026-90176
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/a89cc145832e81c32199d4ca2e1ea8bd51ed601d git.kernel.org
- https://git.kernel.org/stable/c/993e0158331d37c04da18efe551b5e1e35fb3078 git.kernel.org
- https://git.kernel.org/stable/c/f751d6e39d4c937c45f8fedc66699aa7d2d52288 git.kernel.org
- https://git.kernel.org/stable/c/84c2d8e807ac489f5c91769293fb15dfdae8bae8 git.kernel.org
- https://git.kernel.org/stable/c/07a9e289ff7edcc004f58952405f8a65c4e37512 git.kernel.org
- https://git.kernel.org/stable/c/d40c24634fe077a0dc91fd11fccf44ce12b454d5 git.kernel.org
Source: the record CVE-2026-90176 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