CVE-2026-55263 AI-generated analysis
platform/packages/apps/Settings, SettingsApplication (process-wide package label handling)
The fix makes the Settings process call PackageItemInfo.forceSafeLabels() in SettingsApplication.onCreate(), so later loadLabel() calls in that process sanitize package labels.
Root cause
The Settings process never turned on the framework's forced safe-label mode, so labels it obtained through PackageItemInfo.loadLabel() were not forced through the safe-label sanitization. Installed apps control those labels. The bulletin rates this as a High severity EoP. The material does not show which consequence of the unsanitized label leads to it.
How the fix works
- src/com/android/settings/SettingsApplication.java:onCreate(): the fix imports android.content.pm.PackageItemInfo. Right after super.onCreate() and before the rest of the initialization, it calls PackageItemInfo.forceSafeLabels() with the comment 'Force all loadLabel() calls to sanitize package labels'.
- forceSafeLabels() is a static, process-wide framework switch. Once it is set, PackageItemInfo.loadLabel() returns a sanitized label (general platform knowledge). So loadLabel() calls in the Settings process after Application.onCreate() are covered without changing individual call sites. Content providers are created before Application.onCreate() (general platform knowledge), so code that runs earlier is not covered.
- On Android 15 the commit is a single three-line change (import, comment, call). No call sites in Settings or SettingsLib are modified.
Completeness
- Covers label loads that go through PackageItemInfo.loadLabel() inside the Settings process after SettingsApplication.onCreate() runs.
- Does not cover label text obtained in other ways, for example strings received from other processes or APIs that do not go through PackageItemInfo.loadLabel(). The material does not show whether Settings has such paths.
- Only the Settings application process is changed. Other system apps that display package labels are not affected by this commit.
- The sanitization rules themselves are implemented in the framework and are not part of this diff.
Behavior changes
- Package, application and component labels that Settings loads through loadLabel() now get the framework's safe-label treatment, so some labels may display differently than before.
Per major
- Android 14: Same fix (a101a6cf443a, android-security-14.0.0_r29): forceSafeLabels() call inserted after super.onCreate(), before the getApplicationContext()/ElapsedTimeUtils block. 8/8 lines present at android-security-14.0.0_r31.
- Android 15: Same fix (60b2a8568cab, android-security-15.0.0_r17): call inserted after super.onCreate(), before the BackupRestoreStorageManager setup. 8/8 lines present at android-security-15.0.0_r19.
- Android 16: Same fix (5db0f9425d82, android-security-16.0.0_r8): call inserted after super.onCreate(), before the Flags.catalyst() block. 8/8 lines present at android-security-16.0.0_r10.
- Android 17: Same fix (12fb76cd7025, android-security-17.0.0_r1): call inserted after super.onCreate(), before the Flags.catalyst() block. 8/8 lines present at android-security-17.0.0_r3.
Unknowns
- Which Settings screen or code path used the unsanitized label, and how that leads to the EoP described in the bulletin.
- The exact sanitization that forceSafeLabels()/loadLabel() applies in the framework.
- Whether any Settings code obtains package labels through a path that bypasses PackageItemInfo.loadLabel() or runs before Application.onCreate().