Vulnerability · Published Jan 14, 2022 · Assigned by mitre
CVE-2022-23222
High 7.8
In plain English
A high-severity security flaw in the bpftool package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.9%top 20.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
kernel/bpf/verifier.c in the Linux kernel through 5.15.14 allows local users to gain privileges because of the availability of pointer arithmetic via certain *_OR_NULL pointer types.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-rt | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-core | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-core | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-devel | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-kvm | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-modules | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-debug-modules-extra | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-devel | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-kvm | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-modules | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-rt-modules-extra | 4.18.0-553.rt7.342.el8_10 | ALSA-2024:2950 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | perf | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| AlmaLinux:8 | python3-perf | 4.18.0-553.el8_10 | ALSA-2024:3138 |
| Debian:12 | linux | 5.15.15-1 | DEBIAN-CVE-2022-23222 |
| Debian:13 | linux | 5.15.15-1 | DEBIAN-CVE-2022-23222 |
| Debian:14 | linux | 5.15.15-1 | DEBIAN-CVE-2022-23222 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.123.1.el8_10.cloud.0.1 | RXSA-2024:3138 |
| Rocky Linux:8 | kernel | 0:4.18.0-553.el8_10 | RLSA-2024:3138 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-553.rt7.342.el8_10 | RLSA-2024:2950 |
Affected products (as reported)
References
- https://www.openwall.com/lists/oss-security/2022/01/13/1
- [oss-security] 20220114 Re: Linux Kernel eBPF Improper Input Validation Vulnerability mailing-list
- [oss-security] 20220118 Re: Linux Kernel eBPF Improper Input Validation Vulnerability mailing-list
- DSA-5050 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220217-0002/
- FEDORA-2022-952bb7b856 vendor-advisory
- FEDORA-2022-edbd74424e vendor-advisory
- [oss-security] 20220601 Re: Linux Kernel eBPF Improper Input Validation Vulnerability mailing-list
- [oss-security] 20220604 Re: Linux Kernel eBPF Improper Input Validation Vulnerability mailing-list
- [oss-security] 20220607 Re: Linux Kernel eBPF Improper Input Validation Vulnerability mailing-list
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=64620e0a1e712a778095bd35cbb277dc2259281f
- https://bugzilla.suse.com/show_bug.cgi?id=1194765