Re: [PATCH] fs/io_uring.c: Fix uninitialized variable is referenced in io_submit_sqe

2020-08-13 Thread Jens Axboe
On 8/13/20 12:56 AM, Liu Yong wrote: > the commit ("opcode>") > caused another vulnerability. After io_get_req(), the sqe_submit struct > in req is not initialized, but the following code defaults that > req->submit.opcode is available. Thanks, I'll add this for 5.4-stable, it doesn't affect a

[PATCH] fs/io_uring.c: Fix uninitialized variable is referenced in io_submit_sqe

2020-08-12 Thread Liu Yong
the commit ("opcode>") caused another vulnerability. After io_get_req(), the sqe_submit struct in req is not initialized, but the following code defaults that req->submit.opcode is available. Signed-off-by: Liu Yong --- fs/io_uring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/io_