{"id":"CVE-2026-90429","summary":"iommu/tegra241-cmdqv: Synchronize the error ISR against VINTF (de)init","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/tegra241-cmdqv: Synchronize the error ISR against VINTF (de)init\n\nA user VINTF is torn down by tegra241_cmdqv_deinit_vintf(), which runs from\nthe destroy callback and from the init-failure unwind in the alloc handler.\nIt clears the cmdqv-\u003evintfs[] slot and lets the iommufd core free it, but\nnothing serializes that against the error interrupt: tegra241_cmdqv_isr()\nreads cmdqv-\u003evintfs[idx] and dereferences the vintf. A concurrent error can\nmake the ISR read a slot mid-clear (a NULL deref) or use a vintf which is\nabout to be freed (a use-after-free).\n\ndeinit_vintf() also returns idx to the IDA before clearing the slot, so a\nconcurrent create that reuses idx can publish its new vintf into the slot,\nonly for this teardown to erase it again with the stale NULL store.\n\nOn the other end, tegra241_cmdqv_init_vintf() publishes a new vintf with a\nplain store to the cmdqv-\u003evintfs[] slot, and the ISR dereferences fields of\na published vintf such as vintf-\u003ebase. A plain store gives no ordering on a\nweakly-ordered CPU, and a stale VINTF_ERR_MAP bit on a reused idx can make\nthe ISR pick a vintf the moment it is published, before its fields are set\nor tegra241_vintf_hw_init() runs.\n\nThe cmdqv-\u003evintfs[0] slot stays NULL until tegra241_cmdqv_init_structures()\nfirst creates VINTF0, so the slot 0 read needs the same NULL check.\n\nPublish every slot with an smp_store_release(), and read each slot in the\nISR with an smp_load_acquire() under a NULL check, so the ISR always sees\na fully built vintf or NULL. Also make deinit_vintf() clear the slot, and\nsynchronize_irq() prior to returning idx to the IDA, so no vintf is freed\nunder a running handler and no reused idx is clobbered.","modified":"2026-09-18T03:48:38.550910118Z","published":"2026-09-17T16:09:50.442Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90429.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a491be376abd1c80a314cdd658632c85cd660b73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcb82407633c3008362ad927699d985ee4981557"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f3ef4abc271a1d3d7b6715879e149c286dc8aae7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90429.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90429"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4dc0d12474f9d4833c3dd96b73d61e406d3f5dc7"},{"fixed":"bcb82407633c3008362ad927699d985ee4981557"},{"fixed":"f3ef4abc271a1d3d7b6715879e149c286dc8aae7"},{"fixed":"a491be376abd1c80a314cdd658632c85cd660b73"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90429.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90429.json"}}],"schema_version":"1.9.0"}