CVE-2026-52933

io_uring/poll: fix signed comparison in io_poll_get_ownership()

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound
  • CWE-835 — Loop with Unreachable Exit Condition (Infinite Loop)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 ; affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < cf522703d4f194991615763697ae25a3f9539763 ; affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < fc47043f3d9af3efa407665b47f8378ec691ba18 ; affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < ea0697129807d718037f618221037aa0660ee3c5 ; affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < c6d191164dc81838d8dbf452a6000f68c558d1ae ; affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea < 326941b22806cbf2df1fbfe902b7908b368cce42
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.140 ≤ 6.6.* ; unaffected 6.12.86 ≤ 6.12.* ; unaffected 6.18.27 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD