io_uring/poll: avoid retry wakeup loss when dropping ownership
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.16, Kernel 6.1, Kernel 41fae2e9e1fa3bee86aee0a25ba90e59ce5024bf and 6 more.
In the Linux kernel, the following vulnerability has been resolved: io_uring/poll: avoid retry wakeup loss when dropping ownership If a wakeup sets IO_POLL_RETRY_FLAG between the owning task consuming the existing instance of IO_POLL_RETRY_FLAG and the loop check of io_poll_check_events(), then we stall on processing the request until an unrelated wakeup comes along. Using atomic_cmpxchg instead of atomic_sub_return to guarantee both the count v and poll_refs are 0 and no wake-ups are missed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4b702b7d11ce1b9d26fc6d7c5a7ef4ac1d455048, =6.1, =bc4e6ee16778149811333a969a7a893d4cc110c5, >=5.15.82 <5.16, >=6.0.11 <6.1, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <41fae2e9e1fa3bee86aee0a25ba90e59ce5024bf, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <4ef685b8505615729d75c875f52822238bf76ca6, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <521e8a65e9b45532295ba1082ef12be6e80c173b, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <937d38dcacd675dc0572d6c9b6743960df3128ed, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <afa407c02f3aa0fd872f86c9bf1b34502e0fa8f0, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <d1f6850086ac6f8b0fa44fb19aa2a468c73ee071, >=a26a35e9019fd70bf3cf647dcfdae87abc7bacea <eb2a50d8235e4580fea9aa20f3fbe1a002c38cb1 | 5.16, 6.1, 41fae2e9e1fa3bee86aee0a25ba90e59ce5024bf, 4ef685b8505615729d75c875f52822238bf76ca6, 521e8a65e9b45532295ba1082ef12be6e80c173b, 937d38dcacd675dc0572d6c9b6743960df3128ed, afa407c02f3aa0fd872f86c9bf1b34502e0fa8f0, d1f6850086ac6f8b0fa44fb19aa2a468c73ee071, eb2a50d8235e4580fea9aa20f3fbe1a002c38cb1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket