Android security tags, read closely by Lightrion

CVE-2026-55275 AI-generated analysis

platform/hardware/nxp/nfc, NXP NFC HAL TML reader (pn8x/halimpl/tml/phTmlNfc.cc, snxxx/halimpl/tml/phTmlNfc.cc, and on Android 17 also snxxx/halimpl_v2/tml/phTmlNfc.cc)

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

Clears the dangling tReadInfo.pBuffer pointer in phTmlNfc_ReadAbort() and adds NULL checks in phTmlNfc_TmlThread() before the memcpy, the retransmission header check and phNxpNciHal_print_packet in the pn8x and snxxx NXP NFC HAL TML layers, so a late I2C frame after a read abort is no longer written into a freed buffer.

Root cause

phTmlNfc_TmlThread() blocks in phTmlNfc_i2c_read() reading into a local temp buffer. On success it memcpys the data into gpphTmlNfc_Context->tReadInfo.pBuffer, reads pBuffer[0] for the retransmission check and passes pBuffer to phNxpNciHal_print_packet. phTmlNfc_ReadAbort() did not clear tReadInfo.pBuffer. Per the commit message, a firmware download timeout can cause that heap buffer to be freed while the reader thread is still blocked in the I2C read. If a late frame then arrives from the NFCC or an I2C interposer, the reader thread writes dwNoBytesWrRd bytes into the freed allocation (in pn8x, reads larger than 260 bytes are rejected before this point).

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to November 2026 · Findings