CVE-2021-0942
Vulnerability in n/a Android
Check your servers for CVE-2021-0942
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-0942 affects android, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The path in this case is a little bit convoluted. The end result is that via an ioctl an untrusted app can control the ui32PageIndex offset in the expression:sPA.uiAddr = page_to_phys(psOSPageArrayData->pagearray[ui32PageIndex]);With the current PoC this crashes as an OOB read. However, given that the OOB read value is ending up as the address field of a struct I think i seems plausible that this could lead to an OOB write if the attacker is able to cause the OOB read to pull an interesting kernel address. Regardless if this is a read or write, it is a High severity issue in the kernel.Product: AndroidVersions: Android SoCAndroid ID: A-238904312
Exploitation
EPSS 0.39%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 35.3% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Android
n/a
|
affected Android SoC
|
Is my server affected?
Find the installed version of android and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i android
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-0942 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-0942RHEL, Rocky, Alma, Fedora
rpm -q android
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-0942Alpine
apk list --installed | grep -i androidWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-0942
trivy image --scanners vuln IMAGE | grep CVE-2021-0942
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://source.android.com/security/bulletin/2022-09-01 source.android.com
Source: the record CVE-2021-0942 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse