CVE-2026-52933

io_uring/poll: fix signed comparison in io_poll_get_ownership()

State
Published
Severity
7.8 High
Published
Jun 24, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
LinuxLinux
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3Affected
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before cf522703d4f194991615763697ae25a3f9539763Affected
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before fc47043f3d9af3efa407665b47f8378ec691ba18Affected
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before ea0697129807d718037f618221037aa0660ee3c5Affected
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before c6d191164dc81838d8dbf452a6000f68c558d1aeAffected
  • a26a35e9019fd70bf3cf647dcfdae87abc7bacea to before 326941b22806cbf2df1fbfe902b7908b368cce42Affected
  • 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048Affected
  • bc4e6ee16778149811333a969a7a893d4cc110c5Affected
  • 5.15.82 to before 5.16Affected
  • 6.0.11 to before 6.1Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.86 through 6.12.*Not affected
  • 6.18.27 through 6.18.*Not affected
  • 7.0.4 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.