irqchip/gic-v5: Clear per-CPU IRS data on teardown
- 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.18.57, 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: irqchip/gic-v5: Clear per-CPU IRS data on teardown IRS affinity setup publishes an IRS pointer and IAFFID state in the per-CPU data before the remaining IRS initialization can fail. The error path then frees the IRS data without clearing that published state, leaving CPUs associated with freed memory. On initialization failure and normal IRS teardown, clear the per-CPU IRS association by removing the stale pointer to irs_data. Also invalidate the per-CPU IAFFID state for any CPUs that were tied to the IRS before it was freed.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5cb1b6dab2def316671ea2565291a86ad58b884c · fixed in 0887d41abf76638942688cb0c0ff8087f52e2b33; From 5cb1b6dab2def316671ea2565291a86ad58b884c · fixed in 54937af6f4a0d44c2852a203d457902f3264c906; From 5cb1b6dab2def316671ea2565291a86ad58b884c · fixed in 3dfc0ab5fefd052c6028c4632b1fad8bdaf7967e
- Linux Linux
6.17
- KernelLinux
From 6.17.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.6