{"id":"ASB-A-197353344","details":"In phTmlNfc_Init and phTmlNfc_CleanUp of phTmlNfc.cc, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.","aliases":["A-197353344","CVE-2021-39629"],"modified":"2026-09-18T15:47:37.392928379Z","published":"2022-01-01T00:00:00Z","references":[{"type":"ADVISORY","url":"https://source.android.com/security/bulletin/2022-01-01"},{"type":"FIX","url":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/63162916491d3ad034e0288fb2e254cf2b66db92"}],"affected":[{"package":{"name":"platform/hardware/nxp/nfc","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"9:0"},{"fixed":"9:2022-01-01"}]}],"versions":["9"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/hardware/nxp/nfc/+/cf72695ce1825007b8705338fd5baa583b50bd81"],"severity":"High","spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/cf72695ce1825007b8705338fd5baa583b50bd81","target":{"file":"halimpl/tml/phTmlNfc.cc"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["79977752736498591055745919943296483020","280191281260799491227299689449532060734","338573141868888499314709268095003018284","202975929060145663993056057647499796875"]},"id":"ASB-A-197353344-41c80c61"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-197353344.json"}},{"package":{"name":"platform/hardware/nxp/nfc","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"10:0"},{"fixed":"10:2022-01-01"}]}],"versions":["10"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/hardware/nxp/nfc/+/647f3fcc75511c6f05e1670d2457b0d93c13abdf"],"severity":"High","spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"target":{"file":"halimpl/tml/phTmlNfc.cc"},"deprecated":false,"digest":{"line_hashes":["79977752736498591055745919943296483020","280191281260799491227299689449532060734","338573141868888499314709268095003018284","202975929060145663993056057647499796875"],"threshold":0.9},"id":"ASB-A-197353344-c154712b","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/647f3fcc75511c6f05e1670d2457b0d93c13abdf"}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-197353344.json"}},{"package":{"name":"platform/hardware/nxp/nfc","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11:0"},{"fixed":"11:2022-01-01"}]}],"versions":["11"],"ecosystem_specific":{"spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"id":"ASB-A-197353344-11ad9091","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/647f3fcc75511c6f05e1670d2457b0d93c13abdf","target":{"file":"halimpl/tml/phTmlNfc.cc"},"deprecated":false,"digest":{"line_hashes":["79977752736498591055745919943296483020","280191281260799491227299689449532060734","338573141868888499314709268095003018284","202975929060145663993056057647499796875"],"threshold":0.9}}],"fixes":["https://android.googlesource.com/platform/hardware/nxp/nfc/+/647f3fcc75511c6f05e1670d2457b0d93c13abdf"],"severity":"High"},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-197353344.json"}},{"package":{"name":"platform/hardware/nxp/nfc","ecosystem":"Android"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"12:0"},{"fixed":"12:2022-01-01"}]}],"versions":["12"],"ecosystem_specific":{"fixes":["https://android.googlesource.com/platform/hardware/nxp/nfc/+/e777cc1902b4f063886035857ac9d396453ecb36"],"severity":"High","spl":"2022-01-01","types":["EoP"],"vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["79977752736498591055745919943296483020","280191281260799491227299689449532060734","338573141868888499314709268095003018284","202975929060145663993056057647499796875"]},"id":"ASB-A-197353344-16165492","signature_type":"Line","signature_version":"v1","source":"https://android.googlesource.com/platform/hardware/nxp/nfc/+/e777cc1902b4f063886035857ac9d396453ecb36","target":{"file":"pn8x/halimpl/tml/phTmlNfc.cc"},"deprecated":false}]},"database_specific":{"source":"https://storage.googleapis.com/android-osv/ASB-A-197353344.json"}}],"schema_version":"1.9.0"}