diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-06-21 19:39:59 +0900 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-06-22 20:15:05 -0500 |
| commit | 7d258465ea49d82668f52de96f3f0c84727003e4 (patch) | |
| tree | 549ccd7d6c18dd05a69a48f7f811262f49e1923d /scripts/sbom/git@git.tavy.me:linux-stable.git | |
| parent | 3f67e624e591747c2b2c9c607a76d79f7ffdcabc (diff) | |
ksmbd: validate handle for create or get object id
FSCTL_CREATE_OR_GET_OBJECT_ID returned a dummy successful response without
checking whether the request handle was valid. That let an invalid related
compound handle succeed in smb2.compound.related5, although the client
expected STATUS_FILE_CLOSED.
Look up the file handle before building the object id response and fail
with STATUS_FILE_CLOSED when the handle is invalid or already closed.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
