Skip to main content
VulnerabilityPublished

CVE-2026-99878: Linux kernel · LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-99878· High

Not known to be exploited · fixed in a307ab34e323be8e18cfca948d6fee6a00457ca4 : patch Linux kernel soon.

Data as of 30 Nov 2026, 17:16 UTC

Severity
High

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in a307ab34e323be8e18cfca948d6fee6a00457ca4, 85cebdfee765e92e748e71b9b91889eef5988282, 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to a307ab34e323be8e18cfca948d6fee6a00457ca4, 85cebdfee765e92e748e71b9b91889eef5988282, 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b or 0b131557b0e31706bc6e43cf0c986cf0a35a5871.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ affef66b65889a0ea0060e13e5f7fe569897d787, < a307ab34e323be8e18cfca948d6fee6a00457ca4
Fixed in
  • a307ab34e323be8e18cfca948d6fee6a00457ca4
LinuxLinuxAffected
  • ≥ affef66b65889a0ea0060e13e5f7fe569897d787, < 85cebdfee765e92e748e71b9b91889eef5988282
Fixed in
  • 85cebdfee765e92e748e71b9b91889eef5988282
LinuxLinuxAffected
  • ≥ affef66b65889a0ea0060e13e5f7fe569897d787, < 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b
Fixed in
  • 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b
LinuxLinuxAffected
  • ≥ affef66b65889a0ea0060e13e5f7fe569897d787, < 0b131557b0e31706bc6e43cf0c986cf0a35a5871
Fixed in
  • 0b131557b0e31706bc6e43cf0c986cf0a35a5871
LinuxLinuxAffected
  • =6.7
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic() When running BPF selftest "test_progs -t timer_lockup" on a LoongArch machine, the kernel intermittently experiences soft lockups and panics in hrtimer_cancel(). 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. 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. 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. 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. While at it, do the same thing for __smp_mb__before_atomic(). With this patch the BPF timer_lockup selftest was stressed for millions consecutive loops on a physical LoongArch machine, without encountering any further lockups.

References

Community reviews

Loading reviews…