HIGH Introduced in 4.7
edac Dci UAF
CVE-2026-98932
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
KernelScan AI7.0HIGH
01Description
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.
02KernelScan AI Analysis
Risk summary
Products using Altera Arria10 FPGA/SoC hardware with EDAC support are at risk. A local attacker who can trigger device initialization errors (e.g., via resource exhaustion or module loading) could exploit a race window to achieve kernel memory corruption, leading to privilege escalation or denial of service. The vulnerability requires specific hardware and precise timing, limiting its practical exploitability.
Vulnerability analysis
During device initialization, two error paths in the Altera Arria10 EDAC driver freed a control structure before releasing the associated resource-management group. The managed interrupt handlers for single-bit and double-bit ECC errors use a pointer inside that structure as their handler data. If an interrupt fired in the window between the structure being freed and the resource group releasing the interrupts, the handler would dereference freed memory, causing a use-after-free. The fix reorders the cleanup: the resource group is now released first, which unregisters the managed interrupts, and only then is the control structure freed. This eliminates the race window. The bug is reachable only on systems with Altera Arria10 hardware where the EDAC driver is loaded, and only when device initialization fails at specific points — typically requiring the ability to probe the device or induce resource allocation failures.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.18 | 4.7 | 6.18.56 | 865f3bdebbc9 |
| 7.2 | 4.7 | 7.2.10 | 87364b19b3fe |
| mainline | 4.7 | 7.3 | eef3b67f9c67 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Affected — no CIP fix yet (latest 6.12.114-cip34) |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip136) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |