Re: FAILED: patch "[PATCH] io_uring/rw: fix missing ERESTARTSYS conversion in read paths" failed to apply to 6.12-stable tree
Sasha Levin <[email protected]>
| Newsgroups | org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 29, 2026 at 10:35:51AM -0600, Jens Axboe wrote: >Seems that's already in 6.12-stable? Not quite - stable/linux-6.12.y has no io_fixup_restart_res() at all. What 6.12 does already have is the older inline ERESTART* -> -EINTR switch inside io_rw_done(), which is the code ab05caca123c refactors rather than the fix itself. The actual bug is still there: io_read() ends with a bare "return ret;" after __io_read(), and io_read_mshot()'s "ret <= 0" branch only does req_set_fail(), so an -ERESTARTSYS coming out of __io_read() reaches userspace as -512 unconverted. -- Thanks, Sasha