Description
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.
Published: 2026-08-10
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel contains a use‑after‑free flaw in the ksmbd SMB daemon. When an oplock or lease break notification is processed asynchronously, the worker retains a ksmbd_conn pointer but does not pin the reference. If the connection is torn down at the same time, the last reference may be released before the worker finishes. The worker then uses the freed object in write and reference‑decrement operations, corrupting kernel memory. Based on the description, it is inferred that this race could result in unintended kernel behavior, which might lead to privilege escalation, but no explicit exploit method is documented.

Affected Systems

All Linux distributions that ship the Linux kernel with the ksmbd SMB server component are potentially affected. No specific kernel version is listed, so systems running any kernel that includes ksmbd are at risk until the upstream patch is applied.

Risk and Exploitability

The flaw has a CVSS score of 9.8, indicating high severity. The EPSS score of < 1% reflects a low but non‑zero likelihood of exploitation. It is not listed in the CISA KEV catalog. The likely attack vector is remote SMB access, inferred because ksmbd is an SMB server; however, the CVE entry does not provide a documented exploitation path.

Generated by OpenCVE AI on August 14, 2026 at 01:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the ksmbd use‑after‑free patch.
  • If a kernel update is not yet available, disable the ksmbd service to remove the attack surface.
  • Monitor system logs for abnormal kernel events that may indicate exploitation attempts.

Generated by OpenCVE AI on August 14, 2026 at 01:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Thu, 13 Aug 2026 23:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 13 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-364
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Mon, 10 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title ksmbd: pin conn during async oplock break notification
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:04:27.523Z

Reserved: 2026-07-30T09:28:09.387Z

Link: CVE-2026-68381

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:31.197

Modified: 2026-08-17T06:17:46.560

Link: CVE-2026-68381

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-10T12:03:59Z

Links: CVE-2026-68381 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T01:15:17Z

Weaknesses
  • CWE-364

    Signal Handler Race Condition