io_uring/poll: fix signed comparison in io_poll_get_ownership()
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.
CVE-2026-52933
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-52933
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "81bf96b0abbfa4cd47ea32e12596aed3855fb2f3",
"versionType": "git"
},
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "cf522703d4f194991615763697ae25a3f9539763",
"versionType": "git"
},
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "fc47043f3d9af3efa407665b47f8378ec691ba18",
"versionType": "git"
},
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "ea0697129807d718037f618221037aa0660ee3c5",
"versionType": "git"
},
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "c6d191164dc81838d8dbf452a6000f68c558d1ae",
"versionType": "git"
},
{
"status": "affected",
"version": "a26a35e9019fd70bf3cf647dcfdae87abc7bacea",
"lessThan": "326941b22806cbf2df1fbfe902b7908b368cce42",
"versionType": "git"
},
{
"status": "affected",
"version": "4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048",
"versionType": "git"
},
{
"status": "affected",
"version": "bc4e6ee16778149811333a969a7a893d4cc110c5",
"versionType": "git"
},
{
"status": "affected",
"version": "5.15.82",
"lessThan": "5.16",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.0.11",
"lessThan": "6.1",
"versionType": "semver"
}
],
"programFiles": [
"io_uring/poll.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.175",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.140",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.86",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.27",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.4",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"io_uring/poll.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-52933
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #40703 · Revision 1
- Added to Heist Feed
- Publisher date