summaryrefslogtreecommitdiff
path: root/include/linux/node.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-03-02 06:55:02 +0300
committerSteve French <stfrench@microsoft.com>2026-03-09 05:28:39 +0300
commiteac3361e3d5dd8067b3258c69615888eb45e9f25 (patch)
tree6f7dd6cdc9767fe52894d1b53432969f90f8d24c /include/linux/node.h
parent1dfd062caa165ec9d7ee0823087930f3ab8a6294 (diff)
downloadlinux-eac3361e3d5dd8067b3258c69615888eb45e9f25.tar.xz
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. Fixes: 5fb282ba4fef ("ksmbd: fix possible null-deref in smb_lazy_parent_lease_break_close") Cc: stable@vger.kernel.org Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/node.h')
0 files changed, 0 insertions, 0 deletions