CVE-2026-100092

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()

f2fs_read_end_io() uses "in_task() && !irqs_disabled()" to decide whether it is safe to sleep, the result is passed down as @in_task to: - f2fs_put_dic() -> f2fs_free_dic() -> f2fs_release_decomp_mem() -> vm_unmap_ram(), which may sleep. - f2fs_end_read_compressed_page() -> f2fs_cache_compressed_page() -> f2fs_grab_cache() -> f2fs_lock_cache(), which may sleep in wait_on_bit_lock().

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.

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.

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:

old: intask = in_task() && !irqs_disabled() new: intask = !bio_in_atomic()

Context | old intask | new intask -------------------------------------+----------------+---------------- Hard IRQ / softirq | false | false IRQs disabled | false | false spin_lock() held, IRQs enabled | true (wrong) | false BH disabled by local_bh_disable() | true (wrong) | false RCU read lock (CONFIG_PREEMPTION) | true (wrong) | false Spinlock held, w/o PREEMPT_COUNT | true (wrong) | false

Note that on kernels without CONFIG_PREEMPT_COUNT, bio_in_atomic() always returns true, so dic freeing will always be offloaded to sbi->wq, and compressed pages will not be cached in f2fs_read_end_io(); this is the price of correctness, since there is no way to tell whether the current context can sleep.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-100093In the Linux kernel, the following vulnerability has been resolved: f2fs: disallow mmap write and data-modifying fallocate on atomic files CVE-2026-100094In the Linux kernel, the following vulnerability has been resolved: f2fs: fix defragment writeback range truncation on 32-bit f2fs_defragmCVE-2026-1000957.8In the Linux kernel, the following vulnerability has been resolved: f2fs: check every cur_*_segno[] entry on readonly images sanity_check_CVE-2026-100096In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Cancel Sahara read data work on removal Sahara removal canCVE-2026-100097In the Linux kernel, the following vulnerability has been resolved: f2fs: convert inline quota files when turning quota on With a block siCVE-2026-1000987.5In the Linux kernel, the following vulnerability has been resolved: nvmet: zns: don't leak stale memory in zone management receive A Zone CVE-2026-1000998.6In the Linux kernel, the following vulnerability has been resolved: nvme: bound FDP config log reads to the received buffer nvme_query_fdpCVE-2026-10014.8Domoticz versions prior to 2026.1 contain a stored cross-site scripting vulnerability in the Add Hardware and rename device functionality ofCVE-2026-100105.0Inappropriate implementation in Input in Google Chrome on Android prior to 148.0.7778.216 allowed a remote attacker who had compromised the CVE-2026-1001009.8In the Linux kernel, the following vulnerability has been resolved: nvmet: require authentication before property set I/O queues do not peCVE-2026-1001018.4On Linux and other Unix-like systems, LibreOffice can send the current document as an email attachment with File > Send > Email Document, whCVE-2026-1001029.5Perforce P4 Search container images prior to 2026.4.2 enable an unauthenticated Java debug interface. An attacker with network access to thi
CVE-2026-100092: Unscored | Vulnix