<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:59:38.585581+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-100092</id>
    <title>CVE-2026-100092 — f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()</title>
    <updated>2026-12-04T19:59:38.587506+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()</p>
<p>f2fs_read_end_io() uses "in_task() &amp;&amp; !irqs_disabled()" to decide
whether it is safe to sleep, the result is passed down as @in_task to:
- f2fs_put_dic() -&gt; f2fs_free_dic() -&gt; f2fs_release_decomp_mem()
  -&gt; vm_unmap_ram(), which may sleep.
- f2fs_end_read_compressed_page() -&gt; f2fs_cache_compressed_page()
  -&gt; f2fs_grab_cache() -&gt; f2fs_lock_cache(), which may sleep in
  wait_on_bit_lock().</p>
<p>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.</p>
<p>So the "sleeping function called from invalid context" issue fixed by
commit 08a7efc5b02a ("f2fs: vm_unmap_ram() may be called from an
invalid context") can still be triggered.</p>
<p>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's use it instead. The
difference is as below:</p>
<p>old: intask = in_task() &amp;&amp; !irqs_disabled()
 new: intask = !bio_in_atomic()</p>
<p>Context                              | old intask     | new intask
 -------------------------------------+----------------+----------------
 Hard IRQ / softirq…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-100092"/>
  </entry>
</feed>
