CVE-2026-59003 AI-generated analysis
platform/frameworks/opt/telephony, SubscriptionManagerService (ISub binder service)
Removes SimInfo.COLUMN_RCS_CONFIG from the DIRECT_ACCESS_SUBSCRIPTION_COLUMNS allowlist in SubscriptionManagerService so that the RCS provisioning config can no longer be read or written through ISub.getSubscriptionProperty / ISub.setSubscriptionProperty.
Root cause
SubscriptionManagerService.DIRECT_ACCESS_SUBSCRIPTION_COLUMNS is the set of SimInfo columns that getSubscriptionProperty and setSubscriptionProperty expose directly. Per the in-code comment, these columns are "protected with READ_PHONE_STATE permission only" and are meant to be non-sensitive user settings. SimInfo.COLUMN_RCS_CONFIG holds the RCS provisioning XML, which includes credentials per the commit message, but it was in that set. Any caller holding READ_PHONE_STATE could therefore retrieve it via ISub.getSubscriptionProperty. The pre-fix test also shows that a caller with MODIFY_PHONE_STATE could overwrite it via ISub.setSubscriptionProperty.
How the fix works
- src/java/com/android/internal/telephony/subscription/SubscriptionManagerService.java: the single entry SimInfo.COLUMN_RCS_CONFIG is deleted from the static Set DIRECT_ACCESS_SUBSCRIPTION_COLUMNS. No other production code changes. Because the column is no longer in the allowlist, getSubscriptionProperty/setSubscriptionProperty throw SecurityException for it. The updated test shows this for callers holding READ_PRIVILEGED_PHONE_STATE (get) and MODIFY_PHONE_STATE (set).
- tests/telephonytests/.../SubscriptionManagerServiceTest.java:testSetGetRcsConfig is rewritten. It asserts SecurityException for getSubscriptionProperty(COLUMN_RCS_CONFIG) both without and with READ_PRIVILEGED_PHONE_STATE. It also asserts SecurityException for setSubscriptionProperty(COLUMN_RCS_CONFIG) with MODIFY_PHONE_STATE. The previous round-trip assertions and the FAKE_RCS_CONFIG1/2 and Base64 imports are removed.
Completeness
- Through getSubscriptionProperty and setSubscriptionProperty, the column is no longer accepted for the permission levels the test covers (none, READ_PRIVILEGED_PHONE_STATE, MODIFY_PHONE_STATE). Other caller types are not tested in the material.
- The fix does not add an alternative, higher-privilege accessor for the RCS config via ISub. Other internal paths are not modified by this diff. One example is getSubscriptionInfoInternal(...).getRcsConfig(), which the test file used before the change.
- The remaining entries of DIRECT_ACCESS_SUBSCRIPTION_COLUMNS are untouched. The material does not show whether any of them were reviewed.
Behavior changes
- ISub.getSubscriptionProperty(subId, SimInfo.COLUMN_RCS_CONFIG, ...) and ISub.setSubscriptionProperty(subId, SimInfo.COLUMN_RCS_CONFIG, ...) now throw SecurityException. Per the updated test, this includes callers holding READ_PRIVILEGED_PHONE_STATE or MODIFY_PHONE_STATE.
- Any client that read or wrote the RCS config through these ISub methods will now fail. The diff provides no replacement API.
Per major
- Android 14: Same fix: d090032c5a43 in android-security-14.0.0_r31. Identical one-line removal from DIRECT_ACCESS_SUBSCRIPTION_COLUMNS plus the same test rewrite, at different line offsets. The test file lacks the satellite imports. Patched region 8/8 present.
- Android 15: Same fix: 35b6fc3b86a1 in android-security-15.0.0_r19 (this commit, cherry-pick of 8290e21f1216). Patched region 8/8 present.
- Android 16: Same fix: cef78ec6b35d in android-security-16.0.0_r10, identical change at different line offsets. Patched region 8/8 present.
- Android 17: Same fix: d4ab3b859b04 in android-security-17.0.0_r3, identical change at different line offsets. Patched region 8/8 present.
Unknowns
- The material does not show the bodies of getSubscriptionProperty/setSubscriptionProperty. The exact permission checks applied before the allowlist lookup are known only from the in-code comment (READ_PHONE_STATE), the commit message and the tests.
- Whether callers with other privileges (e.g. carrier privileges) are handled differently is not shown.
- Whether any in-tree or vendor client relied on reading/writing COLUMN_RCS_CONFIG through these methods or their SubscriptionManager wrappers is not shown.
- Whether other columns remaining in DIRECT_ACCESS_SUBSCRIPTION_COLUMNS were assessed for sensitivity is not shown.