← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel ksmbd SMB server Vulnerability Rated 8.8 CVSS

Last refreshed2026-10-15

Status: UPDATED  |  Advisory ID: CVE-2026-90162

Key Details

CVECVE-2026-90162
CVSS Score / Version
8.8 (High) / CVSS v3.1
Updated2026-10-15
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.57% probability of exploitation in the next 30 days (46% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: defer publishing granted locks to prevent UAF/double-free race

In smb2_lock(), mid-batch granted locks are published to connection-wide

(conn->lock_list) and file-wide (fp->lock_list) lists immediately upon

vfs_lock_file() success, while also remaining tracked on the stack-local

rollback_list.

If a subsequent element in the same SMB2_LOCK request array fails

validation or execution, the thread jumps to out: and walks

rollback_list to undo previously granted locks. However, because the

granted lock was already published to conn->lock_list, a concurrent

UNLOCK request on the same connection can find the lock object and

kfree() it before the rollback loop executes.

When the granting thread subsequently walks rollback_list, it

dereferences and frees the already-freed ksmbd_lock structure, resulting

in a Use-After-Free and Double-Free (on both ksmbd_lock and struct

file_lock).

Fix this by deferring the publication of granted locks to

conn->lock_list and fp->lock_list until after the entire array of lock

elements has been processed without error. Mid-batch grants remain

tracked exclusively on the request-local rollback_list until the whole

batch succeeds, eliminating the race window. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-90162
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-90162
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.