<?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>Fri, 04 Dec 2026 19:44:10 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99878 — LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99878</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;LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()&lt;/p&gt;
&lt;p&gt;When running BPF selftest &amp;#34;test_progs -t timer_lockup&amp;#34; on a LoongArch
machine, the kernel intermittently experiences soft lockups and panics
in hrtimer_cancel().&lt;/p&gt;
&lt;p&gt;The root cause is that the bpf_timer_cancel() implementation relies on
smp_mb__after_atomic() to provide a full data barrier after a relaxed
atomic_inc() to ensure the proper store-load ordering before performing
lockless dependency checks on weakly-ordered architectures, such as on
LoongArch, but the current definition of smp_mb__after_atomic() is just
a plain compiler barrier.&lt;/p&gt;
&lt;p&gt;This allows a subsequent read to bypass the prior write due to store-
load reordering, enabling concurrent CPUs to simultaneously bypass the
software deadlock detection, enter hrtimer_cancel(), and then trigger a
severe ABBA deadlock in the hrtimer core.&lt;/p&gt;
&lt;p&gt;Moreover, there are hundreds of smp_mb__after_atomic() call sites across
the core kernel (kernel/, drivers/, mm/, net/, fs/) that currently lack
necessary full data barriers on LoongArch, which have potential risks.&lt;/p&gt;
&lt;p&gt;To comply with the LKMM specification, fix this by removing the arch-
specific definition of __smp_mb__after_atomic(), so that this macro can
automatically fall back to the generic definition in asm-generic that
maps to __smp_mb() and emits the required hardware DBAR instruction.&lt;/p&gt;
&lt;p&gt;While at it, do the same thing for __smp_mb__before_atomic().…&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;LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()&lt;/p&gt;
&lt;p&gt;When running BPF selftest &amp;#34;test_progs -t timer_lockup&amp;#34; on a LoongArch
machine, the kernel intermittently experiences soft lockups and panics
in hrtimer_cancel().&lt;/p&gt;
&lt;p&gt;The root cause is that the bpf_timer_cancel() implementation relies on
smp_mb__after_atomic() to provide a full data barrier after a relaxed
atomic_inc() to ensure the proper store-load ordering before performing
lockless dependency checks on weakly-ordered architectures, such as on
LoongArch, but the current definition of smp_mb__after_atomic() is just
a plain compiler barrier.&lt;/p&gt;
&lt;p&gt;This allows a subsequent read to bypass the prior write due to store-
load reordering, enabling concurrent CPUs to simultaneously bypass the
software deadlock detection, enter hrtimer_cancel(), and then trigger a
severe ABBA deadlock in the hrtimer core.&lt;/p&gt;
&lt;p&gt;Moreover, there are hundreds of smp_mb__after_atomic() call sites across
the core kernel (kernel/, drivers/, mm/, net/, fs/) that currently lack
necessary full data barriers on LoongArch, which have potential risks.&lt;/p&gt;
&lt;p&gt;To comply with the LKMM specification, fix this by removing the arch-
specific definition of __smp_mb__after_atomic(), so that this macro can
automatically fall back to the generic definition in asm-generic that
maps to __smp_mb() and emits the required hardware DBAR instruction.&lt;/p&gt;
&lt;p&gt;While at it, do the same thing for __smp_mb__before_atomic().…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99878</guid>
    </item>
  </channel>
</rss>
