CVE-2026-52933 PUBLISHED

io_uring/poll: fix signed comparison in io_poll_get_ownership()

Assigner: Linux
Reserved: 09.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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

io_uring/poll: fix signed comparison in io_poll_get_ownership()

io_poll_get_ownership() uses a signed comparison to check whether poll_refs has reached the threshold for the slowpath:

<pre>if (unlikely(atomic_read(&req->poll_refs) >= IO_POLL_REF_BIAS)) </pre>

atomic_read() returns int (signed). When IO_POLL_CANCEL_FLAG (BIT(31)) is set in poll_refs, the value becomes negative in signed arithmetic, so the >= 128 comparison always evaluates to false and the slowpath is never taken.

Fix this by casting the atomic_read() result to unsigned int before the comparison, so that the cancel flag is treated as a large positive value and correctly triggers the slowpath.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 (excl.)
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to cf522703d4f194991615763697ae25a3f9539763 (excl.)
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to fc47043f3d9af3efa407665b47f8378ec691ba18 (excl.)
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to ea0697129807d718037f618221037aa0660ee3c5 (excl.)
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to c6d191164dc81838d8dbf452a6000f68c558d1ae (excl.)
  • affected from a26a35e9019fd70bf3cf647dcfdae87abc7bacea to 326941b22806cbf2df1fbfe902b7908b368cce42 (excl.)
  • Version 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048 is affected
  • Version bc4e6ee16778149811333a969a7a893d4cc110c5 is affected
  • affected from 5.15.82 to 5.16 (excl.)
  • affected from 6.0.11 to 6.1 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.1 is affected
  • unaffected from 0 to 6.1 (excl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.140 to 6.6.* (incl.)
  • unaffected from 6.12.86 to 6.12.* (incl.)
  • unaffected from 6.18.27 to 6.18.* (incl.)
  • unaffected from 7.0.4 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References