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-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux

Pull io_uring fixes from Jens Axboe:
"Just two minor patches in here, ensuring the use of READ_ONCE() for
sqe field reading is consistent across the codebase. There were two
missing cases, now they are covered too"

* tag 'io_uring-7.0-20260227' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux:
io_uring/timeout: READ_ONCE sqe->addr
io_uring/cmd_net: use READ_ONCE() for ->addr3 read

+3 -3
+1 -1
io_uring/cmd_net.c
··· 146 146 return -EINVAL; 147 147 148 148 uaddr = u64_to_user_ptr(READ_ONCE(sqe->addr)); 149 - ulen = u64_to_user_ptr(sqe->addr3); 149 + ulen = u64_to_user_ptr(READ_ONCE(sqe->addr3)); 150 150 peer = READ_ONCE(sqe->optlen); 151 151 if (peer > 1) 152 152 return -EINVAL;
+2 -2
io_uring/timeout.c
··· 462 462 tr->ltimeout = true; 463 463 if (tr->flags & ~(IORING_TIMEOUT_UPDATE_MASK|IORING_TIMEOUT_ABS)) 464 464 return -EINVAL; 465 - if (get_timespec64(&tr->ts, u64_to_user_ptr(sqe->addr2))) 465 + if (get_timespec64(&tr->ts, u64_to_user_ptr(READ_ONCE(sqe->addr2)))) 466 466 return -EFAULT; 467 467 if (tr->ts.tv_sec < 0 || tr->ts.tv_nsec < 0) 468 468 return -EINVAL; ··· 557 557 data->req = req; 558 558 data->flags = flags; 559 559 560 - if (get_timespec64(&data->ts, u64_to_user_ptr(sqe->addr))) 560 + if (get_timespec64(&data->ts, u64_to_user_ptr(READ_ONCE(sqe->addr)))) 561 561 return -EFAULT; 562 562 563 563 if (data->ts.tv_sec < 0 || data->ts.tv_nsec < 0)