CVE-2026-98932: EDAC/altera: Fix use-after-free in error paths
In the Linux kernel, the following vulnerability has been resolved:
EDAC/altera: Fix use-after-free in error paths
In both altredaca10deviceadd() and altrportbsetup(), the error path freed the dci structure before releasing the devres group. Since the managed single and double bit IRQ handlers use altdev(dci->pvtinfo) 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.