# CVE-2025-37819: irqchip/gic-v2m: Prevent use after free of gicv2m\_get\_fwnode()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-08T06:26:13.975Z
- **Modified:** 2026-06-17T09:15:30.200Z

## Who should check

- Anyone running Linux \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 0c241dedc43a036599757cd08f356253fa3e5014; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< b63de43af8d215b0499eac28b2caa4439183efc1; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< f95659affee301464f0d058d528d96b35b452da8; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< dc0d654eb4179b06d3206e4396d072108b9ba082; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 2f2803e4b5e4df2b08d378deaab78b1681ef9b30; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3939d6f29d34cdb60e3f68b76e39e00a964a1d51; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 47bee0081b483b077c7560bc5358ad101f89c8ef; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3318dc299b072a0511d6dfd8367f3304fb6d9827
- Anyone running Linux 4.5

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

## Affected and fixed versions

- Linux: \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 0c241dedc43a036599757cd08f356253fa3e5014; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< b63de43af8d215b0499eac28b2caa4439183efc1; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< f95659affee301464f0d058d528d96b35b452da8; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< dc0d654eb4179b06d3206e4396d072108b9ba082; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 2f2803e4b5e4df2b08d378deaab78b1681ef9b30; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3939d6f29d34cdb60e3f68b76e39e00a964a1d51; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 47bee0081b483b077c7560bc5358ad101f89c8ef; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3318dc299b072a0511d6dfd8367f3304fb6d9827 (cvelist)
- Linux: 4.5 (cvelist)

## Mitigation

- Upgrade Linux to 3318dc299b072a0511d6dfd8367f3304fb6d9827 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37819. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37819.md
Affected: Linux >= 0644b3daca28dcb320373ae20069c269c9386304, < 0c241dedc43a036599757cd08f356253fa3e5014; >= 0644b3daca28dcb320373ae20069c269c9386304, < b63de43af8d215b0499eac28b2caa4439183efc1; >= 0644b3daca28dcb320373ae20069c269c9386304, < f95659affee301464f0d058d528d96b35b452da8; >= 0644b3daca28dcb320373ae…
Fixed in: Linux 0c241dedc43a036599757cd08f356253fa3e5014, Linux 2f2803e4b5e4df2b08d378deaab78b1681ef9b30, Linux 3939d6f29d34cdb60e3f68b76e39e00a964a1d51, Linux 47bee0081b483b077c7560bc5358ad101f89c8ef, Linux 3318dc299b072a0511d6dfd8367f3304fb6d9827

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37819 being exploited?

There is no confirmed exploitation: CVE-2025-37819 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37819?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37819?

Linux \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 0c241dedc43a036599757cd08f356253fa3e5014; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< b63de43af8d215b0499eac28b2caa4439183efc1; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< f95659affee301464f0d058d528d96b35b452da8; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< dc0d654eb4179b06d3206e4396d072108b9ba082; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 2f2803e4b5e4df2b08d378deaab78b1681ef9b30; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3939d6f29d34cdb60e3f68b76e39e00a964a1d51; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 47bee0081b483b077c7560bc5358ad101f89c8ef; \>= 0644b3daca28dcb320373ae20069c269c9386304, \< 3318dc299b072a0511d6dfd8367f3304fb6d9827; Linux 4.5.

### Is there a fix for CVE-2025-37819?

Yes. Fixed in Linux 0c241dedc43a036599757cd08f356253fa3e5014, Linux 2f2803e4b5e4df2b08d378deaab78b1681ef9b30, Linux 3939d6f29d34cdb60e3f68b76e39e00a964a1d51, Linux 47bee0081b483b077c7560bc5358ad101f89c8ef, Linux 3318dc299b072a0511d6dfd8367f3304fb6d9827. Upgrade Linux to 3318dc299b072a0511d6dfd8367f3304fb6d9827 or later.

### How do I check if I'm affected by CVE-2025-37819?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37819>

HTML: <https://flawdb.com/CVE-2025-37819> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37819>
