8.8

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

Received
AliasesUBUNTU-CVE-2026-90162DEBIAN-CVE-2026-90162
Published 17-09-2026Last modified 30-10-2026

Vulnerability summary

CVE-2026-90162 is a high (CVSS 8.8) vulnerability in linux. EPSS estimates a 0.70% chance of exploitation in the next 30 days, higher than 54.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.70%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 11

Timeline

  1. 17-09-2026
    PublishedVulnerability first disclosed.
  2. 30-10-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.70%

Chance of exploitation in the next 30 days

Percentile

54%

Versus all other CVEs

30-day change

Increase +0.07 pp

From 0.63% on 21-10-2026

21-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu157 products
  • linuxAll versions (No fix recorded) | < 6.8.0-151.151 | < 7.0.0-43.43
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1070.76 | < 7.0.0-1017.18
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
  • linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.115-2 | < 7.2.6-1
  • linux-6.12< 6.12.115-2~deb12u1
Linux1 product
  • linux≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < f1371a140722c1d6868f9acf69d601de7d4142bf | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b68d4bb6b03a667c305626bd2c242fd162bac17e | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 65f54ed0289e9a57e6c60b14347ccea4c318f1fc | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < ff6870cf3b7eccc69d03cbb6f23e3995d96e9a8d | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < a1d26dfb32919088e3638dca01068df3c4507433 | ≥ e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 29f74f0f2e6df3b393b7b66e810136d0c64e3c59 | 5.15

3 vendors · 160 products

References

20 links
Show all 20 references