CVE-2025-37819

HIGH

Linux Kernel Use-After-Free in gicv2m_get_fwnode

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0008
EPSS Percentile 23.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (28)
debian/debian_linux 11.0
linux/Kernel 4.5.0 - 5.4.294linux
linux/Kernel 5.11.0 - 5.15.182linux
linux/Kernel 5.16.0 - 6.1.138linux
linux/Kernel 5.5.0 - 5.10.238linux
linux/Kernel 6.13.0 - 6.14.5linux
linux/Kernel 6.2.0 - 6.6.89linux
linux/Kernel 6.7.0 - 6.12.26linux
Linux/Linux < 4.5
Linux/Linux 0644b3daca28dcb320373ae20069c269c9386304 - 0c241dedc43a036599757cd08f356253fa3e5014
... and 18 more
Published May 08, 2025
Tracked Since Feb 18, 2026