CVE-2026-23473 PUBLISHED

io_uring/poll: fix multishot recv missing EOF on wakeup race

Assigner: Linux
Reserved: 13.01.2026 Published: 03.04.2026 Updated: 03.04.2026

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

io_uring/poll: fix multishot recv missing EOF on wakeup race

When a socket send and shutdown() happen back-to-back, both fire wake-ups before the receiver's task_work has a chance to run. The first wake gets poll ownership (poll_refs=1), and the second bumps it to 2. When io_poll_check_events() runs, it calls io_poll_issue() which does a recv that reads the data and returns IOU_RETRY. The loop then drains all accumulated refs (atomic_sub_return(2) -> 0) and exits, even though only the first event was consumed. Since the shutdown is a persistent state change, no further wakeups will happen, and the multishot recv can hang forever.

Check specifically for HUP in the poll loop, and ensure that another loop is done to check for status if more than a single poll activation is pending. This ensures we don't lose the shutdown event.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from dbc2564cfe0faff439dc46adb8c009589054ea46 to 0f4ce79b8db7b040373fc664c8bc6c5fd74bd196 (excl.)
  • affected from dbc2564cfe0faff439dc46adb8c009589054ea46 to bf33554b6abf7e7faeadd8af1b82037ea755a6bb (excl.)
  • affected from dbc2564cfe0faff439dc46adb8c009589054ea46 to a68ed2df72131447d131531a08fe4dfcf4fa4653 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.19 is affected
  • unaffected from 0 to 5.19 (excl.)
  • unaffected from 6.18.20 to 6.18.* (incl.)
  • unaffected from 6.19.10 to 6.19.* (incl.)
  • unaffected from 7.0-rc5 to * (incl.)

References