aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorHenry Hu <huhai@kylinos.cn>2026-09-12 00:35:15 +0800
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-21 08:55:13 +0900
commit2c50a4a5e75db55880eca43c035649cb51fcb52a (patch)
tree44178d0a25425da01b3c5c4ea320567ee0285785 /scripts/Makefile.thinlto
parentksmbd: fix unlocked IPv6 addr_list walk in fsctl_query_iface_info_ioctl() (diff)
ksmbd: fix invalid Next offset in interface info replies
fsctl_query_iface_info_ioctl() assigns nii_rsp to the next output slot before checking whether the interface has an in_device or inet6_dev. If either lookup returns NULL, the loop continues without advancing nbytes, leaving nii_rsp pointing at an uncommitted slot. If no later entry is committed, clearing nii_rsp->Next updates that slot instead of the last returned entry, leaving the latter with a nonzero Next offset. Fix this by using nbytes to locate the last committed entry and clear its Next field, but only when the response contains at least one entry. Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Reported-by: Sashiko <sashiko-bot+sashiko@kernel.org> Link: https://sashiko.dev/#/patchset/20260910090818.24479-1-15815827059%40163.com Signed-off-by: Henry Hu <huhai@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions