Android security tags, read closely by Lightrion

CVE-2026-58871 AI-generated analysis

platform/external/wpa_supplicant_8, wpa_supplicant AIDL STA interface (wpa_supplicant/aidl/sta_iface.cpp), QoS policy / SCS classifier conversion

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

Changes the os_memcpy length in set_type4_frame_classifier (wpa_supplicant AIDL STA interface) from sizeof(qos_policy_data.classifierParams.flowLabelIpv6), the size of the container object, to sizeof(param->ip_params.v6.flow_label) so that exactly 3 bytes of the IPv6 flow label are copied from the AIDL QoS policy classifier params.

Root cause

In set_type4_frame_classifier, when the FLOW_LABEL bit is set in the classifier params mask, the code checked that qos_policy_data.classifierParams.flowLabelIpv6.size() equals sizeof(param->ip_params.v6.flow_label) (3 bytes), but then called os_memcpy with length sizeof(qos_policy_data.classifierParams.flowLabelIpv6). That expression is the size of the container object itself (not its 3-byte contents), so the copy wrote more bytes than the 3-byte flow_label field holds and read beyond the 3-byte data. The size check was correct; the copy length was wrong.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings