Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'io_uring-5.19-2022-07-09' of git://git.kernel.dk/linux-block

Pull io_uring fix from Jens Axboe:
"A single fix for an issue that came up yesterday that we should plug
for -rc6.

This is a regression introduced in this cycle"

* tag 'io_uring-5.19-2022-07-09' of git://git.kernel.dk/linux-block:
io_uring: check that we have a file table when allocating update slots

+3
+3
fs/io_uring.c
··· 7973 7973 struct file *file; 7974 7974 int ret, fd; 7975 7975 7976 + if (!req->ctx->file_data) 7977 + return -ENXIO; 7978 + 7976 7979 for (done = 0; done < req->rsrc_update.nr_args; done++) { 7977 7980 if (copy_from_user(&fd, &fds[done], sizeof(fd))) { 7978 7981 ret = -EFAULT;