diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2025-07-08 07:47:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-17 18:37:24 +0200 |
commit | 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477 (patch) | |
tree | ac97c3f9895080f0f6f9db7bb34abcb12846bebe /fs/jbd/commit.c | |
parent | 2d89dab1ea6086e6cbe6fe92531b496fb6808cb9 (diff) |
ksmbd: fix potential use-after-free in oplock/lease break ack
commit 50f930db22365738d9387c974416f38a06e8057e upstream.
If ksmbd_iov_pin_rsp return error, use-after-free can happen by
accessing opinfo->state and opinfo_put and ksmbd_fd_put could
called twice.
Reported-by: Ziyan Xu <research@securitygossip.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions