<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 18:41:41 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99877 — LoongArch: Only send SIGTRAP signal if necessary in do_watch()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99877</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;LoongArch: Only send SIGTRAP signal if necessary in do_watch()&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;However, a conditional check using only &amp;#39;current-&amp;gt;ptrace&amp;#39; would block
legitimate user-requested signals when a perf_event is configured with
&amp;#39;attr.sigtrap = 1&amp;#39; for asynchronous user-space tracking.&lt;/p&gt;
&lt;p&gt;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 &amp;#39;attr.sigtrap&amp;#39;.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;LoongArch: Only send SIGTRAP signal if necessary in do_watch()&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;However, a conditional check using only &amp;#39;current-&amp;gt;ptrace&amp;#39; would block
legitimate user-requested signals when a perf_event is configured with
&amp;#39;attr.sigtrap = 1&amp;#39; for asynchronous user-space tracking.&lt;/p&gt;
&lt;p&gt;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 &amp;#39;attr.sigtrap&amp;#39;.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99877</guid>
    </item>
  </channel>
</rss>
