CVE-2026-139503
publishedPCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 0f3e35695ac37ca2bee7f5667e7e25d0162c52cc · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < c760b60115731964ed4194230c48b28494b28d46 · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 9f17ba6c5cac3435796f484d9b469d77c32e69c3 · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 98e8a9f2963cfb490d9168196d4df1d32018ea82 · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87 · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 34c314689c5e4b9f5b4f0f954098143d5785b085 · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < f46caad2cbb5c168e474764a27244facf148251c · 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < e86ac10110d00e6c3801f38bde1863951315222b · f3f55d83ea0d7fa5dddfb5a51f3eb92345919da3 · 4.19.85 to < 4.20 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.20 (affected) · 0 to < 4.20 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices() When an AER error occurs, candidate error-source devices are added to e_info->dev[] by add_error_device(), which takes a reference with pci_dev_get(). A device can be recorded without any error status being present: the Requester ID fast path in is_error_source(), if (e_info->id == pci_dev_id(dev)) return true; matches purely on the ID reported by the Root Port and returns true without reading the device's AER status registers. In aer_process_err_devices(), handle_error_source() is called only if aer_get_device_error_info() returns non-zero, i.e. only if an unmasked error status bit is actually set. It returns 0 if the device has become inaccessible (status and mask both read as all ones, so status & ~mask == 0) or if no unmasked status bit is set. Because handle_error_source() was responsible for calling pci_dev_put(), skipping it permanently leaks the reference taken in add_error_device(). Decouple reference lifetime from error handling by moving pci_dev_put() out of handle_error_source() and into the aer_process_err_devices() loop, so every recorded device is put exactly once. handle_error_source() is static and aer_process_err_devices() is its only caller, so no other path is affected.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 0f3e35695ac37ca2bee7f5667e7e25d0162c52cc (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < c760b60115731964ed4194230c48b28494b28d46 (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 9f17ba6c5cac3435796f484d9b469d77c32e69c3 (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 98e8a9f2963cfb490d9168196d4df1d32018ea82 (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87 (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < 34c314689c5e4b9f5b4f0f954098143d5785b085 (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < f46caad2cbb5c168e474764a27244facf148251c (affected · git)60271ab044a53edb9dcbe76bebea2221c4ff04d9 to < e86ac10110d00e6c3801f38bde1863951315222b (affected · git)f3f55d83ea0d7fa5dddfb5a51f3eb92345919da3 (affected · git)4.19.85 to < 4.20 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 4.20 (affected)0 to < 4.20 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0f3e35695ac37ca2bee7f5667e7e25d0162c52cc
- https://git.kernel.org/stable/c/34c314689c5e4b9f5b4f0f954098143d5785b085
- https://git.kernel.org/stable/c/98e8a9f2963cfb490d9168196d4df1d32018ea82
- https://git.kernel.org/stable/c/9f17ba6c5cac3435796f484d9b469d77c32e69c3
- https://git.kernel.org/stable/c/c760b60115731964ed4194230c48b28494b28d46
- https://git.kernel.org/stable/c/d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87
- https://git.kernel.org/stable/c/e86ac10110d00e6c3801f38bde1863951315222b
- https://git.kernel.org/stable/c/f46caad2cbb5c168e474764a27244facf148251c
Provider assertions
1Linux · cna
PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d1743d3a0f0c19e75b879a494d19e886b82a74cc68693b1beaabe6359904f9b
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record