<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 21:46:19 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-37814 — tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-37814</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;tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT&lt;/p&gt;
&lt;p&gt;This requirement was overeagerly loosened in commit 2f83e38a095f
(&amp;#34;tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN&amp;#34;), but as
it turns out,&lt;/p&gt;
&lt;p&gt;(1) the logic I implemented there was inconsistent (apologies!),&lt;/p&gt;
&lt;p&gt;(2) TIOCL_SELMOUSEREPORT might actually be a small security risk
      after all, and&lt;/p&gt;
&lt;p&gt;(3) TIOCL_SELMOUSEREPORT is only meant to be used by the mouse
      daemon (GPM or Consolation), which runs as CAP_SYS_ADMIN
      already.&lt;/p&gt;
&lt;p&gt;In more detail:&lt;/p&gt;
&lt;p&gt;1. The previous patch has inconsistent logic:&lt;/p&gt;
&lt;p&gt;In commit 2f83e38a095f (&amp;#34;tty: Permit some TIOCL_SETSEL modes
   without CAP_SYS_ADMIN&amp;#34;), we checked for sel_mode ==
   TIOCL_SELMOUSEREPORT, but overlooked that the lower four bits of
   this &amp;#34;mode&amp;#34; parameter were actually used as an additional way to
   pass an argument.  So the patch did actually still require
   CAP_SYS_ADMIN, if any of the mouse button bits are set, but did not
   require it if none of the mouse buttons bits are set.&lt;/p&gt;
&lt;p&gt;This logic is inconsistent and was not intentional.  We should have
   the same policies for using TIOCL_SELMOUSEREPORT independent of the
   value of the &amp;#34;hidden&amp;#34; mouse button argument.&lt;/p&gt;
&lt;p&gt;I sent a separate documentation patch to the man page list with
   more details on TIOCL_SELMOUSEREPORT:
   https://lore.kernel.org/all/20250223091342.35523-2-gnoack3000@gmail.com/&lt;/p&gt;
&lt;p&gt;2. TIOCL_SELMOUSEREPORT is…&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;tty: Require CAP_SYS_ADMIN for all usages of TIOCL_SELMOUSEREPORT&lt;/p&gt;
&lt;p&gt;This requirement was overeagerly loosened in commit 2f83e38a095f
(&amp;#34;tty: Permit some TIOCL_SETSEL modes without CAP_SYS_ADMIN&amp;#34;), but as
it turns out,&lt;/p&gt;
&lt;p&gt;(1) the logic I implemented there was inconsistent (apologies!),&lt;/p&gt;
&lt;p&gt;(2) TIOCL_SELMOUSEREPORT might actually be a small security risk
      after all, and&lt;/p&gt;
&lt;p&gt;(3) TIOCL_SELMOUSEREPORT is only meant to be used by the mouse
      daemon (GPM or Consolation), which runs as CAP_SYS_ADMIN
      already.&lt;/p&gt;
&lt;p&gt;In more detail:&lt;/p&gt;
&lt;p&gt;1. The previous patch has inconsistent logic:&lt;/p&gt;
&lt;p&gt;In commit 2f83e38a095f (&amp;#34;tty: Permit some TIOCL_SETSEL modes
   without CAP_SYS_ADMIN&amp;#34;), we checked for sel_mode ==
   TIOCL_SELMOUSEREPORT, but overlooked that the lower four bits of
   this &amp;#34;mode&amp;#34; parameter were actually used as an additional way to
   pass an argument.  So the patch did actually still require
   CAP_SYS_ADMIN, if any of the mouse button bits are set, but did not
   require it if none of the mouse buttons bits are set.&lt;/p&gt;
&lt;p&gt;This logic is inconsistent and was not intentional.  We should have
   the same policies for using TIOCL_SELMOUSEREPORT independent of the
   value of the &amp;#34;hidden&amp;#34; mouse button argument.&lt;/p&gt;
&lt;p&gt;I sent a separate documentation patch to the man page list with
   more details on TIOCL_SELMOUSEREPORT:
   https://lore.kernel.org/all/20250223091342.35523-2-gnoack3000@gmail.com/&lt;/p&gt;
&lt;p&gt;2. TIOCL_SELMOUSEREPORT is…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-37814</guid>
    </item>
  </channel>
</rss>
