CVE-2026-52933
7.8high
io_uring/poll: fix signed comparison in io_poll_get_ownership()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 4% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3, from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before cf522703d4f194991615763697ae25a3f9539763, from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before fc47043f3d9af3efa407665b47f8378ec691ba18, from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before ea0697129807d718037f618221037aa0660ee3c5, from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before c6d191164dc81838d8dbf452a6000f68c558d1ae, from a26a35e9019fd70bf3cf647dcfdae87abc7bacea before 326941b22806cbf2df1fbfe902b7908b368cce42, 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048, bc4e6ee16778149811333a969a7a893d4cc110c5 and 3 more Not affected: before 6.1, from 6.1.175 up to 6.1.*, from 6.6.140 up to 6.6.*, from 6.12.86 up to 6.12.*, from 6.18.27 up to 6.18.*, from 7.0.4 up to 7.0.* | CVE List |
| linux linux_kernel | from 5.15.82 before 5.16, from 6.0.11 before 6.1, from 6.1.1 before 6.1.175, from 6.2 before 6.6.140, from 6.7 before 6.12.86, from 6.13 before 6.18.27, from 6.19 before 7.0.4, 6.1 | NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-52933 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-52933 changed 2026-11-10 | Public domain |