{"id":"CVE-2026-72492","published":"2026-08-15T05:57:26Z","modified":"2026-08-17T05:44:53Z","title":"ksmbd: fix use-after-free in same_client_has_lease()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.45476,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0","tags":[]},{"url":"https://git.kernel.org/stable/c/09634cd055d9bd8dd167995ea52bcd8028dd5dac","tags":[]},{"url":"https://git.kernel.org/stable/c/7c3264d273d524aa6adcce23c01087271f13586f","tags":[]},{"url":"https://git.kernel.org/stable/c/79c7c59bb519db6f5a2a151965e825ec725614cc","tags":[]},{"url":"https://git.kernel.org/stable/c/35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d","tags":[]},{"url":"https://git.kernel.org/stable/c/0ff82a9cf9312678d8bc4edeef0b6e82659ac12a","tags":[]},{"url":"https://git.kernel.org/stable/c/65b655f65c3ca1ab5d598d3832bb0ff531725858","tags":[]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < aaa3bb2bbf2ccbfea9e4e0b9dabf3afc60b50cd0",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 09634cd055d9bd8dd167995ea52bcd8028dd5dac",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 7c3264d273d524aa6adcce23c01087271f13586f",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 79c7c59bb519db6f5a2a151965e825ec725614cc",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 35d3d6ff2bc1e7aaecb15d5377ebbd6227acae0d",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 0ff82a9cf9312678d8bc4edeef0b6e82659ac12a",">= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 65b655f65c3ca1ab5d598d3832bb0ff531725858"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2026-59391","exploited":false,"provenance":"source"}}