<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:52:11.737422+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-139503</id>
    <title>CVE-2026-139503 — PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()</title>
    <updated>2026-12-04T19:52:11.738304+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()</p>
<p>When an AER error occurs, candidate error-source devices are added to
e_info-&gt;dev[] by add_error_device(), which takes a reference with
pci_dev_get().</p>
<p>A device can be recorded without any error status being present: the
Requester ID fast path in is_error_source(),</p>
<p>if (e_info-&gt;id == pci_dev_id(dev))
    return true;</p>
<p>matches purely on the ID reported by the Root Port and returns true without
reading the device's AER status registers.</p>
<p>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 &amp; ~mask == 0) or if no unmasked status bit is set.</p>
<p>Because handle_error_source() was responsible for calling pci_dev_put(),
skipping it permanently leaks the reference taken in add_error_device().</p>
<p>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.</p>
<p>handle_error_source() is static and aer_process_err_devices() is its only
caller, so no other path is affected.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-139503"/>
  </entry>
</feed>
