summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2026-07-12 08:51:54 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-08-17 15:00:45 +0900
commitcb946cd133f7958da4a62a102cf560de4857b2dc (patch)
treeca8ec11a3e9ea5133e830e1a1bba033392b92974 /scripts/patch-kernel
parent96db370817d5f21a1dc10efb2210db05163f312e (diff)
downloadlinux-cb946cd133f7958da4a62a102cf560de4857b2dc.tar.gz
linux-cb946cd133f7958da4a62a102cf560de4857b2dc.zip
ksmbd: validate file ids for query network interface info
FSCTL_QUERY_NETWORK_INTERFACE_INFO is not tied to an open file handle. Clients send SMB2_NO_FID for both file id fields when issuing this request. Reject requests that provide any other file id before checking the output buffer size. This returns STATUS_INVALID_PARAMETER for invalid file ids instead of treating the request as valid or reporting STATUS_BUFFER_TOO_SMALL for a small output buffer. Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions