<?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 16:51:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53222 — jfs: jfs_dmap: Validate db_l2nbperpage while mounting</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53222</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: jfs_dmap: Validate db_l2nbperpage while mounting&lt;/p&gt;
&lt;p&gt;In jfs_dmap.c at line 381, BLKTODMAP is used to get a logical block
number inside dbFree(). db_l2nbperpage, which is the log2 number of
blocks per page, is passed as an argument to BLKTODMAP which uses it
for shifting.&lt;/p&gt;
&lt;p&gt;Syzbot reported a shift out-of-bounds crash because db_l2nbperpage is
too big. This happens because the large value is set without any
validation in dbMount() at line 181.&lt;/p&gt;
&lt;p&gt;Thus, make sure that db_l2nbperpage is correct while mounting.&lt;/p&gt;
&lt;p&gt;Max number of blocks per page = Page size / Min block size
=&amp;gt; log2(Max num_block per page) = log2(Page size / Min block size)
				= log2(Page size) - log2(Min block size)&lt;/p&gt;
&lt;p&gt;=&amp;gt; Max db_l2nbperpage = L2PSIZE - L2MINBLOCKSIZE&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: jfs_dmap: Validate db_l2nbperpage while mounting&lt;/p&gt;
&lt;p&gt;In jfs_dmap.c at line 381, BLKTODMAP is used to get a logical block
number inside dbFree(). db_l2nbperpage, which is the log2 number of
blocks per page, is passed as an argument to BLKTODMAP which uses it
for shifting.&lt;/p&gt;
&lt;p&gt;Syzbot reported a shift out-of-bounds crash because db_l2nbperpage is
too big. This happens because the large value is set without any
validation in dbMount() at line 181.&lt;/p&gt;
&lt;p&gt;Thus, make sure that db_l2nbperpage is correct while mounting.&lt;/p&gt;
&lt;p&gt;Max number of blocks per page = Page size / Min block size
=&amp;gt; log2(Max num_block per page) = log2(Page size / Min block size)
				= log2(Page size) - log2(Min block size)&lt;/p&gt;
&lt;p&gt;=&amp;gt; Max db_l2nbperpage = L2PSIZE - L2MINBLOCKSIZE&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53222</guid>
    </item>
  </channel>
</rss>
