Vulnerability · Published Dec 23, 2022 · Assigned by mitre
CVE-2022-47946
Medium 5.5
In plain English
A medium-severity use-after-free in the linux package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
An issue was discovered in the Linux kernel 5.10.x before 5.10.155. A use-after-free in io_sqpoll_wait_sq in fs/io_uring.c allows an attacker to crash the kernel, resulting in denial of service. finish_wait can be skipped. An attack can occur in some situations by forking a process and then quickly terminating it. NOTE: later kernel versions, such as the 5.15 longterm series, substantially changed the implementation of io_sqpoll_wait_sq.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2022-47946 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2022-47946 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2022-47946 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-47946 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://www.openwall.com/lists/oss-security/2022/12/22/2
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.161&id=0f544353fec8e717d37724d95b92538e1de79e86
- [oss-security] 20221227 Re: Linux kernel: use-after-free in io_sqpoll_wait_sq mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html