CVE-2026-99265 PUBLISHED

io_uring/openclose: keep the lock in io_pipe_fixed()

Assigner: Linux
Reserved: 25.09.2026 Published: 03.11.2026 Updated: 03.11.2026

In the Linux kernel, the following vulnerability has been resolved:

io_uring/openclose: keep the lock in io_pipe_fixed()

io_pipe_fixed() installs both ends of the pipe in the fixed file table, drops ->uring_lock, and copies the slot numbers to the application. If that faults, it takes the lock again and removes whatever is in these slots.

If the request is run by io-wq the lock really is dropped in between, and the slots are visible to everybody else. By the time the error path gets to them, they may have been closed and reused, by IORING_OP_CLOSE and a direct open or accept, or by IORING_REGISTER_FILES_UPDATE. Then a file is removed from the table that has nothing to do with the failed request.

Do the copy with the lock held. Faulting in user memory under ->uring_lock is fine, the registration paths do it all the time.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 53db8a71ecb42c2ec5e9c6925269a750255f9af5 to b4b7b2d19dab611f3cf3d052aa19278e7e4c4683 (excl.)
  • affected from 53db8a71ecb42c2ec5e9c6925269a750255f9af5 to 7299a32764ab875443b58581d929027954dcf24c (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.18.60 to 6.18.* (incl.)
  • unaffected from 7.2.14 to 7.2.* (incl.)

References