io_uring/poll: fix signed comparison in io_poll_get_ownership()
Summary
| CVE | CVE-2026-52933 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 08:16:23 UTC |
| Updated | 2026-07-08 15:28:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001200000 probability, percentile 0.021850000 (date 2026-07-09)
Problem Types: CWE-835
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea 81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 git | Not specified |
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea cf522703d4f194991615763697ae25a3f9539763 git | Not specified |
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea fc47043f3d9af3efa407665b47f8378ec691ba18 git | Not specified |
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea ea0697129807d718037f618221037aa0660ee3c5 git | Not specified |
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea c6d191164dc81838d8dbf452a6000f68c558d1ae git | Not specified |
| CNA | Linux | Linux | affected a26a35e9019fd70bf3cf647dcfdae87abc7bacea 326941b22806cbf2df1fbfe902b7908b368cce42 git | Not specified |
| CNA | Linux | Linux | affected 4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048 git | Not specified |
| CNA | Linux | Linux | affected bc4e6ee16778149811333a969a7a893d4cc110c5 git | Not specified |
| CNA | Linux | Linux | affected 5.15.82 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 6.0.11 6.1 semver | Not specified |
| CNA | Linux | Linux | affected 6.1 | Not specified |
| CNA | Linux | Linux | unaffected 6.1 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.140 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.86 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.27 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.4 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/fc47043f3d9af3efa407665b47f8378ec691ba18 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/81bf96b0abbfa4cd47ea32e12596aed3855fb2f3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ea0697129807d718037f618221037aa0660ee3c5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/cf522703d4f194991615763697ae25a3f9539763 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c6d191164dc81838d8dbf452a6000f68c558d1ae | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/326941b22806cbf2df1fbfe902b7908b368cce42 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.