aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/mt6358/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-02-01 15:23:42 +0300
committerJens Axboe <axboe@kernel.dk>2021-02-01 11:56:41 -0700
commit13770a71ed35512cc73c6b350297a797f0b27880 (patch)
tree187ba85ec28682e4c620221c98068498b74066ac /include/linux/mfd/mt6358/ssh:/git@git.zx2c4.com/git:
parentio_uring: check kthread parked flag before sqthread goes to sleep (diff)
io_uring: Fix NULL dereference in error in io_sqe_files_register()
If we hit a "goto out_free;" before the "ctx->file_data" pointer has been assigned then it leads to a NULL derefence when we call: free_fixed_rsrc_data(ctx->file_data); We can fix this by moving the assignment earlier. Fixes: 1ad555c6ae6e ("io_uring: create common fixed_rsrc_data allocation routines") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/mfd/mt6358/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions