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

ksmbd: fix use-after-free in same_client_has_lease()

same_client_has_lease() returns an opinfo pointer from ci->m_op_list
after dropping ci->m_lock without taking a reference.

smb_grant_oplock() then dereferences that pointer in copy_lease() and
when checking breaking_cnt. A concurrent close can remove the old lease
from ci->m_op_list and drop the last reference before the caller uses
the returned pointer, leading to a use-after-free.

Take a reference when same_client_has_lease() selects an existing lease,
drop any previous match while scanning, and release the returned
reference in smb_grant_oplock() after copying the lease state.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The ksmbd module of the Linux kernel contains a use‑after‑free defect. The function same_client_has_lease() returns an opinfo pointer without taking a reference after releasing a lock. If smb_grant_oplock() later dereferences that stale pointer, a concurrent close can free the lease and drop the last reference, resulting in kernel memory corruption. This flaw is classified as CWE‑825 and can potentially allow arbitrary kernel memory corruption, which may lead to elevated privileges.

Affected Systems

The vulnerability is present in the Linux kernel’s ksmbd SMB server component. It affects any distribution that ships the ksmbd code unchanged. No specific kernel version range is given.

Risk and Exploitability

The advisory assigns a CVSS score of 8.8, indicating a high severity, while the EPSS score is reported as < 1%, suggesting a low likelihood of exploitation at present. The flaw is not listed in CISA KEV. Based on the description, it is inferred that a remote SMB client could trigger the flaw, giving the attacker a path to kernel memory corruption and, potentially, root privileges.

Generated by OpenCVE AI on August 22, 2026 at 03:00 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the ksmbd use‑after‑free fix.
  • Disable the ksmbd service or block SMB traffic from untrusted hosts until the patch is applied.
  • Enable kernel hardening features such as KASLR and signed module enforcement to raise the exploitation bar.
  • Monitor kernel logs for abnormal SMB or kernel activity and apply any interim mitigations released by the Linux community.

Generated by OpenCVE AI on August 22, 2026 at 03:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

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

None

threat_severity

Moderate


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in same_client_has_lease() same_client_has_lease() returns an opinfo pointer from ci->m_op_list after dropping ci->m_lock without taking a reference. smb_grant_oplock() then dereferences that pointer in copy_lease() and when checking breaking_cnt. A concurrent close can remove the old lease from ci->m_op_list and drop the last reference before the caller uses the returned pointer, leading to a use-after-free. Take a reference when same_client_has_lease() selects an existing lease, drop any previous match while scanning, and release the returned reference in smb_grant_oplock() after copying the lease state.
Title ksmbd: fix use-after-free in same_client_has_lease()
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:44:53.329Z

Reserved: 2026-08-09T03:40:39.936Z

Link: CVE-2026-72492

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:23.533

Modified: 2026-08-17T06:19:17.553

Link: CVE-2026-72492

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72492 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:15:04Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference