CVE-2026-139503

PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139503

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139503 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before 0f3e35695ac37ca2bee7f5667e7e25d0162c52cc
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before c760b60115731964ed4194230c48b28494b28d46
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before 9f17ba6c5cac3435796f484d9b469d77c32e69c3
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before 98e8a9f2963cfb490d9168196d4df1d32018ea82
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before d4ab82ee6c7cc9dac2015b0ed3860c42b0293e87
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before 34c314689c5e4b9f5b4f0f954098143d5785b085
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before f46caad2cbb5c168e474764a27244facf148251c
affected from 60271ab044a53edb9dcbe76bebea2221c4ff04d9, before e86ac10110d00e6c3801f38bde1863951315222b
affected f3f55d83ea0d7fa5dddfb5a51f3eb92345919da3
affected from 4.19.85, before 4.20
Other versions: unaffected
Linux
affected 4.20
unaffected before 4.20
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139503 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139503

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139503
trivy image --scanners vuln IMAGE | grep CVE-2026-139503

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139503 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.