# CVE-2026-64462: PCI: altera: Fix resource leaks on probe failure

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-07-25T08:51:29.013Z
- Modified: 2026-11-18T21:53:58.563Z
- Weaknesses: CWE-416
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c63aed7334c21de8d626ff028ccad98cf5847a0e before af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 9cf0cc481e1645ec65e61486ae41c486c59781cb; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 99fc088d6cc6890ae35fa2f29c50ebe027844c20; from c63aed7334c21de8d626ff028ccad98cf5847a0e before a25bfa2a6665a1d77324d4a609e7513b87680227; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 6864c789b570e57f932847fa83f6b56917182d73; from c63aed7334c21de8d626ff028ccad98cf5847a0e before 7a94138caeb27f3c49c1dbd93bf422098925bb28; 5.9 (not affected: before 5.9; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.9 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.97; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7> (patch)
- <https://git.kernel.org/stable/c/9cf0cc481e1645ec65e61486ae41c486c59781cb> (patch)
- <https://git.kernel.org/stable/c/99fc088d6cc6890ae35fa2f29c50ebe027844c20> (patch)
- <https://git.kernel.org/stable/c/a25bfa2a6665a1d77324d4a609e7513b87680227> (patch)
- <https://git.kernel.org/stable/c/0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911a> (patch)
- <https://git.kernel.org/stable/c/09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9> (patch)
- <https://git.kernel.org/stable/c/6864c789b570e57f932847fa83f6b56917182d73> (patch)
- <https://git.kernel.org/stable/c/7a94138caeb27f3c49c1dbd93bf422098925bb28> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-64462 · Whole record: https://cve.day/CVE-2026-64462.json · Rebuilt by cve.day 2026-11-25T22:59:30.133Z
