CVE-2021-0942
Last modified
CVE-2021-0942 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Android | All versions |
References
- https://source.android.com/security/bulletin/2022-09-01Vendor Advisory
- https://source.android.com/security/bulletin/2022-09-01Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-0942?
How severe is CVE-2021-0942?
How do I fix CVE-2021-0942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-0936In acc_read of f_accessory.c, there is a possible memory cor…7.8
- CVE-2021-0937Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2021-0938In memzero_explicit of compiler-clang.h, there is a possible…5.5
- CVE-2021-0939In set_default_passthru_cfg of passthru.c, there is a possib…4.4
- CVE-2021-0940In TBD of TBD, there is a possible out of bounds write due t…6.7
- CVE-2021-0941In bpf_skb_change_head of filter.c, there is a possible out …6.7
- CVE-2021-0943In MMU_MapPages of TBD, there is a possible out of bounds wr…7.8
- CVE-2021-0945In _PMRCreate of the PowerVR kernel driver, a missing bounds…9.8
- CVE-2021-0946The method PVRSRVBridgePMRPDumpSymbolicAddr allocates puiMem…7.5
- CVE-2021-0947The method PVRSRVBridgeTLDiscoverStreams allocates puiStream…7.5
- CVE-2021-0948The PVRSRVBridgeGetMultiCoreInfo ioctl in the PowerVR kernel…5.5
- CVE-2021-0951In DevmemIntHeapAcquire of TBD, there is a possible arbitrar…7.8
Are you affected by CVE-2021-0942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
