CVE-2026-99877
LoongArch: Only send SIGTRAP signal if necessary in do_watch()
Check your servers for CVE-2026-99877
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99877 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Only send SIGTRAP signal if necessary in do_watch()
In do_watch(), the kernel unconditionally forces a SIGTRAP signal at the end of the handler via force_sig(SIGTRAP). This is essential for ptrace operations, but it severely disrupts standard perf_event usage.
Under normal perf usage, it is not necessary to force a SIGTRAP signal on every hit. Forcing it unnecessarily aborts the target process if no user-space signal handler is registered, which violates performance monitoring behaviors and injects context switch overheads.
However, a conditional check using only 'current->ptrace' would block legitimate user-requested signals when a perf_event is configured with 'attr.sigtrap = 1' for asynchronous user-space tracking.
Fix this by refactoring breakpoint_handler() and watchpoint_handler() to return a boolean status indicating whether any triggered breakpoint explicitly requires a signal notification. Update do_watch() to enforce the SIGTRAP signal only when the process is actively being debugged via ptrace, or when the underlying perf_event infrastructure specifically demands it via 'attr.sigtrap'.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 424421a7f34c1222d20a6c279f13b9caa71ecc83, before 44346dd182cfac7e32575295ba0c2aa01d27566e affected from 424421a7f34c1222d20a6c279f13b9caa71ecc83, before 7e56651033584f16c019ff2a223c0f9417230f39 affected from 424421a7f34c1222d20a6c279f13b9caa71ecc83, before 815c31e67f3feb82926b823469c953af8d3b84f7 affected from 424421a7f34c1222d20a6c279f13b9caa71ecc83, before ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a affected from 424421a7f34c1222d20a6c279f13b9caa71ecc83, before f087903018e35d38b8932e18b010ee2e8699d1a1
Other versions: unaffected
|
| Linux |
affected 6.3 unaffected before 6.3 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99877 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99877
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99877
trivy image --scanners vuln IMAGE | grep CVE-2026-99877
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/44346dd182cfac7e32575295ba0c2aa01d27566e git.kernel.org
- https://git.kernel.org/stable/c/7e56651033584f16c019ff2a223c0f9417230f39 git.kernel.org
- https://git.kernel.org/stable/c/815c31e67f3feb82926b823469c953af8d3b84f7 git.kernel.org
- https://git.kernel.org/stable/c/ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a git.kernel.org
- https://git.kernel.org/stable/c/f087903018e35d38b8932e18b010ee2e8699d1a1 git.kernel.org
Source: the record CVE-2026-99877 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse