Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable but needs an authenticated client (PR:L) and a hard-to-win teardown race (AC:H); realistic impact is a kernel crash (A:H), with no demonstrated C/I loss.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
6DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in oplock break notification
smb2_oplock_break_noti() reads opinfo->conn without any lock and dereferences it after two allocations which may sleep. When the durable handle owning the oplock is disconnected, session_fd_check() clears opinfo->conn and drops its conn reference under ci->m_lock, and the last ksmbd_conn_put() frees the connection. A break triggered by another connection that races with the teardown can then resurrect the freed connection: ksmbd_conn_get() is a plain atomic_inc, and the queued break work later dereferences the stale conn via ksmbd_conn_write(), a use-after-free reachable by any authenticated client holding a durable batch oplock.
Thread the caller's inode into the notification path instead of taking a new reference on it. Every caller of oplock_break() already holds a live ksmbd_file (or an explicit ksmbd_inode_lookup_lock() reference, in the parent lease break paths) on the inode that owns the break target's oplock list, so ci cannot be freed during the call, and its lock can be taken without dereferencing opinfo->o_fp, which a concurrent close may free. Select and pin the connection under ci->m_lock, the same lock session_fd_check() and ksmbd_reopen_durable_fd() use to update opinfo->conn, so a concurrent detach either loses the race to the clear or keeps the connection alive until the notification work releases it. Transfer the reference to the work item and release it on allocation failures.
AnalysisAI
Use-after-free in the Linux kernel's ksmbd in-kernel SMB3 server lets any authenticated SMB client holding a durable batch oplock corrupt kernel memory during oplock-break notification. smb2_oplock_break_noti() reads opinfo->conn without a lock and dereferences it after two sleep-capable allocations; if the durable handle owning the oplock is disconnected concurrently, the connection is freed and a racing break from another connection resurrects the stale pointer, leading to a use-after-free in ksmbd_conn_write(). …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Requires a Linux server running the in-kernel ksmbd SMB service with at least one accessible share, and an attacker who is an authenticated SMB client able to obtain a durable batch oplock on a file. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | The published CVSS 9.8 (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H) materially overstates real-world risk. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | Full exploit scenario with step-by-step reproduction available after sign-in. |
| Remediation | Apply the fixed kernel for your branch: Vendor-released patch: 6.18.51, 7.2.5, or 7.3-rc2 (and the corresponding 6.12.x/7.1 stable fixes), per the kernel stable commits c8279ae8df68, 8cc98db4fc59, and 0e753899627b at git.kernel.org. … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours, identify all systems running vulnerable kernel versions (6.12.93 and earlier, 6.18.50 and earlier, 7.0.x, 7.2.4 and earlier) by running 'uname -r' and 'lsmod | grep ksmbd' on file and print servers; document which systems require updates. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-76248
GHSA-4r76-cqqc-v36j