<?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>Mon, 05 Oct 2026 15:26:35 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35895 — bpf, sockmap: Prevent lock inversion deadlock in map delete elem</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-35895</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf, sockmap: Prevent lock inversion deadlock in map delete elem&lt;/p&gt;
&lt;p&gt;syzkaller started using corpuses where a BPF tracing program deletes
elements from a sockmap/sockhash map. Because BPF tracing programs can be
invoked from any interrupt context, locks taken during a map_delete_elem
operation must be hardirq-safe. Otherwise a deadlock due to lock inversion
is possible, as reported by lockdep:&lt;/p&gt;
&lt;p&gt;CPU0                    CPU1
       ----                    ----
  lock(&amp;amp;htab-&amp;gt;buckets[i].lock);
                               local_irq_disable();
                               lock(&amp;amp;host-&amp;gt;lock);
                               lock(&amp;amp;htab-&amp;gt;buckets[i].lock);
  &amp;lt;Interrupt&amp;gt;
    lock(&amp;amp;host-&amp;gt;lock);&lt;/p&gt;
&lt;p&gt;Locks in sockmap are hardirq-unsafe by design. We expects elements to be
deleted from sockmap/sockhash only in task (normal) context with interrupts
enabled, or in softirq context.&lt;/p&gt;
&lt;p&gt;Detect when map_delete_elem operation is invoked from a context which is
_not_ hardirq-unsafe, that is interrupts are disabled, and bail out with an
error.&lt;/p&gt;
&lt;p&gt;Note that map updates are not affected by this issue. BPF verifier does not
allow updating sockmap/sockhash from a BPF tracing program today.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;bpf, sockmap: Prevent lock inversion deadlock in map delete elem&lt;/p&gt;
&lt;p&gt;syzkaller started using corpuses where a BPF tracing program deletes
elements from a sockmap/sockhash map. Because BPF tracing programs can be
invoked from any interrupt context, locks taken during a map_delete_elem
operation must be hardirq-safe. Otherwise a deadlock due to lock inversion
is possible, as reported by lockdep:&lt;/p&gt;
&lt;p&gt;CPU0                    CPU1
       ----                    ----
  lock(&amp;amp;htab-&amp;gt;buckets[i].lock);
                               local_irq_disable();
                               lock(&amp;amp;host-&amp;gt;lock);
                               lock(&amp;amp;htab-&amp;gt;buckets[i].lock);
  &amp;lt;Interrupt&amp;gt;
    lock(&amp;amp;host-&amp;gt;lock);&lt;/p&gt;
&lt;p&gt;Locks in sockmap are hardirq-unsafe by design. We expects elements to be
deleted from sockmap/sockhash only in task (normal) context with interrupts
enabled, or in softirq context.&lt;/p&gt;
&lt;p&gt;Detect when map_delete_elem operation is invoked from a context which is
_not_ hardirq-unsafe, that is interrupts are disabled, and bail out with an
error.&lt;/p&gt;
&lt;p&gt;Note that map updates are not affected by this issue. BPF verifier does not
allow updating sockmap/sockhash from a BPF tracing program today.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-35895</guid>
    </item>
  </channel>
</rss>
