Linux
ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close()
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb_lazy_parent_lease_break_close() opinfo pointer obtained via rcu_dereference(fp->f_opinfo) is being accessed after rcu_read_unlock() has been called. This creates a race condition where the memory could be freed by a concurrent writer between the unlock and the subsequent pointer dereferences (opinfo->is_lease, etc.), leading to a use-after-free.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 27b40b7bfcd121fe13a150ffe11957630cf49246, < bf4d66d72e4a9e268c1012c331ce9eaedb5e2086
- >= 5fb282ba4fef8985a5acf2b32681f2ec07732561, < 960699317d39f46611f4ebeb69edc567c1f4e6b6
- >= 5fb282ba4fef8985a5acf2b32681f2ec07732561, < dbbd328cf58261ca239756fe1c0d10c9518d3399
- >= 5fb282ba4fef8985a5acf2b32681f2ec07732561, < b3568347c51c46e2cabc356bc34676df98296619
- >= 5fb282ba4fef8985a5acf2b32681f2ec07732561, < eac3361e3d5dd8067b3258c69615888eb45e9f25
- >= 6.6.32, < 6.6.130
Fixed in bf4d66d72e4a9e268c1012c331ce9eaedb5e2086, 960699317d39f46611f4ebeb69edc567c1f4e6b6, dbbd328cf58261ca239756fe1c0d10c9518d3399, b3568347c51c46e2cabc356bc34676df98296619, eac3361e3d5dd8067b3258c69615888eb45e9f25, 6.6.130
- 6.9
Fixed in 0, 6.6.130, 6.12.78, 6.18.19, 6.19.9, 7.0
Mitigation
Upgrade Linux to bf4d66d72e4a9e268c1012c331ce9eaedb5e2086 or 960699317d39f46611f4ebeb69edc567c1f4e6b6 or dbbd328cf58261ca239756fe1c0d10c9518d3399 or b3568347c51c46e2cabc356bc34676df98296619 or eac3361e3d5dd8067b3258c69615888eb45e9f25 or 6.6.130 or later.
Upgrade Linux to 0 or 6.6.130 or 6.12.78 or 6.18.19 or 6.19.9 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.