Android security tags, read closely by Lightrion

CVE-2026-55283 AI-generated analysis

platform/hardware/nxp/nfc, NXP NCI HAL (pn8x/halimpl and snxxx/halimpl phNxpNciHal.cc), hal_nfc_default process

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.

In the NXP NFC HAL (hardware/nxp/nfc), the teardown paths changed by the fix now zero nxpncihal_ctrl.gDrvCfg.nClientId before phOsalNfc_Timer_Cleanup() and release the message queue using a saved copy of the id, so per the commit message a late POSIX timer callback sees a zero id instead of reaching the freed message queue. A follow-up makes phNxpNciHal_client_thread break out of its loop when msgrcv fails with the id zeroed, instead of spinning.

Root cause

Several HAL teardown paths called phOsalNfc_Timer_Cleanup(), then phTmlNfc_Shutdown()/phTmlNfc_CleanUp(), then phDal4Nfc_msgrelease(nxpncihal_ctrl.gDrvCfg.nClientId) and a memset of nxpncihal_ctrl, and nClientId held the live message-queue id the whole time. These paths are phNxpNciHal_close and phNxpNciHal_Minclose in pn8x, and the close_and_return path and phNxpNciHal_clean_resources in snxxx/halimpl. According to the commit message, a compromised NFC controller could influence POSIX timer delays so that a detached SIGEV_THREAD timer callback outlived its deletion and accessed the freed message queue, a heap use-after-free in hal_nfc_default. Separately, in the hunks shown, three firmware-download and RF-config failure paths called phOsalNfc_Timer_Cleanup()/phTmlNfc_Shutdown* without a phDal4Nfc_msgrelease call. These are pn8x phNxpNciHal_fw_download, pn8x phNxpNciHalRFConfigCmdRecSequence and snxxx phNxpNciHal_force_fw_download.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings