<?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 15:45:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53511 — io_uring: fix fget leak when fs don't support nowait buffered read</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53511</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;io_uring: fix fget leak when fs don&amp;#39;t support nowait buffered read&lt;/p&gt;
&lt;p&gt;Heming reported a BUG when using io_uring doing link-cp on ocfs2. [1]&lt;/p&gt;
&lt;p&gt;Do the following steps can reproduce this BUG:
mount -t ocfs2 /dev/vdc /mnt/ocfs2
cp testfile /mnt/ocfs2/
./link-cp /mnt/ocfs2/testfile /mnt/ocfs2/testfile.1
umount /mnt/ocfs2&lt;/p&gt;
&lt;p&gt;Then umount will fail, and it outputs:
umount: /mnt/ocfs2: target is busy.&lt;/p&gt;
&lt;p&gt;While tracing umount, it blames mnt_get_count() not return as expected.
Do a deep investigation for fget()/fput() on related code flow, I&amp;#39;ve
finally found that fget() leaks since ocfs2 doesn&amp;#39;t support nowait
buffered read.&lt;/p&gt;
&lt;p&gt;io_issue_sqe
|-io_assign_file  // do fget() first
  |-io_read
  |-io_iter_do_read
    |-ocfs2_file_read_iter  // return -EOPNOTSUPP
  |-kiocb_done
    |-io_rw_done
      |-__io_complete_rw_common  // set REQ_F_REISSUE
    |-io_resubmit_prep
      |-io_req_prep_async  // override req-&amp;gt;file, leak happens&lt;/p&gt;
&lt;p&gt;This was introduced by commit a196c78b5443 in v5.18. Fix it by don&amp;#39;t
re-assign req-&amp;gt;file if it has already been assigned.&lt;/p&gt;
&lt;p&gt;[1] https://lore.kernel.org/ocfs2-devel/ab580a75-91c8-d68a-3455-40361be1bfa8@linux.alibaba.com/T/#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;io_uring: fix fget leak when fs don&amp;#39;t support nowait buffered read&lt;/p&gt;
&lt;p&gt;Heming reported a BUG when using io_uring doing link-cp on ocfs2. [1]&lt;/p&gt;
&lt;p&gt;Do the following steps can reproduce this BUG:
mount -t ocfs2 /dev/vdc /mnt/ocfs2
cp testfile /mnt/ocfs2/
./link-cp /mnt/ocfs2/testfile /mnt/ocfs2/testfile.1
umount /mnt/ocfs2&lt;/p&gt;
&lt;p&gt;Then umount will fail, and it outputs:
umount: /mnt/ocfs2: target is busy.&lt;/p&gt;
&lt;p&gt;While tracing umount, it blames mnt_get_count() not return as expected.
Do a deep investigation for fget()/fput() on related code flow, I&amp;#39;ve
finally found that fget() leaks since ocfs2 doesn&amp;#39;t support nowait
buffered read.&lt;/p&gt;
&lt;p&gt;io_issue_sqe
|-io_assign_file  // do fget() first
  |-io_read
  |-io_iter_do_read
    |-ocfs2_file_read_iter  // return -EOPNOTSUPP
  |-kiocb_done
    |-io_rw_done
      |-__io_complete_rw_common  // set REQ_F_REISSUE
    |-io_resubmit_prep
      |-io_req_prep_async  // override req-&amp;gt;file, leak happens&lt;/p&gt;
&lt;p&gt;This was introduced by commit a196c78b5443 in v5.18. Fix it by don&amp;#39;t
re-assign req-&amp;gt;file if it has already been assigned.&lt;/p&gt;
&lt;p&gt;[1] https://lore.kernel.org/ocfs2-devel/ab580a75-91c8-d68a-3455-40361be1bfa8@linux.alibaba.com/T/#t&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53511</guid>
    </item>
  </channel>
</rss>
