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-99877

published

LoongArch: Only send SIGTRAP signal if necessary in do_watch()

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 44346dd182cfac7e32575295ba0c2aa01d27566e · 424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 7e56651033584f16c019ff2a223c0f9417230f39 · 424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 815c31e67f3feb82926b823469c953af8d3b84f7 · 424421a7f34c1222d20a6c279f13b9caa71ecc83 to < ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a · 424421a7f34c1222d20a6c279f13b9caa71ecc83 to < f087903018e35d38b8932e18b010ee2e8699d1a1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.163 through 6.6.* (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: 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'.

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 424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 44346dd182cfac7e32575295ba0c2aa01d27566e (affected · git)424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 7e56651033584f16c019ff2a223c0f9417230f39 (affected · git)424421a7f34c1222d20a6c279f13b9caa71ecc83 to < 815c31e67f3feb82926b823469c953af8d3b84f7 (affected · git)424421a7f34c1222d20a6c279f13b9caa71ecc83 to < ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a (affected · git)424421a7f34c1222d20a6c279f13b9caa71ecc83 to < f087903018e35d38b8932e18b010ee2e8699d1a1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.163 through 6.6.* (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

5

Provider assertions

1

Linux · cna

LoongArch: Only send SIGTRAP signal if necessary in do_watch()

Provenance

Schema
5.2
Searchable
yes
Content hash
348c988a5e9d06bbf19e251e9eb2fa9fc794dd58140f32b7b8a2262105e941aa
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