Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 27b40b7bfcd121fe13a150ffe11957630cf49246 before bf4d66d72e4a9e268c1012c331ce9eaedb5e2086; affected 5fb282ba4fef8985a5acf2b32681f2ec07732561 before 960699317d39f46611f4ebeb69edc567c1f4e6b6; affected 5fb282ba4fef8985a5acf2b32681f2ec07732561 before dbbd328cf58261ca239756fe1c0d10c9518d3399; affected 5fb282ba4fef8985a5acf2b32681f2ec07732561 before b3568347c51c46e2cabc356bc34676df98296619; affected 5fb282ba4fef8985a5acf2b32681f2ec07732561 before eac3361e3d5dd8067b3258c69615888eb45e9f25; affected 6.6.32 before 6.6.130 |
| Linux / Linux | affected 6.9; unaffected 0 before 6.9; unaffected 6.6.130 through 6.6.*; unaffected 6.12.78 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bf4d66d72e4a9e268c1012c331ce9eaedb5e2086
- https://git.kernel.org/stable/c/960699317d39f46611f4ebeb69edc567c1f4e6b6
- https://git.kernel.org/stable/c/dbbd328cf58261ca239756fe1c0d10c9518d3399
- https://git.kernel.org/stable/c/b3568347c51c46e2cabc356bc34676df98296619
- https://git.kernel.org/stable/c/eac3361e3d5dd8067b3258c69615888eb45e9f25