{"id":"CVE-2026-99877","aliases":[],"cve":{"records":[{"id":"CVE-2026-99877","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.441Z","published":"2026-11-30T13:17:53.580Z","modified":"2026-11-30T13:17:53.580Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:53.580Z"}],"references":[{"url":"https://git.kernel.org/stable/c/44346dd182cfac7e32575295ba0c2aa01d27566e","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/7e56651033584f16c019ff2a223c0f9417230f39","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/815c31e67f3feb82926b823469c953af8d3b84f7","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/f087903018e35d38b8932e18b010ee2e8699d1a1","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"LoongArch: Only send SIGTRAP signal if necessary in do_watch()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Only send SIGTRAP signal if necessary in do_watch()\n\nIn do_watch(), the kernel unconditionally forces a SIGTRAP signal at the\nend of the handler via force_sig(SIGTRAP). This is essential for ptrace\noperations, but it severely disrupts standard perf_event usage.\n\nUnder normal perf usage, it is not necessary to force a SIGTRAP signal\non every hit. Forcing it unnecessarily aborts the target process if no\nuser-space signal handler is registered, which violates performance\nmonitoring behaviors and injects context switch overheads.\n\nHowever, a conditional check using only 'current->ptrace' would block\nlegitimate user-requested signals when a perf_event is configured with\n'attr.sigtrap = 1' for asynchronous user-space tracking.\n\nFix this by refactoring breakpoint_handler() and watchpoint_handler()\nto return a boolean status indicating whether any triggered breakpoint\nexplicitly requires a signal notification. Update do_watch() to enforce\nthe SIGTRAP signal only when the process is actively being debugged via\nptrace, or when the underlying perf_event infrastructure specifically\ndemands it via 'attr.sigtrap'.","score":null,"severity":"unknown","published":"2026-11-30T13:17:53.580Z","modified":"2026-11-30T13:17:53.580Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"424421a7f34c1222d20a6c279f13b9caa71ecc83","status":"affected","lessThan":"44346dd182cfac7e32575295ba0c2aa01d27566e","versionType":"git"},{"version":"424421a7f34c1222d20a6c279f13b9caa71ecc83","status":"affected","lessThan":"7e56651033584f16c019ff2a223c0f9417230f39","versionType":"git"},{"version":"424421a7f34c1222d20a6c279f13b9caa71ecc83","status":"affected","lessThan":"815c31e67f3feb82926b823469c953af8d3b84f7","versionType":"git"},{"version":"424421a7f34c1222d20a6c279f13b9caa71ecc83","status":"affected","lessThan":"ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a","versionType":"git"},{"version":"424421a7f34c1222d20a6c279f13b9caa71ecc83","status":"affected","lessThan":"f087903018e35d38b8932e18b010ee2e8699d1a1","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99877"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.3","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99877"}],"remediation":[],"references":["https://git.kernel.org/stable/c/44346dd182cfac7e32575295ba0c2aa01d27566e","https://git.kernel.org/stable/c/7e56651033584f16c019ff2a223c0f9417230f39","https://git.kernel.org/stable/c/815c31e67f3feb82926b823469c953af8d3b84f7","https://git.kernel.org/stable/c/ab0fb9ea282f5e2a8a15cefd6ad7b6652da7e95a","https://git.kernel.org/stable/c/f087903018e35d38b8932e18b010ee2e8699d1a1"],"sources":[{"name":"CVE","id":"CVE-2026-99877","modified":"2026-11-30T13:17:53.580Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99877"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:47:37.311Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}