CVE-2021-1028: Use After Free

Published Dec 1, 2021
·
Updated

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

2 affected componentsFixes available
Google Android=12.0
android/platform/frameworks/native>=12:0<12:2021-12-01
12:2021-12-01

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade android/platform/frameworks/native to a version that resolves this vulnerability.

    Fixed in 12:2021-12-01

Event History

Dec 1, 2021
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Dec 15, 2021
CVE Published
via MITRE·06:06 PM
Data Sourced
via MITRE·06:06 PM
DescriptionWeakness

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203