CVE-2026-99878
Last modified
CVE-2026-99878 is a vulnerability of currently unknown severity. 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..
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= affef66b65889a0ea0060e13e5f7fe569897d787, < 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b; >= affef66b65889a0ea0060e13e5f7fe569897d787, < a307ab34e323be8e18cfca948d6fee6a00457ca4; >= affef66b65889a0ea0060e13e5f7fe569897d787, < 0b131557b0e31706bc6e43cf0c986cf0a35a5871; >= affef66b65889a0ea0060e13e5f7fe569897d787, < 85cebdfee765e92e748e71b9b91889eef5988282 |
| Linux | Linux | 6.7 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99878?
How severe is CVE-2026-99878?
How do I fix CVE-2026-99878?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99872In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99873In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99874In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-99875In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99876In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99877In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99879In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9988Use after free in WebRTC in Google Chrome on Linux prior to …8.3
- CVE-2026-99880In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99881In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99882In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99883In the Linux kernel, the following vulnerability has been re…7.3
Are you affected by CVE-2026-99878?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
