Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-98435 Overview
CVE-2026-98435 affects the Linux kernel's Error Detection and Correction (EDAC) subsystem for Altera platforms. The flaw resides in altr_portb_setup(), where the devres (device-managed resources) group and devm-managed interrupt request were anchored to an embedded struct device inside a copied per-port altr_edac_device_dev structure instead of the actual parent device. This mismatch caused devres_open_group(), devm_request_irq(), devres_remove_group(), and devres_release_group() to reference inconsistent device objects, leading to resource lifecycle problems during teardown.
Critical Impact
Incorrect devres anchoring in the Altera EDAC driver can leave kernel resources improperly released, risking memory leaks or use-after-free conditions on module unload or probe failure.
Affected Products
- Linux kernel builds including the EDAC/altera driver prior to the fix
- Altera (Intel) SoC FPGA platforms using the Port B EDAC path
- Downstream distributions shipping the vulnerable altr_edac module
Discovery Timeline
- 2026-10-18 - CVE-2026-98435 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98435
Vulnerability Analysis
The Linux kernel EDAC/altera driver manages error detection and correction reporting for Altera SoC FPGA memory controllers. In altr_portb_setup(), the driver orchestrates per-port EDAC devices and registers an interrupt handler using the devres framework. The pre-patch code anchored devres_open_group() and devm_request_irq() to the embedded struct device inside a copied altr_edac_device_dev structure. That embedded device had a shorter and inconsistent lifetime compared to the real parent device.
Because devres_remove_group() and devres_release_group() operate against the device the resources were registered on, mismatched anchors prevented the group and its tracked resources from being torn down together. The result is a classic resource management defect in a kernel driver, which falls under the kernel driver vulnerability category.
Root Cause
The root cause is incorrect selection of the devres owner. The copied per-port structure contains its own struct device, which is not the long-lived parent that owns the EDAC instance. Anchoring resources to that embedded device desynchronized the acquire and release paths, leaving devres bookkeeping inconsistent.
Attack Vector
CVE-2026-98435 is a local kernel reliability defect rather than a remotely triggered flaw. Exploitation preconditions include access to a system running the affected altr_edac driver on Altera SoC FPGA hardware and the ability to trigger probe, teardown, or module unload code paths. The NVD entry does not assign a CVSS score or confirm a weaponized exploit path.
The vulnerability is described in the upstream commits rather than a proof-of-concept. See the kernel.org commit 2cf03ada035 and kernel.org commit 8325ecf3f16d for the authoritative patch descriptions.
Detection Methods for CVE-2026-98435
Indicators of Compromise
- Kernel log entries from the altr_edac driver reporting probe failures or IRQ registration errors on Altera SoC FPGA hardware.
- Unexpected devres warnings referencing altr_portb_setup during module unload or hot-unplug events.
- Memory accounting drift on long-running systems that repeatedly bind and unbind the Altera EDAC driver.
Detection Strategies
- Inventory running kernels and compare against the fixed commits listed in the kernel.org references to flag vulnerable builds.
- Review distribution security trackers for backported fixes referencing CVE-2026-98435 and the EDAC/altera subsystem.
- Audit custom kernel builds for Altera SoC FPGA targets to confirm the altr_portb_setup() patch is applied.
Monitoring Recommendations
- Collect dmesg output from affected hosts and alert on EDAC driver registration or teardown errors.
- Monitor kernel module load and unload events on embedded Altera platforms to detect resource churn.
- Track kernel version drift across fleets to ensure the fix is deployed consistently.
How to Mitigate CVE-2026-98435
Immediate Actions Required
- Identify Altera SoC FPGA systems running the altr_edac driver and schedule kernel updates to a build containing the upstream fix.
- Apply the stable-tree patches referenced by the kernel.org commits for any custom or long-term-support kernels in use.
- Restrict administrative access to systems where kernel updates cannot be applied immediately to limit opportunities to trigger the affected code paths.
Patch Information
The fix changes altr_portb_setup() so that devres_open_group() and devm_request_irq() are anchored to the parent device, device->edac->dev, instead of the embedded struct device in the copied per-port altr_edac_device_dev. This keeps acquisition and release paths aligned on the same long-lived device. The fix is distributed across the following commits: 2cf03ada035, 8325ecf3f16d, 9868f5c077d, and dc4797c909b.
Workarounds
- Disable or blacklist the altr_edac module on systems that do not require Altera EDAC reporting until a patched kernel is deployed.
- Avoid repeated bind, unbind, and module reload cycles of the Altera EDAC driver on vulnerable kernels to reduce exposure to teardown paths.
- Pin affected hosts to vendor-supported kernels that include the backported fix once available from the distribution.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

