Integer overflow in Linux

CVE-2026-52933

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:

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

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.001, 4.1th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions a26a35e9019fd70bf3cf647dcfdae87abc7bacea, 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048, bc4e6ee16778149811333a969a7a893d4cc110c5
  • Linux Kernel — versions 6.1

Weakness classification (CWE)

References