Android security tags, read closely by Lightrion

CVE-2025-48599 AI-generated analysis

platform/packages/apps/Settings, Wi-Fi (WifiScanModeActivity, handler for WifiManager.ACTION_REQUEST_SCAN_ALWAYS_AVAILABLE)

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

Settings' WifiScanModeActivity now finishes immediately, without showing the "allow scanning when Wi-Fi is off" dialog, when the current user has the DISALLOW_CONFIG_LOCATION user restriction.

Root cause

WifiScanModeActivity.createDialog() built and showed the AlertDialogFragment, which lets the user approve "scan always available" for a requesting app, after only its existing early-return checks. Of those checks, only a trailing 'return;' is visible in the diff. The method never called UserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_LOCATION), so a user under that restriction could still see the scan-mode dialog and accept it.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to December 2025 · Findings