Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-72492

published high CVSS 3.1 · 8.8

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

Published
15 Aug 2026, 05:57:26 UTC
Updated
17 Aug 2026, 05:44:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 09634cd055d9bd8dd167995ea52bcd8028dd5dac · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7c3264d273d524aa6adcce23c01087271f13586f · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 79c7c59bb519db6f5a2a151965e825ec725614cc · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0ff82a9cf9312678d8bc4edeef0b6e82659ac12a · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 65b655f65c3ca1ab5d598d3832bb0ff531725858 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.212 through 5.15.* (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-cloud-tools-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-headers-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-tools-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-buildinfo-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-buildinfo-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1118 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1118 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-headers-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-headers-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1111 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1111 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-image-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-image-unsigned-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-195 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-195 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-195 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-modules-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-modules-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-modules-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-modules-extra-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-modules-extra-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-modules-extra-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

31

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - ksmbd is the in-kernel SMB server on TCP/445; the UAF is reached when a remote client sends SMB2_CREATE with a lease context, handled via ksmbd_conn_handler_loop() through smb2_open() and smb_grant_oplock() into same_client_has_lease(). AC:L - The attacker controls both sides of the race by holding a leased open on one SMB connection while concurrently issuing SMB2_CREATE (lease upgrade) and SMB2_CLOSE on another connection or channel; no victim-dependent timing or memory layout is required. PR:L - Exploitation requires a valid SMB2 session, tree connect, and share permission to open/close the target file with SMB3 leasing enabled; smb2_check_user_session() rejects SMB2_CREATE without SMB2_SESSION_VALID, so this is not reachable on pre-authentication negotiate/echo paths. UI:N - No victim interaction is required; the attacker drives all SMB2_CREATE and SMB2_CLOSE operations on their own client connection(s) to trigger the concurrent lease lookup and file close. S:U - Impact is kernel heap corruption and privilege escalation on the SMB server host within the ksmbd/kernel security authority; it does not cross a VM, container, or IOMMU boundary. C:H - Use-after-free of a freed oplock_info/lease object in copy_lease() reads attacker-influenced slab contents (level, lease state, keys, flags, epoch), enabling kernel memory disclosure and arbitrary-read primitive construction. I:H - The UAF dereferences freed oplock_info and embedded lease pointers during copy_lease() and breaking_cnt checks, enabling heap grooming and memory corruption exploitable for arbitrary write or control-flow hijack as root. A:H - Concurrent close can free the oplock_info before smb_grant_oplock() uses it, causing reliable kernel memory corruption, oops, or panic and repeatable remote denial of service against the server.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 09634cd055d9bd8dd167995ea52bcd8028dd5dac (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7c3264d273d524aa6adcce23c01087271f13586f (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 79c7c59bb519db6f5a2a151965e825ec725614cc (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 0ff82a9cf9312678d8bc4edeef0b6e82659ac12a (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 65b655f65c3ca1ab5d598d3832bb0ff531725858 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.212 through 5.15.* (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
abc59d35b4e33bc78dfc559e3e6148aa9b04b3a84ae2868eaf558a6b3a16fbd6
Ingested
23 Sep 2026, 09:30:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected