PT-2026-162844

CVE-2026-99877

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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'.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾