<?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://db.gcve.eu</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, 04 Dec 2026 19:17:53 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99826 — backing-file: always end a queued write</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99826</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;backing-file: always end a queued write&lt;/p&gt;
&lt;p&gt;Writes to a loop device with direct I/O on an overlay file make the
next freeze of the upper filesystem hang for ever.&lt;/p&gt;
&lt;p&gt;Every kiocb_start_write() needs a kiocb_end_write(). For a write that
is queued, vfs_iocb_iter_write() leaves the end to the completion, and
backing_aio_rw_complete() only calls kiocb_end_write() when IOCB_WRITE
is set in the flags copied from the submitter. In-kernel submitters
such as loop do not set that flag, so each queued write keeps the
freeze protection of the backing filesystem.&lt;/p&gt;
&lt;p&gt;Direct writes to a loop device with direct I/O backed by an overlay
file left fsfreeze of the ext4 upper filesystem, and a later touch
there, blocked in D state. It takes write access to the node of the
loop device, which root has by default, to attach the file and to write.&lt;/p&gt;
&lt;p&gt;The fix used here is to mark a write in struct backing_aio and to call
kiocb_end_write() on completion of every marked write.&lt;/p&gt;
&lt;p&gt;Reproduced under qemu without KVM, on v7.3-rc6-21-g602042bf29f6 with
earlier fixes of this series applied, with and without this change,
once each. The kernel was not changed for the run. With this change
fsfreeze finished in about a second. Not run: the nvmet and LIO file
backends, which do not set IOCB_WRITE either, FUSE passthrough, and an
xfs upper filesystem.&lt;/p&gt;
&lt;p&gt;[amir: use aio-&amp;gt;is_write to explicitly mark a write aio]&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;backing-file: always end a queued write&lt;/p&gt;
&lt;p&gt;Writes to a loop device with direct I/O on an overlay file make the
next freeze of the upper filesystem hang for ever.&lt;/p&gt;
&lt;p&gt;Every kiocb_start_write() needs a kiocb_end_write(). For a write that
is queued, vfs_iocb_iter_write() leaves the end to the completion, and
backing_aio_rw_complete() only calls kiocb_end_write() when IOCB_WRITE
is set in the flags copied from the submitter. In-kernel submitters
such as loop do not set that flag, so each queued write keeps the
freeze protection of the backing filesystem.&lt;/p&gt;
&lt;p&gt;Direct writes to a loop device with direct I/O backed by an overlay
file left fsfreeze of the ext4 upper filesystem, and a later touch
there, blocked in D state. It takes write access to the node of the
loop device, which root has by default, to attach the file and to write.&lt;/p&gt;
&lt;p&gt;The fix used here is to mark a write in struct backing_aio and to call
kiocb_end_write() on completion of every marked write.&lt;/p&gt;
&lt;p&gt;Reproduced under qemu without KVM, on v7.3-rc6-21-g602042bf29f6 with
earlier fixes of this series applied, with and without this change,
once each. The kernel was not changed for the run. With this change
fsfreeze finished in about a second. Not run: the nvmet and LIO file
backends, which do not set IOCB_WRITE either, FUSE passthrough, and an
xfs upper filesystem.&lt;/p&gt;
&lt;p&gt;[amir: use aio-&amp;gt;is_write to explicitly mark a write aio]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99826</guid>
    </item>
  </channel>
</rss>
