CVE-2021-1028: Use After Free
In setClientStateLocked of SurfaceFlinger.cpp, there is a possible out of bounds write due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
android/platform/frameworks/nativeto a version that resolves this vulnerability.Fixed in 12:2021-12-01
Event History
Frequently Asked Questions
Who is exposed to this issue?
Android 12 devices using the affected SurfaceFlinger component are exposed. Exploitation is local, so an attacker needs the ability to run with local privileges on the device.
Does exploitation require user interaction or additional execution privileges?
No user interaction is required. The issue can lead to local privilege escalation without requiring additional execution privileges.
How can I determine whether a device is affected?
Check whether the device runs Android 12 and whether its security updates include the December 1, 2021 Android security bulletin remediation for Android ID A-193034683.