CVE-2025-40076
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
28/10/2025
Last modified:
30/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
PCI: rcar-host: Pass proper IRQ domain to generic_handle_domain_irq()<br />
<br />
Starting with commit dd26c1a23fd5 ("PCI: rcar-host: Switch to<br />
msi_create_parent_irq_domain()"), the MSI parent IRQ domain is NULL because<br />
the object of type struct irq_domain_info passed to:<br />
<br />
msi_create_parent_irq_domain() -><br />
irq_domain_instantiate()() -><br />
__irq_domain_instantiate()<br />
<br />
has no reference to the parent IRQ domain. Using msi->domain->parent as an<br />
argument for generic_handle_domain_irq() leads to below error:<br />
<br />
"Unable to handle kernel NULL pointer dereference at virtual address"<br />
<br />
This error was identified while switching the upcoming RZ/G3S PCIe host<br />
controller driver to msi_create_parent_irq_domain() (which was using a<br />
similar pattern to handle MSIs (see link section)), but it was not tested<br />
on hardware using the pcie-rcar-host controller driver due to lack of<br />
hardware.<br />
<br />
[mani: reworded subject and description]



