<?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:48:24 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99827 — iov_iter: fix NULL deref in iov_iter_alignment()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99827</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;iov_iter: fix NULL deref in iov_iter_alignment()&lt;/p&gt;
&lt;p&gt;Since commit 111a12b422a8 (&amp;#34;io_uring/rsrc: reject zero-length fixed
buffer import&amp;#34;) io_import_fixed() hands out an empty ITER_BVEC for a
zero-length request. Its count is 0 and its bvec array is NULL.&lt;/p&gt;
&lt;p&gt;iov_iter_alignment() only checks the count for ITER_UBUF. For ITER_BVEC
it calls iov_iter_alignment_bvec() and the do-while loop in there reads
bvec-&amp;gt;bv_len before it looks at the count. So it dereferences NULL.&lt;/p&gt;
&lt;p&gt;btrfs checks the alignment of a direct read with iov_iter_alignment()
before it looks at the count and f2fs does the same. So any user that
can open a file on btrfs can oops the kernel with a single zero-length
IORING_OP_READ_FIXED on an O_DIRECT file descriptor. With IOSQE_ASYNC
the oops happens in an io-wq worker. The dead worker stays on the worker
list and when the task that submitted the request exits io-wq writes to
the freed task_struct of the worker. That&amp;#39;s just fallout from the oops
though.&lt;/p&gt;
&lt;p&gt;Empty iterators with a NULL array aren&amp;#39;t unusual. afs, tls and tipc
create them as well. So leave io_uring alone and make
iov_iter_alignment() return 0 for an empty iterator of any type.&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;iov_iter: fix NULL deref in iov_iter_alignment()&lt;/p&gt;
&lt;p&gt;Since commit 111a12b422a8 (&amp;#34;io_uring/rsrc: reject zero-length fixed
buffer import&amp;#34;) io_import_fixed() hands out an empty ITER_BVEC for a
zero-length request. Its count is 0 and its bvec array is NULL.&lt;/p&gt;
&lt;p&gt;iov_iter_alignment() only checks the count for ITER_UBUF. For ITER_BVEC
it calls iov_iter_alignment_bvec() and the do-while loop in there reads
bvec-&amp;gt;bv_len before it looks at the count. So it dereferences NULL.&lt;/p&gt;
&lt;p&gt;btrfs checks the alignment of a direct read with iov_iter_alignment()
before it looks at the count and f2fs does the same. So any user that
can open a file on btrfs can oops the kernel with a single zero-length
IORING_OP_READ_FIXED on an O_DIRECT file descriptor. With IOSQE_ASYNC
the oops happens in an io-wq worker. The dead worker stays on the worker
list and when the task that submitted the request exits io-wq writes to
the freed task_struct of the worker. That&amp;#39;s just fallout from the oops
though.&lt;/p&gt;
&lt;p&gt;Empty iterators with a NULL array aren&amp;#39;t unusual. afs, tls and tipc
create them as well. So leave io_uring alone and make
iov_iter_alignment() return 0 for an empty iterator of any type.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99827</guid>
    </item>
  </channel>
</rss>
