CVE-2021-0512
Reported by google_android · Published June 21, 2021
In __hidinput_change_resolution_multipliers of hid-input.c, there is a possible out of bounds write due to a heap buffer overflow. 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-173843328References: Upstream kernel
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-gkeop | Ubuntu:20.04:LTS | 5.4.0-1013.14 |
| linux-aws | Ubuntu:18.04:LTS | 4.15.0-1102.109 |
| linux-dell300x | Ubuntu:18.04:LTS | 4.15.0-1018.22 |
| linux-gcp-4.15 | Ubuntu:18.04:LTS | 4.15.0-1099.112 |
| linux-aws-fips | Ubuntu:Pro:FIPS-updates:20.04:LTS | 5.4.0-1069.73+fips2 |
| linux-gcp | Ubuntu:20.04:LTS | 5.4.0-1041.44 |
| linux-snapdragon | Ubuntu:18.04:LTS | 4.15.0-1102.111 |
| linux-gcp | Ubuntu:Pro:16.04:LTS | 4.15.0-1099.112~16.04.1 |
| linux-oracle | Ubuntu:18.04:LTS | 4.15.0-1071.79 |
| linux-aws-fips | Ubuntu:Pro:FIPS-updates:18.04:LTS | 4.15.0-2044.46 |
| linux-aws | Ubuntu:20.04:LTS | 5.4.0-1043.45 |
| linux-gke | Ubuntu:20.04:LTS | 5.4.0-1041.43 |
14 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Android | Android kernel |
| n/a | Android | * |
Timeline
- Jun 8, 2021 CVE Published
- Jun 22, 2021 EPSS Score (30 in total, the first dated here)
- Jun 22, 2021 PoC Published
- Jun 2, 2026 Security Advisory (12 in total, the first dated here)
- Aug 9, 2026 Distribution Patch (8 in total, the first dated here)
- Aug 27, 2026 Coalition ESS Score
- Oct 25, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-0512
vulnetix vdb fixes CVE-2021-0512
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-0512/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart