Use-after-free vulnerability in the wifi_cleanup function in bcmdhd/wifi_hal/wifi_hal.cpp in Wi-Fi in Android 6.x before 2016-02-01 allows attackers to gain privileges by leveraging access to the local physical environment during execution of a crafted application, aka internal bug 25753768.
This is a vulnerability exploitable with adjacent network access and requires the attacker to have
access to either the broadcast or collision domain of the vulnerable software. Examples of
local networks include local IP subnet, Bluetooth, IEEE 802.11, and local Ethernet
Specialized access conditions or extenuating circumstances do not exist. The following are examples:
The affected product typically requires access to a wide range of systems and users, possibly anonymous an untrusted (e.g., Internet-facing web or mail server).
The affected configuration is default or ubiquitous. The attack can be performed manually and requires little skill or additional information gathering.
The 'race condition' is a lazy one (i.e., it is technically a race but easily winnable).
Authentication is not required to access and exploit the vulnerability.
There is total information disclosure, resulting in all system files being revealed. The
attacker is able to read all of the system's data (memory, files, etc.).
There is a total compromise of system integrity. There is a complete loss of system
protection, resulting in the entire system being compromised. The attacker is able to
modify any files on the target system.
There is a total shutdown of the affected resource. The attacker can render the
resource completely unavailable.