diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-16 18:51:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 14:07:39 +0300 |
commit | 21162ad2de7446438cbd6224b3794a375bcb24df (patch) | |
tree | 042160cd8edfa2a1584c7591e7d10b96b18f7bce /.mailmap | |
parent | 89f0cf6ac620c54bc3df2eec1d1d4f239506525d (diff) | |
download | linux-21162ad2de7446438cbd6224b3794a375bcb24df.tar.xz |
io_uring: clear opcode specific data for an early failure
[ Upstream commit e21e1c45e1fe2e31732f40256b49c04e76a17cee ]
If failure happens before the opcode prep handler is called, ensure that
we clear the opcode specific area of the request, which holds data
specific to that request type. This prevents errors where opcode
handlers either don't get to clear per-request private data since prep
isn't even called.
Reported-and-tested-by: syzbot+f8e9a371388aa62ecab4@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions