<?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>Sat, 05 Dec 2026 12:28:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143364 — bpf: Clamp the trace length before the skip test in stackid_init()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143364</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;bpf: Clamp the trace length before the skip test in stackid_init()&lt;/p&gt;
&lt;p&gt;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 &amp;lt; skip. Then &amp;#39;max_depth - skip&amp;#39; wraps, and the kernel can write
after the bucket.&lt;/p&gt;
&lt;p&gt;Clamp trace_nr to max_depth before the skip test, as __bpf_get_stack_pe()
does. The result changes only when skip &amp;gt;= max_depth. Then it is -EFAULT.
Until now skip == max_depth could give the id of an empty trace.&lt;/p&gt;
&lt;p&gt;get_perf_callchain() releases the trace, so an NMI can change trace-&amp;gt;nr.
Use READ_ONCE() in bpf_get_stackid(), so the compiler reads it one time.&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;bpf: Clamp the trace length before the skip test in stackid_init()&lt;/p&gt;
&lt;p&gt;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 &amp;lt; skip. Then &amp;#39;max_depth - skip&amp;#39; wraps, and the kernel can write
after the bucket.&lt;/p&gt;
&lt;p&gt;Clamp trace_nr to max_depth before the skip test, as __bpf_get_stack_pe()
does. The result changes only when skip &amp;gt;= max_depth. Then it is -EFAULT.
Until now skip == max_depth could give the id of an empty trace.&lt;/p&gt;
&lt;p&gt;get_perf_callchain() releases the trace, so an NMI can change trace-&amp;gt;nr.
Use READ_ONCE() in bpf_get_stackid(), so the compiler reads it one time.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143364</guid>
    </item>
  </channel>
</rss>
