# CVE-2025-37819: irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:13.975Z
- Modified: 2026-06-17T09:15:30.200Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0644b3daca28dcb320373ae20069c269c9386304 before 0c241dedc43a036599757cd08f356253fa3e5014; from 0644b3daca28dcb320373ae20069c269c9386304 before b63de43af8d215b0499eac28b2caa4439183efc1; from 0644b3daca28dcb320373ae20069c269c9386304 before f95659affee301464f0d058d528d96b35b452da8; from 0644b3daca28dcb320373ae20069c269c9386304 before dc0d654eb4179b06d3206e4396d072108b9ba082; from 0644b3daca28dcb320373ae20069c269c9386304 before 2f2803e4b5e4df2b08d378deaab78b1681ef9b30; from 0644b3daca28dcb320373ae20069c269c9386304 before 3939d6f29d34cdb60e3f68b76e39e00a964a1d51; from 0644b3daca28dcb320373ae20069c269c9386304 before 47bee0081b483b077c7560bc5358ad101f89c8ef; from 0644b3daca28dcb320373ae20069c269c9386304 before 3318dc299b072a0511d6dfd8367f3304fb6d9827; 4.5 (not affected: before 4.5; from 5.4.294 up to 5.4.*; from 5.10.238 up to 5.10.*; from 5.15.182 up to 5.15.*; from 6.1.138 up to 6.1.*; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 4.5 before 5.4.294; from 5.5 before 5.10.238; from 5.11 before 5.15.182; from 5.16 before 6.1.138; from 6.2 before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/0c241dedc43a036599757cd08f356253fa3e5014> (patch)
- <https://git.kernel.org/stable/c/b63de43af8d215b0499eac28b2caa4439183efc1> (patch)
- <https://git.kernel.org/stable/c/f95659affee301464f0d058d528d96b35b452da8> (patch)
- <https://git.kernel.org/stable/c/dc0d654eb4179b06d3206e4396d072108b9ba082> (patch)
- <https://git.kernel.org/stable/c/2f2803e4b5e4df2b08d378deaab78b1681ef9b30> (patch)
- <https://git.kernel.org/stable/c/3939d6f29d34cdb60e3f68b76e39e00a964a1d51> (patch)
- <https://git.kernel.org/stable/c/47bee0081b483b077c7560bc5358ad101f89c8ef> (patch)
- <https://git.kernel.org/stable/c/3318dc299b072a0511d6dfd8367f3304fb6d9827> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-37819](https://www.cve.org/CVERecord?id=CVE-2025-37819), CVE Terms of Use, modified 2026-06-11
- NVD: [CVE-2025-37819](https://nvd.nist.gov/vuln/detail/CVE-2025-37819), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37819 · Whole record: https://cve.day/CVE-2025-37819.json · Rebuilt by cve.day 2026-11-25T22:58:57.798Z
