io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bdb7d2ec2e31c46c45d1f32667dfa8216a72705e and Kernel d871198ee431d90f5308d53998c1ba1d5db5619a.
In the Linux kernel, the following vulnerability has been resolved: io_uring/fdinfo: grab ctx->uring_lock around io_uring_show_fdinfo() Not everything requires locking in there, which is why the 'has_lock' variable exists. But enough does that it's a bit unwieldy to manage. Wrap the whole thing in a ->uring_lock trylock, and just return with no output if we fail to grab it. The existing trylock() will already have greatly diminished utility/output for the failure case. This fixes an issue with reading the SQE fields, if the ring is being actively resized at the same time.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 <bdb7d2ec2e31c46c45d1f32667dfa8216a72705e, >=79cfe9e59c2a12c3b3faeeefe38d23f3d8030972 <d871198ee431d90f5308d53998c1ba1d5db5619a | bdb7d2ec2e31c46c45d1f32667dfa8216a72705e, d871198ee431d90f5308d53998c1ba1d5db5619a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket