VDB

CVE-2025-37819

CVE-2025-37819 PUBLISHED

irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()

Reported by linux · Published May 8, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.140-154.222.amzn2023

Affected products

VendorProductVersions
LinuxLinux0644b3daca28dcb320373ae20069c269c9386304, 0644b3daca28dcb320373ae20069c269c9386304, 0644b3daca28dcb320373ae20069c269c9386304
LinuxLinux4.5, 0, 5.4.294
amazon:2023perf0
linuxlinux_kernel4.5, 4.5, 4.5
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf0
LinuxLinux5.15.182, 0644b3daca28dcb320373ae20069c269c9386304, 0644b3daca28dcb320373ae20069c269c9386304
amazon:2023perf6.120
amazon:2023kernel-devel0
amazon:2023kernel6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.140-154.2220
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel-libbpf-static0

…and 3 more

Timeline

  • May 7, 2025 CVE Published
  • May 8, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (169 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (173 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37819
vulnetix vdb fixes CVE-2025-37819

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37819/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›