<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:51:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139503 — PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139503</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()&lt;/p&gt;
&lt;p&gt;When an AER error occurs, candidate error-source devices are added to
e_info-&amp;gt;dev[] by add_error_device(), which takes a reference with
pci_dev_get().&lt;/p&gt;
&lt;p&gt;A device can be recorded without any error status being present: the
Requester ID fast path in is_error_source(),&lt;/p&gt;
&lt;p&gt;if (e_info-&amp;gt;id == pci_dev_id(dev))
    return true;&lt;/p&gt;
&lt;p&gt;matches purely on the ID reported by the Root Port and returns true without
reading the device&amp;#39;s AER status registers.&lt;/p&gt;
&lt;p&gt;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;amp; ~mask == 0) or if no unmasked status bit is set.&lt;/p&gt;
&lt;p&gt;Because handle_error_source() was responsible for calling pci_dev_put(),
skipping it permanently leaks the reference taken in add_error_device().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;handle_error_source() is static and aer_process_err_devices() is its only
caller, so no other path is affected.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;PCI/AER: Fix struct pci_dev reference leak in aer_process_err_devices()&lt;/p&gt;
&lt;p&gt;When an AER error occurs, candidate error-source devices are added to
e_info-&amp;gt;dev[] by add_error_device(), which takes a reference with
pci_dev_get().&lt;/p&gt;
&lt;p&gt;A device can be recorded without any error status being present: the
Requester ID fast path in is_error_source(),&lt;/p&gt;
&lt;p&gt;if (e_info-&amp;gt;id == pci_dev_id(dev))
    return true;&lt;/p&gt;
&lt;p&gt;matches purely on the ID reported by the Root Port and returns true without
reading the device&amp;#39;s AER status registers.&lt;/p&gt;
&lt;p&gt;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;amp; ~mask == 0) or if no unmasked status bit is set.&lt;/p&gt;
&lt;p&gt;Because handle_error_source() was responsible for calling pci_dev_put(),
skipping it permanently leaks the reference taken in add_error_device().&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;handle_error_source() is static and aer_process_err_devices() is its only
caller, so no other path is affected.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139503</guid>
    </item>
  </channel>
</rss>
