<?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-05T12:47:43.222889+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-143364</id>
    <title>CVE-2026-143364 — bpf: Clamp the trace length before the skip test in stackid_init()</title>
    <updated>2026-12-05T12:47:43.225720+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>bpf: Clamp the trace length before the skip test in stackid_init()</p>
<p>stackid_init() gives a bucket of the stack map
min(trace_nr - skip, max_depth - skip) trace entries. Here max_depth is the
size of a bucket plus skip, but at most perf_event_max_stack. Context
markers can make trace_nr larger than that, so the skip test can pass when
max_depth &lt; skip. Then 'max_depth - skip' wraps, and the kernel can write
after the bucket.</p>
<p>Clamp trace_nr to max_depth before the skip test, as __bpf_get_stack_pe()
does. The result changes only when skip &gt;= max_depth. Then it is -EFAULT.
Until now skip == max_depth could give the id of an empty trace.</p>
<p>get_perf_callchain() releases the trace, so an NMI can change trace-&gt;nr.
Use READ_ONCE() in bpf_get_stackid(), so the compiler reads it one time.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143364"/>
  </entry>
</feed>
