What’s Vulnerable › Vulnerabilities

CVE-2022-3176: Use-after-free in io_uring in Linux Kernel

Description

There exists a use-after-free in io_uring in the Linux kernel. Signalfd_poll() and binder_poll() use a waitqueue whose lifetime is the current task. It will send a POLLFREE notification to all waiters before the queue is freed. Unfortunately, the io_uring poll doesn't handle POLLFREE. This allows a use-after-free to occur if a signalfd or binder fd is polled with io_uring poll, and the waitqueue gets freed. We recommend upgrading past commit fc78b2fc21f10c4c9c4d5d659a685710ffa63659

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.141, 5.15.65, 5.17, 5.4.212. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-3176 or the next vulnerability affects your stack