EDAC/altera: Fix use-after-free in error paths
- 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.56, 7.2.10
- 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: EDAC/altera: Fix use-after-free in error paths In both altr_edac_a10_device_add() and altr_portb_setup(), the error path freed the dci structure before releasing the devres group. Since the managed single and double bit IRQ handlers use altdev(dci->pvt_info) as their data, an IRQ firing between freeing dci and unregistering the IRQs could dereference the freed memory. Release the devres group first so the managed IRQs are unregistered before the dci structure is freed.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Linux Linux
From 588cb03ea208b303e6dee7e916f329043fd0fc26 · fixed in 865f3bdebbc9b34012358c377c9b15154f95f33b; From 588cb03ea208b303e6dee7e916f329043fd0fc26 · fixed in 87364b19b3fe4e6dbf88d6acf6db4ec87e7dfbba; From 588cb03ea208b303e6dee7e916f329043fd0fc26 · fixed in eef3b67f9c6782127163b631c9043011a68016e2
- Linux Linux
4.7
- KernelLinux
From 4.7.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10