<?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-09-30T01:09:34.766345+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-2026-80651</id>
    <title>CVE-2026-80651 — crypto: ccp/sev-dev-tsm - bail out early when pdev-&gt;bus is NULL</title>
    <updated>2026-09-30T01:09:35.030963+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>crypto: ccp/sev-dev-tsm - bail out early when pdev-&gt;bus is NULL</p>
<p>dsm_create() initially checks pdev-&gt;bus when computing segment_id:</p>
<p>u8 segment_id = pdev-&gt;bus ? pci_domain_nr(pdev-&gt;bus) : 0;</p>
<p>But the next two lines unconditionally dereference pdev-&gt;bus via
pcie_find_root_port() and especially pci_dev_id(pdev), which expands
to PCI_DEVID(dev-&gt;bus-&gt;number, dev-&gt;devfn). If pdev-&gt;bus is in fact
NULL, segment_id is initialised to 0 but the very next statement
crashes the kernel.</p>
<p>smatch flags this:</p>
<p>drivers/crypto/ccp/sev-dev-tsm.c:253 dsm_create() error: we
    previously assumed 'pdev-&gt;bus' could be null (see line 251)</p>
<p>Make the NULL handling consistent: if pdev-&gt;bus is NULL the device
has no PCI context to work with and SEV TIO setup cannot proceed,
so return -ENODEV before any of the bus-dependent lookups. The
remaining initialisation now runs only on the path where pdev-&gt;bus
is known to be valid.</p>
<p>No change for callers where pdev-&gt;bus is non-NULL, which is the
only case where dsm_create() did meaningful work before this change.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80651"/>
  </entry>
</feed>
