CVE-2025-37819

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
08/05/2025
Last modified:
12/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()<br /> <br /> With ACPI in place, gicv2m_get_fwnode() is registered with the pci<br /> subsystem as pci_msi_get_fwnode_cb(), which may get invoked at runtime<br /> during a PCI host bridge probe. But, the call back is wrongly marked as<br /> __init, causing it to be freed, while being registered with the PCI<br /> subsystem and could trigger:<br /> <br /> Unable to handle kernel paging request at virtual address ffff8000816c0400<br /> gicv2m_get_fwnode+0x0/0x58 (P)<br /> pci_set_bus_msi_domain+0x74/0x88<br /> pci_register_host_bridge+0x194/0x548<br /> <br /> This is easily reproducible on a Juno board with ACPI boot.<br /> <br /> Retain the function for later use.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.5 (including) 5.4.294 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.238 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.182 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.138 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.89 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.26 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.14.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*