CVE-2026-72492

Source
https://cve.org/CVERecord?id=CVE-2026-72492
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72492.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-72492
Downstream
Published
2026-08-15T05:57:26.967Z
Modified
2026-08-16T03:48:43.374212351Z
Summary
ksmbd: fix use-after-free in same_client_has_lease()
Details

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

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

sameclienthaslease() returns an opinfo pointer from ci->moplist after dropping ci->mlock without taking a reference.

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

Take a reference when sameclienthaslease() selects an existing lease, drop any previous match while scanning, and release the returned reference in smbgrant_oplock() after copying the lease state.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72492.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Fixed
aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0
Fixed
09634cd055d9bd8dd167995ea52bcd8028dd5dac
Fixed
7c3264d273d524aa6adcce23c01087271f13586f
Fixed
79c7c59bb519db6f5a2a151965e825ec725614cc
Fixed
35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d
Fixed
0ff82a9cf9312678d8bc4edeef0b6e82659ac12a
Fixed
65b655f65c3ca1ab5d598d3832bb0ff531725858

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72492.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72492.json"