CVE-2026-99877

Unknown

Last modified

CVE-2026-99877 is a vulnerability of currently unknown severity. 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.

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'.

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 424421a7f34c1222d20a6c279f13b9caa71ecc83, < 44346dd182cfac7e32575295ba0c2aa01d27566e; >= 424421a7f34c1222d20a6c279f13b9caa71ecc83, < 7e56651033584f16c019ff2a223c0f9417230f39; >= 424421a7f34c1222d20a6c279f13b9caa71ecc83, < 815c31e67f3feb82926b823469c953af8d3b84f7; >= 424421a7f34c1222d20a6c279f13b9caa71ecc83, < ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a; >= 424421a7f34c1222d20a6c279f13b9caa71ecc83, < f087903018e35d38b8932e18b010ee2e8699d1a1
LinuxLinux6.3

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-99877?
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'.
How severe is CVE-2026-99877?
Severity scoring for CVE-2026-99877 is pending analysis.
How do I fix CVE-2026-99877?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-99877?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST