Description
In various functions of the USB gadget subsystem, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-213172319References: Upstream kernel
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Android | Android kernel | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | linux-vmware | No fix yet | — |
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 20.04 LTS | linux | 5.4.0-110.124 | — |
| Ubuntu 20.04 LTS | linux-aws +1 | 5.4.0-1073.78 | — |
| Ubuntu 20.04 LTS | linux-aws-5.13 | 5.13.0-1023.25~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-azure | 5.4.0-1078.81 | — |
| Ubuntu 20.04 LTS | linux-azure-5.13 | 5.13.0-1023.27~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-bluefield | 5.4.0-1040.44 | — |
| Ubuntu 20.04 LTS | linux-gcp-5.13 | 5.13.0-1025.30~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-gke | 5.4.0-1071.76 | — |
| Ubuntu 20.04 LTS | linux-gkeop | 5.4.0-1040.41 | — |
| Ubuntu 20.04 LTS | linux-hwe-5.13 | 5.13.0-41.46~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-ibm | 5.4.0-1021.23 | — |
| Ubuntu 20.04 LTS | linux-intel-iotg-5.15 | 5.15.0-1008.11~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-iot | 5.4.0-1004.6 | — |
| Ubuntu 20.04 LTS | linux-kvm | 5.4.0-1063.66 | — |
| Ubuntu 20.04 LTS | linux-oem-5.14 | 5.14.0-1027.30 | — |
| Ubuntu 20.04 LTS | linux-oracle | 5.4.0-1071.77 | — |
| Ubuntu 20.04 LTS | linux-oracle-5.13 | 5.13.0-1028.33~20.04.1 | — |
| Ubuntu 20.04 LTS | linux-raspi | 5.4.0-1060.68 | — |
| Ubuntu 20.04 LTS | linux-riscv +17 | No fix yet | — |
| Ubuntu 18.04 LTS | linux | 4.15.0-177.186 | — |
| Ubuntu 18.04 LTS | linux-aws | 4.15.0-1128.137 | — |
| Ubuntu 18.04 LTS | linux-aws-5.4 | 5.4.0-1075.80~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-azure-4.15 | 4.15.0-1138.151 | — |
| Ubuntu 18.04 LTS | linux-azure-5.4 | 5.4.0-1078.81~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-dell300x | 4.15.0-1042.47 | — |
| Ubuntu 18.04 LTS | linux-gcp +12 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp-4.15 | 4.15.0-1122.136 | — |
| Ubuntu 18.04 LTS | linux-gcp-5.4 | 5.4.0-1073.78~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-gke-5.4 | 5.4.0-1071.76~18.04.3 | — |
| Ubuntu 18.04 LTS | linux-gkeop-5.4 | 5.4.0-1040.41~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-hwe-5.4 | 5.4.0-110.124~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-ibm-5.4 | 5.4.0-1021.23~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-kvm | 4.15.0-1114.117 | — |
| Ubuntu 18.04 LTS | linux-oracle | 4.15.0-1093.102 | — |
| Ubuntu 18.04 LTS | linux-oracle-5.4 | 5.4.0-1071.77~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi-5.4 | 5.4.0-1060.68~18.04.1 | — |
| Ubuntu 18.04 LTS | linux-raspi2 | 4.15.0-1109.116 | — |
| Ubuntu 18.04 LTS | linux-snapdragon | 4.15.0-1127.136 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro FIPS 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 18.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS 16.04 LTS | linux-fips | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-aws-fips +1 | 5.4.0-1073.78+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-azure-fips | 5.4.0-1078.81+fips1 | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips | 5.4.0-1049.55 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-aws-fips | 4.15.0-2067.70 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-azure-fips | 4.15.0-2049.53 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-fips | 4.15.0-1085.94 | — |
| Ubuntu Pro FIPS-updates 18.04 LTS | linux-gcp-fips | 4.15.0-2032.35 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | linux-fips | 4.4.0-1080.87 | — |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | 5.15.0-1114.123~20.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux | 4.4.0-230.264 | — |
| Ubuntu Pro 16.04 LTS | linux-aws | 4.4.0-1146.161 | — |
| Ubuntu Pro 16.04 LTS | linux-aws-hwe | 4.15.0-1128.137~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1138.151~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-gcp | 4.15.0-1122.136~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-177.186~16.04.1 | — |
| Ubuntu Pro 16.04 LTS | linux-kvm | 4.4.0-1111.121 | — |
| Ubuntu Pro 16.04 LTS | linux-oracle | 4.15.0-1093.102~16.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux | No fix yet | — |
| Ubuntu Pro 14.04 LTS | linux-aws | 4.4.0-1110.116 | — |
| Ubuntu Pro 14.04 LTS | linux-azure | 4.15.0-1138.151~14.04.1 | — |
| Ubuntu Pro 14.04 LTS | linux-lts-xenial | 4.4.0-230.264~14.04.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
szymonh/android-gadget ★ 5 · Aug 6, 2023
CVE-2022-20009 - Description and sample exploit for Android USB Gadgets
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.