<?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:59:36 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100092 — f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100092</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 use bio_in_atomic() in f2fs_read_end_io()&lt;/p&gt;
&lt;p&gt;f2fs_read_end_io() uses &amp;#34;in_task() &amp;amp;&amp;amp; !irqs_disabled()&amp;#34; to decide
whether it is safe to sleep, the result is passed down as @in_task to:
- f2fs_put_dic() -&amp;gt; f2fs_free_dic() -&amp;gt; f2fs_release_decomp_mem()
  -&amp;gt; vm_unmap_ram(), which may sleep.
- f2fs_end_read_compressed_page() -&amp;gt; f2fs_cache_compressed_page()
  -&amp;gt; f2fs_grab_cache() -&amp;gt; f2fs_lock_cache(), which may sleep in
  wait_on_bit_lock().&lt;/p&gt;
&lt;p&gt;However, the check still treats below task contexts as sleepable:
- with spinlock held via spin_lock(), i.e. preempt count != 0 while
  irqs are enabled.
- with BH disabled via local_bh_disable().
- inside an RCU read lock on kernels with CONFIG_PREEMPTION.
- with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.&lt;/p&gt;
&lt;p&gt;So the &amp;#34;sleeping function called from invalid context&amp;#34; issue fixed by
commit 08a7efc5b02a (&amp;#34;f2fs: vm_unmap_ram() may be called from an
invalid context&amp;#34;) can still be triggered.&lt;/p&gt;
&lt;p&gt;The block layer provides bio_in_atomic() for exactly this purpose, it
checks rcu_preempt_depth() and preemptible(), and conservatively returns
true if CONFIG_PREEMPT_COUNT is disabled, let&amp;#39;s use it instead. The
difference is as below:&lt;/p&gt;
&lt;p&gt;old: intask = in_task() &amp;amp;&amp;amp; !irqs_disabled()
 new: intask = !bio_in_atomic()&lt;/p&gt;
&lt;p&gt;Context                              | old intask     | new intask
 -------------------------------------+----------------+----------------
 Hard IRQ / softirq…&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 use bio_in_atomic() in f2fs_read_end_io()&lt;/p&gt;
&lt;p&gt;f2fs_read_end_io() uses &amp;#34;in_task() &amp;amp;&amp;amp; !irqs_disabled()&amp;#34; to decide
whether it is safe to sleep, the result is passed down as @in_task to:
- f2fs_put_dic() -&amp;gt; f2fs_free_dic() -&amp;gt; f2fs_release_decomp_mem()
  -&amp;gt; vm_unmap_ram(), which may sleep.
- f2fs_end_read_compressed_page() -&amp;gt; f2fs_cache_compressed_page()
  -&amp;gt; f2fs_grab_cache() -&amp;gt; f2fs_lock_cache(), which may sleep in
  wait_on_bit_lock().&lt;/p&gt;
&lt;p&gt;However, the check still treats below task contexts as sleepable:
- with spinlock held via spin_lock(), i.e. preempt count != 0 while
  irqs are enabled.
- with BH disabled via local_bh_disable().
- inside an RCU read lock on kernels with CONFIG_PREEMPTION.
- with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.&lt;/p&gt;
&lt;p&gt;So the &amp;#34;sleeping function called from invalid context&amp;#34; issue fixed by
commit 08a7efc5b02a (&amp;#34;f2fs: vm_unmap_ram() may be called from an
invalid context&amp;#34;) can still be triggered.&lt;/p&gt;
&lt;p&gt;The block layer provides bio_in_atomic() for exactly this purpose, it
checks rcu_preempt_depth() and preemptible(), and conservatively returns
true if CONFIG_PREEMPT_COUNT is disabled, let&amp;#39;s use it instead. The
difference is as below:&lt;/p&gt;
&lt;p&gt;old: intask = in_task() &amp;amp;&amp;amp; !irqs_disabled()
 new: intask = !bio_in_atomic()&lt;/p&gt;
&lt;p&gt;Context                              | old intask     | new intask
 -------------------------------------+----------------+----------------
 Hard IRQ / softirq…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100092</guid>
    </item>
  </channel>
</rss>
