CVE-2026-68381CWE-416

CVE-2026-68381

Critical · published August 10, 2026

CVSS v3.1
9.8
EPSS
0%
Percentile
38.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: pin conn during async oplock break notification

smb2_oplock_break_noti() and smb2_lease_break_noti() store a ksmbd_conn

pointer in an async ksmbd_work and then queue that work on ksmbd-io. The

work only increments conn->r_count, which prevents teardown from passing

the pending-request wait after the increment, but it does not pin the

struct ksmbd_conn object.

If connection teardown races with an oplock break notification, the last

conn reference can be dropped before the queued worker finishes. The

worker then uses the freed conn in ksmbd_conn_write() and

ksmbd_conn_r_count_dec().

Take a real conn reference when publishing the conn pointer to the async

work item, and drop it after the notification work has decremented

r_count. Apply the same lifetime rule to lease break notification, which

uses the same work->conn pattern.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00457 · 38.7th percentile
Weakness
CWE-416 · Use After Free
Published
2026-08-10T17:20Z
References (5)
EPSS history
Timeline
  • 10 AUG 12:03Z
    ksmbd: pin conn during async oplock break notification
    cvelistv5