<?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 19:45:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-39735 — jfs: fix slab-out-of-bounds read in ea_get()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-39735</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;jfs: fix slab-out-of-bounds read in ea_get()&lt;/p&gt;
&lt;p&gt;During the &amp;#34;size_check&amp;#34; label in ea_get(), the code checks if the extended
attribute list (xattr) size matches ea_size. If not, it logs
&amp;#34;ea_get: invalid extended attribute&amp;#34; and calls print_hex_dump().&lt;/p&gt;
&lt;p&gt;Here, EALIST_SIZE(ea_buf-&amp;gt;xattr) returns 4110417968, which exceeds
INT_MAX (2,147,483,647). Then ea_size is clamped:&lt;/p&gt;
&lt;p&gt;int size = clamp_t(int, ea_size, 0, EALIST_SIZE(ea_buf-&amp;gt;xattr));&lt;/p&gt;
&lt;p&gt;Although clamp_t aims to bound ea_size between 0 and 4110417968, the upper
limit is treated as an int, causing an overflow above 2^31 - 1. This leads
&amp;#34;size&amp;#34; to wrap around and become negative (-184549328).&lt;/p&gt;
&lt;p&gt;The &amp;#34;size&amp;#34; is then passed to print_hex_dump() (called &amp;#34;len&amp;#34; in
print_hex_dump()), it is passed as type size_t (an unsigned
type), this is then stored inside a variable called
&amp;#34;int remaining&amp;#34;, which is then assigned to &amp;#34;int linelen&amp;#34; which
is then passed to hex_dump_to_buffer(). In print_hex_dump()
the for loop, iterates through 0 to len-1, where len is
18446744073525002176, calling hex_dump_to_buffer()
on each iteration:&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; len; i += rowsize) {
		linelen = min(remaining, rowsize);
		remaining -= rowsize;&lt;/p&gt;
&lt;p&gt;hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
				   linebuf, sizeof(linebuf), ascii);&lt;/p&gt;
&lt;p&gt;...
	}&lt;/p&gt;
&lt;p&gt;The expected stopping condition (i &amp;lt; len) is effectively broken
since len is corrupted and very large. This eventually leads to
the &amp;#34;ptr+i&amp;#34; being passed t…&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;jfs: fix slab-out-of-bounds read in ea_get()&lt;/p&gt;
&lt;p&gt;During the &amp;#34;size_check&amp;#34; label in ea_get(), the code checks if the extended
attribute list (xattr) size matches ea_size. If not, it logs
&amp;#34;ea_get: invalid extended attribute&amp;#34; and calls print_hex_dump().&lt;/p&gt;
&lt;p&gt;Here, EALIST_SIZE(ea_buf-&amp;gt;xattr) returns 4110417968, which exceeds
INT_MAX (2,147,483,647). Then ea_size is clamped:&lt;/p&gt;
&lt;p&gt;int size = clamp_t(int, ea_size, 0, EALIST_SIZE(ea_buf-&amp;gt;xattr));&lt;/p&gt;
&lt;p&gt;Although clamp_t aims to bound ea_size between 0 and 4110417968, the upper
limit is treated as an int, causing an overflow above 2^31 - 1. This leads
&amp;#34;size&amp;#34; to wrap around and become negative (-184549328).&lt;/p&gt;
&lt;p&gt;The &amp;#34;size&amp;#34; is then passed to print_hex_dump() (called &amp;#34;len&amp;#34; in
print_hex_dump()), it is passed as type size_t (an unsigned
type), this is then stored inside a variable called
&amp;#34;int remaining&amp;#34;, which is then assigned to &amp;#34;int linelen&amp;#34; which
is then passed to hex_dump_to_buffer(). In print_hex_dump()
the for loop, iterates through 0 to len-1, where len is
18446744073525002176, calling hex_dump_to_buffer()
on each iteration:&lt;/p&gt;
&lt;p&gt;for (i = 0; i &amp;lt; len; i += rowsize) {
		linelen = min(remaining, rowsize);
		remaining -= rowsize;&lt;/p&gt;
&lt;p&gt;hex_dump_to_buffer(ptr + i, linelen, rowsize, groupsize,
				   linebuf, sizeof(linebuf), ascii);&lt;/p&gt;
&lt;p&gt;...
	}&lt;/p&gt;
&lt;p&gt;The expected stopping condition (i &amp;lt; len) is effectively broken
since len is corrupted and very large. This eventually leads to
the &amp;#34;ptr+i&amp;#34; being passed t…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-39735</guid>
    </item>
  </channel>
</rss>
