PCI: altera: Fix resource leaks on probe failure
Summary
| CVE | CVE-2026-64462 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:31 UTC |
| Updated | 2026-07-25 10:17:31 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: PCI: altera: Fix resource leaks on probe failure The chained IRQ handler is set during probe, but is only removed during the driver remove(). If pci_host_probe() fails, the handler and INTx IRQ domain remain set even though the devm-managed host bridge storage containing struct altera_pcie will be released, leaving the handler with a stale data pointer. Interrupts are also enabled before pci_host_probe() is called. If probe fails after that point, the controller interrupt source should be disabled before the chained handler and INTx domain are removed. So set the chained handler only after the INTx domain has been created. Disable controller interrupts during IRQ teardown, and tear the IRQ setup down if pci_host_probe() fails. [mani: commit log] |
Risk And Classification
EPSS: 0.001840000 probability, percentile 0.083470000 (date 2026-07-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7 git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 9cf0cc481e1645ec65e61486ae41c486c59781cb git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 99fc088d6cc6890ae35fa2f29c50ebe027844c20 git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e a25bfa2a6665a1d77324d4a609e7513b87680227 git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9 git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 6864c789b570e57f932847fa83f6b56917182d73 git | Not specified |
| CNA | Linux | Linux | affected c63aed7334c21de8d626ff028ccad98cf5847a0e 7a94138caeb27f3c49c1dbd93bf422098925bb28 git | Not specified |
| CNA | Linux | Linux | affected 5.9 | Not specified |
| CNA | Linux | Linux | unaffected 5.9 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.261 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.212 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.178 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.145 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.97 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/7a94138caeb27f3c49c1dbd93bf422098925bb28 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/99fc088d6cc6890ae35fa2f29c50ebe027844c20 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6864c789b570e57f932847fa83f6b56917182d73 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9cf0cc481e1645ec65e61486ae41c486c59781cb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/a25bfa2a6665a1d77324d4a609e7513b87680227 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.