Android security tags, read closely by Lightrion

CVE-2026-58870 AI-generated analysis

platform/packages/modules/Wifi, Wi-Fi P2P service (service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java)

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.

WifiP2pServiceImpl now stores each IWifiP2pListener's AttributionSource at registration and, when broadcasting onPersistentGroupsChanged, sends an empty WifiP2pGroupList to listeners lacking NETWORK_SETTINGS/NETWORK_STACK/READ_WIFI_CREDENTIAL and redacts the own device MAC for listeners lacking LOCAL_MAC_ADDRESS.

Root cause

In WifiP2pServiceImpl, the onPersistentGroupsChanged broadcast loop called mWifiP2pListeners.getBroadcastItem(i).onPersistentGroupsChanged(p2pGroupList) for every registered IWifiP2pListener with the full persistent group list, without any signature-permission check and without erasing the own device's MAC address. registerWifiP2pListener only enforced the nearby-devices permission and registered the listener without recording the caller's identity (mWifiP2pListeners.register(listener)), so the broadcast path had no UID to check against. Per the commit message, it broadcast to all registered listeners without enforcing signature permissions or redacting the own device's MAC address.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings