CVE-2026-64462

PCI: altera: Fix resource leaks on probe failure

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before af7cf5d56d7d57c4fbfdb7b5b693790f331b07b7Affected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 9cf0cc481e1645ec65e61486ae41c486c59781cbAffected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 99fc088d6cc6890ae35fa2f29c50ebe027844c20Affected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before a25bfa2a6665a1d77324d4a609e7513b87680227Affected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 0db9aa9ec51be0a0ffdcdfd9af2b7bf3aeb7911aAffected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 09c43b7b7d29c6fadb27f32cdf7f3bb6598befa9Affected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 6864c789b570e57f932847fa83f6b56917182d73Affected
  • c63aed7334c21de8d626ff028ccad98cf5847a0e to before 7a94138caeb27f3c49c1dbd93bf422098925bb28Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.