Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

In the Linux kernel, the following vulnerability has been resolved: ksmbd: track the connection owning a byte-range lock SMB2_LOCK adds each granted… (CVE-2026-64390)

0
High
Published: 07/25/2026 (07/25/2026, 12:31:33 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's ksmbd component related to byte-range lock tracking has been resolved. The issue arises because SMB2_LOCK adds granted byte-range locks to both the file lock list and the connection's lock list, but the removal of these entries during close and durable handle operations can occur under different spinlocks when SMB3 multichannel is used. This can lead to concurrent access of freed lock structures. The fix involves tracking the connection owning each lock entry and holding a reference to it while linked, ensuring proper locking during unlock, rollback, close, and durable preserve operations.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/25/2026, 23:28:04 UTC

Technical Analysis

The vulnerability in the Linux kernel ksmbd subsystem concerns improper tracking and removal of byte-range locks when SMB3 multichannel is used. SMB2_LOCK adds locks to both the file and connection lock lists, but the removal process can occur under different spinlocks due to multichannel connections differing from the original file opener connection. This mismatch can cause concurrent traversals to access freed ksmbd_lock and file_lock structures, leading to potential use-after-free conditions. The resolution involves recording the owning connection for each lock entry and maintaining a reference to it while linked, using the correct connection and its lock for all lock removal and preservation operations, and updating the connection owner during durable reconnects.

Potential Impact

The vulnerability could allow concurrent access to freed kernel memory structures related to SMB byte-range locks, potentially leading to kernel memory corruption or instability. No known exploits in the wild have been reported. The impact is limited to systems using the ksmbd SMB server component with SMB3 multichannel enabled.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to properly track and manage the connection owning each byte-range lock in ksmbd. Users should apply the official kernel updates that include this fix. Since this is a kernel-level vulnerability, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly stated here; check the vendor or kernel mailing lists for the specific fixed kernel version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-pgh2-g34p-4j6m
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64390"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a65420a9c2644c7f8084476

Added to database: 07/25/2026, 23:08:58 UTC

Last enriched: 07/25/2026, 23:28:04 UTC

Last updated: 07/26/2026, 04:15:56 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses