Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99878

published

LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()

Published
30 Nov 2026, 13:17:54 UTC
Updated
30 Nov 2026, 13:17:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxaffef66b65889a0ea0060e13e5f7fe569897d787 to < 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b · affef66b65889a0ea0060e13e5f7fe569897d787 to < a307ab34e323be8e18cfca948d6fee6a00457ca4 · affef66b65889a0ea0060e13e5f7fe569897d787 to < 0b131557b0e31706bc6e43cf0c986cf0a35a5871 · affef66b65889a0ea0060e13e5f7fe569897d787 to < 85cebdfee765e92e748e71b9b91889eef5988282 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux affef66b65889a0ea0060e13e5f7fe569897d787 to < 7a83149ed9c25fe4f2f0f59de61ea11ea24f542b (affected · git)affef66b65889a0ea0060e13e5f7fe569897d787 to < a307ab34e323be8e18cfca948d6fee6a00457ca4 (affected · git)affef66b65889a0ea0060e13e5f7fe569897d787 to < 0b131557b0e31706bc6e43cf0c986cf0a35a5871 (affected · git)affef66b65889a0ea0060e13e5f7fe569897d787 to < 85cebdfee765e92e748e71b9b91889eef5988282 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

LoongArch: Remove arch-specific __smp_mb__{before,after}_atomic()

Provenance

Schema
5.2
Searchable
yes
Content hash
f1af6c4aba10250f2ed4b2f2b20cee50fbd91ca4919715024b76139c981a070c
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected