Android security tags, read closely by Lightrion

CVE-2026-59015 AI-generated analysis

platform/frameworks/base, CompanionDeviceManager (services/companion SystemDataTransferProcessor)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (3 corrections). Verify against the commit before relying on it.

Removes the caller-supplied packageName and userId parameters from the ICompanionDeviceManager system data transfer methods and makes SystemDataTransferProcessor derive both from the AssociationInfo returned by getAssociationWithCallerChecks, which now runs before any state is written.

Root cause

ICompanionDeviceManager.buildPermissionTransferUserConsentIntent, isPermissionTransferUserConsented and startSystemDataTransfer took String packageName and int userId from the client (CompanionDeviceManager passed mContext.getOpPackageName() and mContext.getUserId(), but these were client-supplied Binder arguments). In SystemDataTransferProcessor.buildPermissionTransferUserConsentIntent the caller-supplied packageName was fed to PackageUtils.isPermSyncAutoEnabled, and if it returned true the method wrote a PermissionSyncRequest with setUserConsented(true) into mSystemDataTransferRequestStore under the caller-supplied userId and returned, all before mAssociationStore.getAssociationWithCallerChecks(associationId) was invoked. The non-auto path also used the caller-supplied userId for request.setUserId. startSystemDataTransfer likewise accepted packageName/userId from the caller and only called getAssociationWithCallerChecks for its side effect, ignoring the returned association. Nothing bound the supplied packageName/userId to the association identified by associationId.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings