{"id":"AZL-117373","summary":"CVE-2026-99877 affecting package kernel 6.6.161.1-1","details":"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-\u003eptrace' 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'.","modified":"2026-12-01T14:17:41.825577595Z","published":"2026-11-30T14:20:22Z","upstream":["CVE-2026-99877"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99877"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117373.json"}}],"schema_version":"1.9.2"}