Android security tags, read closely by Lightrion

CVE-2026-58884 AI-generated analysis

platform/packages/modules/Wifi, WifiServiceImpl (SoftAp / Local Only Hotspot start path)

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 (7 corrections). Verify against the commit before relying on it.

Passes the original requestor's UID and PID into WifiServiceImpl.startSoftApInternal and validates them through a new validateSoftApConfigurationInternal helper. SoftApConfiguration privilege validation for Local Only Hotspot therefore no longer evaluates the system server's own identity when it runs on the Wifi handler thread.

Root cause

WifiServiceImpl.startSoftApInternal computed `privileged = isSettingsOrSuw(Binder.getCallingPid(), Binder.getCallingUid())` and passed it to WifiApConfigStore.validateApWifiConfiguration. The LOHS start block, which builds mActiveConfig with IFACE_IP_MODE_LOCAL_ONLY and calls startSoftApInternal(mActiveConfig, request.getWorkSource(), null), runs on the Wifi handler thread, not on the requesting app's binder thread. Per the commit message, Binder.getCallingUid()/getCallingPid() there returned the system server's identity (SYSTEM_UID), so the privilege check (which requires NETWORK_SETTINGS) passed incorrectly. As a result, an unprivileged LOHS requestor's custom SoftApConfiguration with a custom BSSID was accepted.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings