iommu/tegra241-cmdqv: Don't run the error ISR before probe sets up vintfs
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Don't run the error ISR before probe sets up vintfs __tegra241_cmdqv_probe() requests the error IRQ before it has allocated the cmdqv->vintfs array and set cmdqv->num_vintfs. A CMDQV left enabled with a latched error across a kexec fires the IRQ as soon as it is requested, and tegra241_cmdqv_isr() then walks the uninitialized cmdqv->vintfs array. Request the IRQ only after cmdqv->vintfs is allocated and zeroed, so that a latched interrupt firing early runs the ISR against a valid array of NULL slots that it safely skips.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 · fixed in b1605a56745f22670205f6561df5771bbbb62a99; From 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 · fixed in 2f627118b668659c6b195ac48beedb1bf8f53368; From 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 · fixed in a168254ff8db08f2292be3d8fcbd37d2bb8c3d2d; From 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 · fixed in 5acd67ceb38debe2fbf70ea35e2dec9f7ab01bbd
- Linux Linux
6.12
- KernelLinux
From 6.12.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6