Android security tags, read closely by Lightrion

CVE-2026-58963 AI-generated analysis

platform/packages/services/Iwlan, ePDG tunnel management (EpdgTunnelManager / NetworkSliceSelectionAssistanceInformation)

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.

Iwlan's S-NSSAI parser now builds the 3-byte Slice Differentiator as an unsigned 24-bit value and maps the reserved value 0xFFFFFF to SLICE_DIFFERENTIATOR_NO_SLICE before it reaches NetworkSliceInfo.Builder. EpdgTunnelManager now wraps per-payload IKE 3GPP data processing in a RuntimeException catch and null-checks the TunnelConfig, so a malformed N1 mode information payload from the ePDG no longer crashes the Iwlan process.

Root cause

EpdgTunnelManager handles IKE 3GPP notify payloads (DATA_TYPE_NOTIFY_N1_MODE_INFORMATION) delivered through TmIke3gppCallback.onIke3gppDataReceived and feeds the S-NSSAI bytes to NetworkSliceSelectionAssistanceInformation.getSliceInfo, which sets the result on NetworkSliceInfo.Builder. Per the commit message, a previous change removed the filter for the reserved SD value 0xFFFFFF (TS 24.501 9.11.2.8, "no SD value associated with the SST"). That value was therefore handed to Builder.setSliceDifferentiator, which throws IllegalArgumentException because it exceeds the maximum 0xFFFFFE; the exception was not caught and crashed the process. The Android 17 pre-fix code shows that form: getSD returned the unsigned 24-bit value with no reserved-value check. The Android 14/15/16 pre-fix getSD still compared against 0xFFFFFF but built the value by OR-ing signed bytes without masking, so any SD byte with the high bit set was sign-extended into a negative int that bypassed the 0xFFFFFF comparison and was passed to the Builder as-is. In addition, the handler dereferenced mApnNameToTunnelConfig.get(apnName) without a null check and cast the payload to Ike3gppN1ModeInformation / Ike3gppBackoffTimer without an instanceof check, with no exception handling around any of it.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings