{"id":"CVE-2021-0942","state":"PUBLISHED","title":"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_p","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","publishedAt":"2022-09-13T19:13:39.000Z","updatedAt":"2024-08-03T15:55:17.580Z","severity":null,"assigner":"google_android","products":["n/a Android"],"affected":[{"vendor":"n/a","product":"Android","versions":[{"version":"Android SoC","status":"affected"}]}],"references":["https://source.android.com/security/bulletin/2022-09-01"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:50.134Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/0xxx/CVE-2021-0942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-0942","state":"PUBLISHED","datePublished":"2022-09-13T19:13:39.000Z","dateUpdated":"2024-08-03T15:55:17.580Z","assignerShortName":"google_android","assignerOrgId":"baff130e-b8d5-4e15-b3d3-c3cf5d5545c6","dateReserved":"2020-11-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"Android","versions":[{"version":"Android SoC","status":"affected"}]}],"references":[{"url":"https://source.android.com/security/bulletin/2022-09-01","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"Elevation of privilege","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"google_android","dateUpdated":"2022-09-13T19:13:39.000Z","orgId":"baff130e-b8d5-4e15-b3d3-c3cf5d5545c6"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@android.com","ID":"CVE-2021-0942","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Android","version":{"version_data":[{"version_value":"Android SoC"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Elevation of privilege"}]}]},"references":{"reference_data":[{"name":"https://source.android.com/security/bulletin/2022-09-01","refsource":"MISC","url":"https://source.android.com/security/bulletin/2022-09-01"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://source.android.com/security/bulletin/2022-09-01","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T15:55:17.580Z"}}]}}}