{"id":"CVE-2026-72492","aliases":["CVE-2026-72492"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix use-after-free in same_client_has_lease()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in same_client_has_lease()\n\nsame_client_has_lease() returns an opinfo pointer from ci->m_op_list\nafter dropping ci->m_lock without taking a reference.\n\nsmb_grant_oplock() then dereferences that pointer in copy_lease() and\nwhen checking breaking_cnt. A concurrent close can remove the old lease\nfrom ci->m_op_list and drop the last reference before the caller uses\nthe returned pointer, leading to a use-after-free.\n\nTake a reference when same_client_has_lease() selects an existing lease,\ndrop any previous match while scanning, and release the returned\nreference in smb_grant_oplock() after copying the lease state.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix use-after-free in same_client_has_lease()\n\nsame_client_has_lease() returns an opinfo pointer from ci->m_op_list\nafter dropping ci->m_lock without taking a reference.\n\nsmb_grant_oplock() then dereferences that pointer in copy_lease() and\nwhen checking breaking_cnt. A concurrent close can remove the old lease\nfrom ci->m_op_list and drop the last reference before the caller uses\nthe returned pointer, leading to a use-after-free.\n\nTake a reference when same_client_has_lease() selects an existing lease,\ndrop any previous match while scanning, and release the returned\nreference in smb_grant_oplock() after copying the lease state.","source":"cvelist"}],"published":"2026-08-15T05:57:26.967Z","modified":"2026-08-17T06:19:17.553Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"09634cd055d9bd8dd167995ea52bcd8028dd5dac","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"7c3264d273d524aa6adcce23c01087271f13586f","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"79c7c59bb519db6f5a2a151965e825ec725614cc","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"0ff82a9cf9312678d8bc4edeef0b6e82659ac12a","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"65b655f65c3ca1ab5d598d3832bb0ff531725858","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09634cd055d9bd8dd167995ea52bcd8028dd5dac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c3264d273d524aa6adcce23c01087271f13586f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79c7c59bb519db6f5a2a151965e825ec725614cc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ff82a9cf9312678d8bc4edeef0b6e82659ac12a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65b655f65c3ca1ab5d598d3832bb0ff531725858","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72492","url":"https://www.cve.org/CVERecord?id=CVE-2026-72492","licence":"CVE Terms of Use","modified":"2026-08-17T05:44:53.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72492","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72492","licence":"Public domain","modified":"2026-08-17T06:19:17.553Z"}],"updatedAt":"2026-11-25T22:59:33.141Z","epss":{"score":0.00477,"percentile":0.42823,"date":"2026-12-01T12:00:22.000Z"}}