Vulnerability · Published Sep 21, 2022 · Assigned by mitre
CVE-2022-41222
High 7.0
In plain English
A high-severity use-after-free in the bpftool package (AlmaLinux). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.0High
Exploit odds (30 days)0.5%top 57.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
mm/mremap.c in the Linux kernel before 5.13.3 has a use-after-free via a stale TLB because an rmap lock is not held during a PUD move.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-core | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-debug | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-devel | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-doc | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-modules | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-rt | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-425.13.1.rt7.223.el8_7 | ALSA-2023:0854 |
| AlmaLinux:8 | kernel-tools | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | perf | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| AlmaLinux:8 | python3-perf | 4.18.0-425.13.1.el8_7 | ALSA-2023:0832 |
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2022-41222 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2022-41222 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2022-41222 |
| Rocky Linux:8 | kernel | 0:4.18.0-425.13.1.el8_7.cloud | RXSA-2023:0832 |
| Rocky Linux:8 | kernel | 0:4.18.0-425.13.1.el8_7 | RLSA-2023:0832 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-425.13.1.rt7.223.el8_7 | RLSA-2023:0854 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-41222 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-41222 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-41222 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13.3
- https://bugs.chromium.org/p/project-zero/issues/detail?id=2347
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=97113eb39fa7972722ff490b947d8af023e1f6a2
- http://packetstormsecurity.com/files/168466/Linux-Stable-5.4-5.10-Use-After-Free-Race-Condition.html
- [debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update mailing-list
- https://security.netapp.com/advisory/ntap-20230214-0008/
- http://packetstormsecurity.com/files/171005/Kernel-Live-Patch-Security-Notice-LNS-0091-1.html
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html