Linux kernel denial of service via sleep in atomic context in F2FS
- Exploited
- No known exploitation
- Fix
- Fixed in 6.1.193, 6.6.163, 6.12.118, 6.16, 6.17
- Who is exposed
- Not reported
Summary
The Linux kernel's f2fs filesystem code can trigger a "sleeping function called from invalid context" error because it wrongly treats some atomic contexts, such as spinlocks and RCU read locks, as safe for sleeping. The fix replaces that check with the block layer's bio_in_atomic() test, which correctly detects these cases.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 6.1.193, 6.6.163, 6.12.118, 6.16, 6.17.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-100092 (f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-100092 (entry last updated 2026-11-30):
Affected:
- Linux Linux: from 6.1.148, fixed in 6.1.193; from 6.6.102, fixed in 6.6.163; from 6.12.42, fixed in 6.12.118; from 6.15.10, fixed in 6.16; from 6.16.1, fixed in 6.17
- Linux Linux: versions 6.17
Fixed versions: 6.1.193, 6.6.163, 6.12.118, 6.16, 6.17.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-100092 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-100092 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6
- https://git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7
- https://git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598
- https://git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0
- https://git.kernel.org/stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424
- https://git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-100092
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-100092"}.Affected versions
- Linux LinuxFrom 6.1.148 · fixed in 6.1.193; From 6.6.102 · fixed in 6.6.163; From 6.12.42 · fixed in 6.12.118; From 6.15.10 · fixed in 6.16; From 6.16.1 · fixed in 6.17
- Linux Linux6.17
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 75 if added to CISA KEV
- Would score about 70 if CISA's SSVC rates exploitation active
- Would score about 42 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 8
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-100092 |
| Record | NVD · CVE-2026-100092 |
| Other links 6 | |
| Link | git.kernel.org · stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6 |
| Link | git.kernel.org · stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7 |
| Link | git.kernel.org · stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598 |
| Link | git.kernel.org · stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0 |
| Link | git.kernel.org · stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424 |
| Link | git.kernel.org · stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22 |
Questions about CVE-2026-100092
Is CVE-2026-100092 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-100092?
Linux: from 6.1.148 before 6.1.193; from 6.6.102 before 6.6.163; from 6.12.42 before 6.12.118; from 6.15.10 before 6.16; from 6.16.1 before 6.17. Linux: version 6.17.
Source: cve.now feed data
How do I fix CVE-2026-100092?
Upgrade to a fixed version: 6.1.193, 6.6.163, 6.12.118, 6.16, 6.17.
Source: cve.now feed data
Related
- CVE-2026-139801KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM
- CVE-2026-139799mm/shmem: hold off eviction in shmem_writeout()
- CVE-2026-139792ALSA: pcm: Prevent O_APPEND open on OSS streams
- CVE-2026-139788cipso: stop modifying live ip_options_rcu
- CVE-2026-139786mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows
- CVE-2026-1398009p/xen: drain response work after unbinding IRQ
No corrections so far. Something wrong on this page? Report an error.