CVE-2025-37819 irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()
A use-after-free vulnerability in the Linux kernel's GICv2m driver can cause a system crash during PCI host bridge probing when ACPI is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37819?
CVE-2025-37819 is a high-severity use after free vulnerability in Debian Debian Linux, published on 8 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()
With ACPI in place, gicv2m_get_fwnode() is registered with the pci subsystem as pci_msi_get_fwnode_cb(), which may get invoked at runtime during a PCI host bridge probe. But, the call back is wrongly marked as __init, causing it to be freed, while being registered with the PCI subsystem and could trigger:
Unable to handle kernel paging request at virtual address ffff8000816c0400 gicv2m_get_fwnode+0x0/0x58 (P) pci_set_bus_msi_domain+0x74/0x88 pci_register_host_bridge+0x194/0x548
This is easily reproducible on a Juno board with ACPI boot.
Retain the function for later use.
Weakness: CWE-416
Which versions are affected by CVE-2025-37819?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37819?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2025-37819 being exploited?
There is no known exploitation of CVE-2025-37819 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37819, DEBIAN-CVE-2025-37819, GHSA-5c72-frqm-r8r4, ROOT-OS-DEBIAN-11-CVE-2025-37819, ROOT-OS-DEBIAN-12-CVE-2025-37819, ROOT-OS-UBUNTU-2204-CVE-2025-37819 and 2 more.