Vulnerability · Published Sep 16, 2022 · Assigned by Google
CVE-2022-3176Use-after-free in io_uring in Linux Kernel
High 7.8
In plain English
A high-severity use-after-free in Kernel from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.17.3-1 | DEBIAN-CVE-2022-3176 |
| Debian:13 | linux | 5.17.3-1 | DEBIAN-CVE-2022-3176 |
| Debian:14 | linux | 5.17.3-1 | DEBIAN-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux | 5.15.0-50.56 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-50.56 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1021.25 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1021.25 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1021.26 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1021.26 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1024.30.1 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1019.25 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1019.25 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1017.20 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1017.20 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1004.6 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1004.6 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1015.17 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1015.17 | USN-5683-1 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1017.22 | USN-5703-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1017.22 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1019.23 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1019.23 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-50.56 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-50.56 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1015.15 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1019.24 | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1019.24 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1016.18 | USN-5667-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1016.18 | UBUNTU-CVE-2022-3176 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-3176 |
| Ubuntu:22.04:LTS | linux-riscv | 5.15.0-1020.23 | UBUNTU-CVE-2022-3176 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://kernel.dance/#fc78b2fc21f10c4c9c4d5d659a685710ffa63659
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?h=linux-5.4.y&id=fc78b2fc21f10c4c9c4d5d659a685710ffa63659
- DSA-5257 vendor-advisory
- [debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update mailing-list
- https://security.netapp.com/advisory/ntap-20230216-0003/