<?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>Sat, 03 Oct 2026 05:53:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39840 — audit: fix out-of-bounds read in audit_compare_dname_path()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39840</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;audit: fix out-of-bounds read in audit_compare_dname_path()&lt;/p&gt;
&lt;p&gt;When a watch on dir=/ is combined with an fsnotify event for a
single-character name directly under / (e.g., creating /a), an
out-of-bounds read can occur in audit_compare_dname_path().&lt;/p&gt;
&lt;p&gt;The helper parent_len() returns 1 for &amp;#34;/&amp;#34;. In audit_compare_dname_path(),
when parentlen equals the full path length (1), the code sets p = path + 1
and pathlen = 1 - 1 = 0. The subsequent loop then dereferences
p[pathlen - 1] (i.e., p[-1]), causing an out-of-bounds read.&lt;/p&gt;
&lt;p&gt;Fix this by adding a pathlen &amp;gt; 0 check to the while loop condition
to prevent the out-of-bounds access.&lt;/p&gt;
&lt;p&gt;[PM: subject tweak, sign-off email fixes]&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;audit: fix out-of-bounds read in audit_compare_dname_path()&lt;/p&gt;
&lt;p&gt;When a watch on dir=/ is combined with an fsnotify event for a
single-character name directly under / (e.g., creating /a), an
out-of-bounds read can occur in audit_compare_dname_path().&lt;/p&gt;
&lt;p&gt;The helper parent_len() returns 1 for &amp;#34;/&amp;#34;. In audit_compare_dname_path(),
when parentlen equals the full path length (1), the code sets p = path + 1
and pathlen = 1 - 1 = 0. The subsequent loop then dereferences
p[pathlen - 1] (i.e., p[-1]), causing an out-of-bounds read.&lt;/p&gt;
&lt;p&gt;Fix this by adding a pathlen &amp;gt; 0 check to the while loop condition
to prevent the out-of-bounds access.&lt;/p&gt;
&lt;p&gt;[PM: subject tweak, sign-off email fixes]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39840</guid>
    </item>
  </channel>
</rss>
