Linux Kernel Microchip EIC IRQ Domain Error Code Handling Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's handling of the Microchip External Interrupt Controller (EIC) within the IRQ chip subsystem. The issue arises in the 'mchp_eic_domain_alloc' function, where the 'irq_domain_translate_twocell' function can return a hardware interrupt (hwirq) value that is out of bounds, specifically 2 or greater. This out-of-bounds access occurs because, while the code checks for invalid hwirq values, it fails to properly set an error code for these cases. Instead, it incorrectly returns a success status. The vulnerability has been addressed by modifying the error handling to return an appropriate error code, -EINVAL, when an invalid hwirq value is detected.

Impact

Exploitation of this vulnerability could lead to out-of-bounds memory access, potentially causing undefined behavior such as memory corruption or application crashes.

Reproduction

The vulnerability can be reproduced by invoking the 'mchp_eic_domain_alloc' function with a configuration that causes the 'irq_domain_translate_twocell' function to return a hardware interrupt value of 2 or greater. This will trigger the out-of-bounds access due to the invalid interrupt value not being properly handled.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit addressing this issue is available in the Linux kernel stable tree.

Added: Jan 5, 2026, 10:23 AM
Updated: Jan 5, 2026, 10:23 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.8
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.