CVE-2026-59012 AI-generated analysis
platform/frameworks/base, telephony common (TelephonyPermissions), used by packages/services/Telephony PhoneInterfaceManager
Corrects the permission name checked by TelephonyPermissions.checkLastKnownCellIdAccessPermission from "android.permission.ACCESS_LAST_KNOWN_CELL_ID" to "com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID", so the gate on getLastKnownCellIdentity tests the intended permission.
Root cause
TelephonyPermissions.checkLastKnownCellIdAccessPermission called context.checkCallingOrSelfPermission with the literal "android.permission.ACCESS_LAST_KNOWN_CELL_ID". The fix shows that the intended permission is "com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID". So the helper was checking a permission name other than the intended one. This helper gates PhoneInterfaceManager.getLastKnownCellIdentity together with the fine location check (per index search). The bulletin classifies the issue as information disclosure (ID), severity High. The material does not show how the old string led to disclosure.
How the fix works
- telephony/common/com/android/internal/telephony/TelephonyPermissions.java:checkLastKnownCellIdAccessPermission: the single permission string passed to context.checkCallingOrSelfPermission is replaced with "com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID". The comparison against PackageManager.PERMISSION_GRANTED is unchanged.
- No other file is touched. The only caller found, PhoneInterfaceManager.getLastKnownCellIdentity (packages/services/Telephony, per index search), still requires both a LocationAccessPolicy fine location result of ALLOWED and this check, and throws SecurityException otherwise.
Completeness
- The fix covers the one helper that performs the ACCESS_LAST_KNOWN_CELL_ID check. All callers of that helper inherit the correction.
- The fix does not add a declaration of the permission or change any manifest. It assumes that "com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID" is the permission actually declared and granted to legitimate callers. That declaration is not shown in the material.
- Other cell identity paths in PhoneInterfaceManager (getCellLocation, requestCellInfoUpdateInternal, per index search) use only LocationAccessPolicy and do not go through this helper, so this change does not affect them.
Behavior changes
- Callers of TelephonyManager.getLastKnownCellIdentity must now hold com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID in addition to fine location. Holding only a permission named android.permission.ACCESS_LAST_KNOWN_CELL_ID no longer satisfies the check and results in the existing SecurityException.
- No new error codes or messages. The exception text in PhoneInterfaceManager.getLastKnownCellIdentity is unchanged.
Per major
- Android 14: same fix: commit 75c75ddfb0fa in android-security-14.0.0_r31 (cherry-pick of commit 4fe4ad8f8bcb, Change-Id Iecb91e7622078f00ccb92bc6f91d57ec1838b9bd). It is a one-line string change in TelephonyPermissions.checkLastKnownCellIdAccessPermission.
- Android 15: not listed by the bulletin as affected. android-security-15.0.0_r19 shows 3/4 lines of the patched region present. The fixed 14 tag shows the same count, so this metric does not show which string is present. No fix commit is linked for this branch in the material.
- Android 16: not listed by the bulletin as affected. android-security-16.0.0_r10 shows 3/4 lines of the patched region present, which does not show which string is present. No fix commit is linked in the material.
- Android 17: not listed by the bulletin as affected (the bulletin lists 17-qpr2-next separately). android-security-17.0.0_r3 shows 3/4 lines of the patched region present, which does not show which string is present. No fix commit is linked in the material.
Unknowns
- Where com.android.phone.permission.ACCESS_LAST_KNOWN_CELL_ID is declared and what its protection level is (manifest not in the material).
- Whether android.permission.ACCESS_LAST_KNOWN_CELL_ID was declared anywhere on the platform, and so how the old check behaved in practice and how it led to the information disclosure the bulletin describes.
- Which permission string is present at the latest 15, 16 and 17 security tags. The line-presence metric does not tell the two strings apart.
- Why 15, 16 and 17 are not listed as affected while 17-qpr2-next is.