In the Linux kernel, the following vulnerability has been resolved: ksmbd: defer publishing granted locks to prevent UAF/double-free race In… (CVE-2026-90162)
A high-severity use-after-free and double-free vulnerability (CVE-2026-90162) in the Linux kernel's ksmbd component was resolved. The flaw involved premature publishing of granted locks to connection-wide and file-wide lists before fully validating all lock requests in a batch. This allowed a race condition where concurrent unlock requests could free lock objects that the granting thread later accessed and freed again, causing memory corruption.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's ksmbd SMB server implementation arises from the premature publication of granted locks to connection-wide and file-wide lock lists immediately after individual lock grants succeed within a batch. If a later lock in the batch fails validation, the granting thread rolls back previously granted locks by dereferencing and freeing them from a rollback list. However, because these locks were already published, a concurrent unlock request could free them first, leading to a use-after-free and double-free condition. The fix defers publishing granted locks to the shared lists until the entire batch is successfully processed, eliminating the race window.
Potential Impact
Successful exploitation can lead to use-after-free and double-free conditions in kernel memory, potentially causing system crashes, denial of service, or arbitrary code execution with kernel privileges. The CVSS score of 8.8 indicates high severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available that defers the publication of granted locks until the entire batch of lock requests is processed without error, preventing the race condition. Users should apply the official Linux kernel updates that include this patch to remediate the vulnerability.
In the Linux kernel, the following vulnerability has been resolved: ksmbd: defer publishing granted locks to prevent UAF/double-free race In… (CVE-2026-90162)
Description
A high-severity use-after-free and double-free vulnerability (CVE-2026-90162) in the Linux kernel's ksmbd component was resolved. The flaw involved premature publishing of granted locks to connection-wide and file-wide lists before fully validating all lock requests in a batch. This allowed a race condition where concurrent unlock requests could free lock objects that the granting thread later accessed and freed again, causing memory corruption.
CVSS v3.1
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's ksmbd SMB server implementation arises from the premature publication of granted locks to connection-wide and file-wide lock lists immediately after individual lock grants succeed within a batch. If a later lock in the batch fails validation, the granting thread rolls back previously granted locks by dereferencing and freeing them from a rollback list. However, because these locks were already published, a concurrent unlock request could free them first, leading to a use-after-free and double-free condition. The fix defers publishing granted locks to the shared lists until the entire batch is successfully processed, eliminating the race window.
Potential Impact
Successful exploitation can lead to use-after-free and double-free conditions in kernel memory, potentially causing system crashes, denial of service, or arbitrary code execution with kernel privileges. The CVSS score of 8.8 indicates high severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available that defers the publication of granted locks until the entire batch of lock requests is processed without error, preventing the race condition. Users should apply the official Linux kernel updates that include this patch to remediate the vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x2qc-qfqc-6vmr
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-90162"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6aade52355bf5e2cf5edc199
Added to database: 09/19/2026, 01:28:03 UTC
Last enriched: 09/19/2026, 01:51:48 UTC
Last updated: 09/19/2026, 03:21:28 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.