<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-01T15:39:57.941564+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2025-38069</id>
    <title>CVE-2025-38069 — PCI: endpoint: pci-epf-test: Fix double free that causes kernel to oops</title>
    <updated>2026-10-01T15:39:57.943497+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: endpoint: pci-epf-test: Fix double free that causes kernel to oops</p>
<p>Fix a kernel oops found while testing the stm32_pcie Endpoint driver
with handling of PERST# deassertion:</p>
<p>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).</p>
<p>However, when pci_epc_set_bar() fails, the error path:</p>
<p>pci_epc_set_bar() -&gt;
    pci_epf_free_space()</p>
<p>does not clear the previous assignment to epf_test-&gt;reg[bar].</p>
<p>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-&gt;reg[bar] was
deallocated and is still non-NULL.</p>
<p>Thus, make sure that pci_epf_alloc_space() and pci_epf_free_space()
invocations are symmetric, and as such, set epf_test-&gt;reg[bar] to NULL
when memory is freed.</p>
<p>[kwilczynski: commit log]</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-38069"/>
  </entry>
</feed>
