CVE-2021-1029: 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 vulnerability?

Android 12 devices using the affected SurfaceFlinger code are in scope. Exploitation is local rather than network-based.

2

What access does an attacker need to exploit it?

An attacker needs local access and low-level privileges. No user interaction or additional execution privileges are required.

3

What is the likely impact if exploitation succeeds?

Successful exploitation could allow local escalation of privilege. The reported impact includes high confidentiality, integrity, and availability effects.

4

Which component should be checked for remediation?

The issue is in SurfaceFlinger.cpp, within android/platform/frameworks/native, specifically setClientStateLocked. Review Android security updates associated with Android ID A-193034677.

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