Skip to main content

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in oplock break notification smb2_oplock_break_noti()… (CVE-2026-80926)

0
High
Published: 09/11/2026 (09/11/2026, 21:31:19 UTC)
Source: GCVE Database

Description

A use-after-free vulnerability in the Linux kernel's ksmbd component related to oplock break notification has been resolved. The flaw occurs when smb2_oplock_break_noti() accesses a connection pointer without proper locking, leading to potential dereferencing of freed memory. This can happen when a durable handle owning the oplock disconnects and the connection is freed, but a concurrent break notification resurrects and uses the stale connection. The fix involves proper locking and reference management to prevent use-after-free conditions.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 01:27:58 UTC

Technical Analysis

The vulnerability in the Linux kernel ksmbd subsystem involves a use-after-free in the oplock break notification function smb2_oplock_break_noti(). The function reads opinfo->conn without locking and dereferences it after allocations that may sleep. When the durable handle owning the oplock disconnects, session_fd_check() clears opinfo->conn and drops its reference under a lock, potentially freeing the connection. A concurrent oplock break triggered by another connection can race with this teardown, causing ksmbd_conn_get() to increment a reference count on a freed connection. Later, the stale connection is dereferenced in ksmbd_conn_write(), leading to use-after-free. The patch threads the caller's inode through the notification path to ensure the connection cannot be freed during the call, uses proper locking (ci->m_lock) to select and pin the connection, and transfers the reference to the work item to avoid premature freeing.

Potential Impact

The vulnerability allows an authenticated client holding a durable batch oplock to trigger a use-after-free condition in the ksmbd kernel module. This could lead to kernel memory corruption, potentially causing system instability or escalation of privileges. However, exploitation requires authentication and specific conditions involving oplock breaks and durable handles.

Mitigation Recommendations

A fix has been implemented in the Linux kernel ksmbd component to address this use-after-free vulnerability. Users and administrators should apply the official kernel updates that include this patch once available. No additional mitigation is required beyond applying the official fix.

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-4r76-cqqc-v36j
Osv Schema Version
1.4.0
Aliases
["CVE-2026-80926"]

Threat ID: 6aa4a03355bf5e2cf5a873fe

Added to database: 09/12/2026, 00:43:31 UTC

Last enriched: 09/12/2026, 01:27:58 UTC

Last updated: 09/12/2026, 01:52:07 UTC

Views: 3

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