<?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://vulnerability.circl.lu</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, 02 Oct 2026 18:39:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38069 — PCI: endpoint: pci-epf-test: Fix double free that causes kernel to oops</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38069</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: endpoint: pci-epf-test: Fix double free that causes kernel to oops&lt;/p&gt;
&lt;p&gt;Fix a kernel oops found while testing the stm32_pcie Endpoint driver
with handling of PERST# deassertion:&lt;/p&gt;
&lt;p&gt;During EP initialization, pci_epf_test_alloc_space() allocates all BARs,
which are further freed if epc_set_bar() fails (for instance, due to no
free inbound window).&lt;/p&gt;
&lt;p&gt;However, when pci_epc_set_bar() fails, the error path:&lt;/p&gt;
&lt;p&gt;pci_epc_set_bar() -&amp;gt;
    pci_epf_free_space()&lt;/p&gt;
&lt;p&gt;does not clear the previous assignment to epf_test-&amp;gt;reg[bar].&lt;/p&gt;
&lt;p&gt;Then, if the host reboots, the PERST# deassertion restarts the BAR
allocation sequence with the same allocation failure (no free inbound
window), creating a double free situation since epf_test-&amp;gt;reg[bar] was
deallocated and is still non-NULL.&lt;/p&gt;
&lt;p&gt;Thus, make sure that pci_epf_alloc_space() and pci_epf_free_space()
invocations are symmetric, and as such, set epf_test-&amp;gt;reg[bar] to NULL
when memory is freed.&lt;/p&gt;
&lt;p&gt;[kwilczynski: commit log]&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: endpoint: pci-epf-test: Fix double free that causes kernel to oops&lt;/p&gt;
&lt;p&gt;Fix a kernel oops found while testing the stm32_pcie Endpoint driver
with handling of PERST# deassertion:&lt;/p&gt;
&lt;p&gt;During EP initialization, pci_epf_test_alloc_space() allocates all BARs,
which are further freed if epc_set_bar() fails (for instance, due to no
free inbound window).&lt;/p&gt;
&lt;p&gt;However, when pci_epc_set_bar() fails, the error path:&lt;/p&gt;
&lt;p&gt;pci_epc_set_bar() -&amp;gt;
    pci_epf_free_space()&lt;/p&gt;
&lt;p&gt;does not clear the previous assignment to epf_test-&amp;gt;reg[bar].&lt;/p&gt;
&lt;p&gt;Then, if the host reboots, the PERST# deassertion restarts the BAR
allocation sequence with the same allocation failure (no free inbound
window), creating a double free situation since epf_test-&amp;gt;reg[bar] was
deallocated and is still non-NULL.&lt;/p&gt;
&lt;p&gt;Thus, make sure that pci_epf_alloc_space() and pci_epf_free_space()
invocations are symmetric, and as such, set epf_test-&amp;gt;reg[bar] to NULL
when memory is freed.&lt;/p&gt;
&lt;p&gt;[kwilczynski: commit log]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38069</guid>
    </item>
  </channel>
</rss>
