<?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>Fri, 02 Oct 2026 14:06:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53214 — f2fs: fix to avoid potential memory corruption in __update_iostat_latency()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53214</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;f2fs: fix to avoid potential memory corruption in __update_iostat_latency()&lt;/p&gt;
&lt;p&gt;Add iotype sanity check to avoid potential memory corruption.
This is to fix the compile error below:&lt;/p&gt;
&lt;p&gt;fs/f2fs/iostat.c:231 __update_iostat_latency() error: buffer overflow
&amp;#39;io_lat-&amp;gt;peak_lat[type]&amp;#39; 3 &amp;lt;= 3&lt;/p&gt;
&lt;p&gt;vim +228 fs/f2fs/iostat.c&lt;/p&gt;
&lt;p&gt;211  static inline void __update_iostat_latency(struct bio_iostat_ctx
	*iostat_ctx,
  212					enum iostat_lat_type type)
  213  {
  214		unsigned long ts_diff;
  215		unsigned int page_type = iostat_ctx-&amp;gt;type;
  216		struct f2fs_sb_info *sbi = iostat_ctx-&amp;gt;sbi;
  217		struct iostat_lat_info *io_lat = sbi-&amp;gt;iostat_io_lat;
  218		unsigned long flags;
  219
  220		if (!sbi-&amp;gt;iostat_enable)
  221			return;
  222
  223		ts_diff = jiffies - iostat_ctx-&amp;gt;submit_ts;
  224		if (page_type &amp;gt;= META_FLUSH)
                                 ^^^^^^^^^^&lt;/p&gt;
&lt;p&gt;225			page_type = META;
  226
  227		spin_lock_irqsave(&amp;amp;sbi-&amp;gt;iostat_lat_lock, flags);
 @228		io_lat-&amp;gt;sum_lat[type][page_type] += ts_diff;
                                      ^^^^^^^^^
Mixup between META_FLUSH and NR_PAGE_TYPE leads to memory corruption.&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;f2fs: fix to avoid potential memory corruption in __update_iostat_latency()&lt;/p&gt;
&lt;p&gt;Add iotype sanity check to avoid potential memory corruption.
This is to fix the compile error below:&lt;/p&gt;
&lt;p&gt;fs/f2fs/iostat.c:231 __update_iostat_latency() error: buffer overflow
&amp;#39;io_lat-&amp;gt;peak_lat[type]&amp;#39; 3 &amp;lt;= 3&lt;/p&gt;
&lt;p&gt;vim +228 fs/f2fs/iostat.c&lt;/p&gt;
&lt;p&gt;211  static inline void __update_iostat_latency(struct bio_iostat_ctx
	*iostat_ctx,
  212					enum iostat_lat_type type)
  213  {
  214		unsigned long ts_diff;
  215		unsigned int page_type = iostat_ctx-&amp;gt;type;
  216		struct f2fs_sb_info *sbi = iostat_ctx-&amp;gt;sbi;
  217		struct iostat_lat_info *io_lat = sbi-&amp;gt;iostat_io_lat;
  218		unsigned long flags;
  219
  220		if (!sbi-&amp;gt;iostat_enable)
  221			return;
  222
  223		ts_diff = jiffies - iostat_ctx-&amp;gt;submit_ts;
  224		if (page_type &amp;gt;= META_FLUSH)
                                 ^^^^^^^^^^&lt;/p&gt;
&lt;p&gt;225			page_type = META;
  226
  227		spin_lock_irqsave(&amp;amp;sbi-&amp;gt;iostat_lat_lock, flags);
 @228		io_lat-&amp;gt;sum_lat[type][page_type] += ts_diff;
                                      ^^^^^^^^^
Mixup between META_FLUSH and NR_PAGE_TYPE leads to memory corruption.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53214</guid>
    </item>
  </channel>
</rss>
