<?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>Sun, 04 Oct 2026 09:04:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40306 — orangefs: fix xattr related buffer overflow...</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40306</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;orangefs: fix xattr related buffer overflow...&lt;/p&gt;
&lt;p&gt;Willy Tarreau &amp;lt;w@1wt.eu&amp;gt; forwarded me a message from
Disclosure &amp;lt;disclosure@aisle.com&amp;gt; with the following
warning:&lt;/p&gt;
&lt;p&gt;&amp;gt; The helper `xattr_key()` uses the pointer variable in the loop condition
&amp;gt; rather than dereferencing it. As `key` is incremented, it remains non-NULL
&amp;gt; (until it runs into unmapped memory), so the loop does not terminate on
&amp;gt; valid C strings and will walk memory indefinitely, consuming CPU or hanging
&amp;gt; the thread.&lt;/p&gt;
&lt;p&gt;I easily reproduced this with setfattr and getfattr, causing a kernel
oops, hung user processes and corrupted orangefs files. Disclosure
sent along a diff (not a patch) with a suggested fix, which I based
this patch on.&lt;/p&gt;
&lt;p&gt;After xattr_key started working right, xfstest generic/069 exposed an
xattr related memory leak that lead to OOM. xattr_key returns
a hashed key.  When adding xattrs to the orangefs xattr cache, orangefs
used hash_add, a kernel hashing macro. hash_add also hashes the key using
hash_log which resulted in additions to the xattr cache going to the wrong
hash bucket. generic/069 tortures a single file and orangefs does a
getattr for the xattr &amp;#34;security.capability&amp;#34; every time. Orangefs
negative caches on xattrs which includes a kmalloc. Since adds to the
xattr cache were going to the wrong bucket, every getattr for
&amp;#34;security.capability&amp;#34; resulted in another kmalloc, none of which were
ever freed.&lt;/p&gt;
&lt;p&gt;I changed the two uses of…&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;orangefs: fix xattr related buffer overflow...&lt;/p&gt;
&lt;p&gt;Willy Tarreau &amp;lt;w@1wt.eu&amp;gt; forwarded me a message from
Disclosure &amp;lt;disclosure@aisle.com&amp;gt; with the following
warning:&lt;/p&gt;
&lt;p&gt;&amp;gt; The helper `xattr_key()` uses the pointer variable in the loop condition
&amp;gt; rather than dereferencing it. As `key` is incremented, it remains non-NULL
&amp;gt; (until it runs into unmapped memory), so the loop does not terminate on
&amp;gt; valid C strings and will walk memory indefinitely, consuming CPU or hanging
&amp;gt; the thread.&lt;/p&gt;
&lt;p&gt;I easily reproduced this with setfattr and getfattr, causing a kernel
oops, hung user processes and corrupted orangefs files. Disclosure
sent along a diff (not a patch) with a suggested fix, which I based
this patch on.&lt;/p&gt;
&lt;p&gt;After xattr_key started working right, xfstest generic/069 exposed an
xattr related memory leak that lead to OOM. xattr_key returns
a hashed key.  When adding xattrs to the orangefs xattr cache, orangefs
used hash_add, a kernel hashing macro. hash_add also hashes the key using
hash_log which resulted in additions to the xattr cache going to the wrong
hash bucket. generic/069 tortures a single file and orangefs does a
getattr for the xattr &amp;#34;security.capability&amp;#34; every time. Orangefs
negative caches on xattrs which includes a kmalloc. Since adds to the
xattr cache were going to the wrong bucket, every getattr for
&amp;#34;security.capability&amp;#34; resulted in another kmalloc, none of which were
ever freed.&lt;/p&gt;
&lt;p&gt;I changed the two uses of…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40306</guid>
    </item>
  </channel>
</rss>
