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

CVE-2025-37819
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0644b3daca28dcb320373ae20069c269c9386304 < 0c241dedc43a036599757cd08f356253fa3e5014 ; affected 0644b3daca28dcb320373ae20069c269c9386304 < b63de43af8d215b0499eac28b2caa4439183efc1 ; affected 0644b3daca28dcb320373ae20069c269c9386304 < f95659affee301464f0d058d528d96b35b452da8 ; affected 0644b3daca28dcb320373ae20069c269c9386304 < dc0d654eb4179b06d3206e4396d072108b9ba082 ; affected 0644b3daca28dcb320373ae20069c269c9386304 < 2f2803e4b5e4df2b08d378deaab78b1681ef9b30 ; affected 0644b3daca28dcb320373ae20069c269c9386304 < 3939d6f29d34cdb60e3f68b76e39e00a964a1d51
Linux · Linuxaffected 4.5 ; unaffected 0 < 4.5 ; unaffected 5.4.294 ≤ 5.4.* ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.182 ≤ 5.15.* ; unaffected 6.1.138 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD