CVE-2022-20166 json
In various methods of kernel base drivers, there is a possible out of bounds write due to a heap buffer overflow.
published 2022-06-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-25426
- cvss
- 6.7
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
In various methods of kernel base drivers, there is a possible out of bounds write due to a heap buffer overflow. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-182388481References: Upstream kernel
Patch / fix
- linux Debian 14, Debian 13, Debian 12 5.10.4-1
debian advisories DEBIAN-CVE-2022-20166
- linux Ubuntu 20.04 LTS 5.4.0-105.119
- linux-aws Ubuntu 20.04 LTS 5.4.0-1069.73
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1068.72
- linux-gke Ubuntu 20.04 LTS 5.4.0-1066.69
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1018.20
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1059.62
- linux-azure Ubuntu 20.04 LTS 5.4.0-1073.76
- linux-gkeop Ubuntu 20.04 LTS 5.4.0-1037.38
ubuntu advisories UBUNTU-CVE-2022-20166
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-348.el8
- perf RHEL 8 4.18.0-348.el8
- bpftool RHEL 8 4.18.0-348.el8
- kernel-core RHEL 8 4.18.0-348.el8
- kernel-tools RHEL 8 4.18.0-348.el8
- python3-perf RHEL 8 4.18.0-348.el8
- kernel-modules RHEL 8 4.18.0-348.el8
- kernel-zfcpdump RHEL 8 4.18.0-348.el8
red hat advisories RHSA-2021:4356RHSA-2021:4140
- kernel-syms SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.129.1
- kernel-source SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.129.1
- kernel-default SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +8 more 5.3.18-150200.24.129.1
- kernel-preempt SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.129.1
- kernel-obs-build SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS +3 more 5.3.18-150200.24.129.1
- kernel-default-base SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 5.3.18-150200.24.129.1.150200.9.61.1
- kernel-syms SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.108.1
- kernel-source SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.108.1
suse advisories SUSE-SU-2023:0416-1SUSE-SU-2022:3450-1SUSE-SU-2022:3274-1SUSE-SU-2022:2910-1SUSE-SU-2022:2892-2SUSE-SU-2022:2892-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-20166 updated cvss 6.4
kernel: possible buffer overflow in sysfs reading
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-348.el8, kernel-debuginfo-common-aarch64 4.18.0-348.el8, kernel-debuginfo-common-ppc64le 4.18.0-348.el8 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-348.el8, kernel 4.18.0-348.el8, bpftool 4.18.0-348.el8, kernel-core 4.18.0-348.el8, kernel-tools 4.18.0-348.el8, python3-perf 4.18.0-348.el8, +15 morefixed: vendor fix RHSA-2021:4356
-
Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-348.rt7.130.el8, kernel-rt-core 4.18.0-348.rt7.130.el8, kernel-rt-modules 4.18.0-348.rt7.130.el8, kernel-rt-debug-core 4.18.0-348.rt7.130.el8, kernel-rt-debug-modules 4.18.0-348.rt7.130.el8, kernel-rt-modules-extra 4.18.0-348.rt7.130.el8, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-348.rt7.130.el8, kernel-rt-kvm 4.18.0-348.rt7.130.el8, kernel-rt-core 4.18.0-348.rt7.130.el8, kernel-rt-modules 4.18.0-348.rt7.130.el8, kernel-rt-debug-kvm 4.18.0-348.rt7.130.el8, kernel-rt-debug-core 4.18.0-348.rt7.130.el8, +4 morefixed: vendor fix RHSA-2021:4140
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- n/a Android
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
source.android.com
/security/bulletin/pixel/2022-06-01
patch, vendor-advisory
Sources
- CVE List CVE-2022-20166
- NVD CVE-2022-20166
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.