Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-100092

published

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

Published
30 Nov 2026, 13:23:42 UTC
Updated
30 Nov 2026, 13:23:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxeb69e69a5ae6c8350957893b5f68bd55b1565fb2 to < e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6 · 1023836d1b9465593c8746f97d608da32958785f to < 4dd9b48ee2eb23d524d76cab670090fda5ae7bb7 · 0fe7976b62546f1e95eebfe9879925e9aa22b7a8 to < 974a545e94e7b3c101ee1aaa9e0672655c94b598 · 08a7efc5b02a0620ae16aa9584060e980a69cb55 to < b7b1a54e3e1ade64a81a44d19e16cb76185d60b0 · 08a7efc5b02a0620ae16aa9584060e980a69cb55 to < f0abf244bcbb361b0d00a2ae4606294694c0e424 · 08a7efc5b02a0620ae16aa9584060e980a69cb55 to < a605d5d71a6d280c43c7ede9778dda63fb5c3f22 · 411e00f44e2e1a7fdb526013b25a7f0ed22a0947 · 18eea36f4f460ead3750ed4afe5496f7ce55f99e · 6.1.148 to < 6.1.193 · 6.6.102 to < 6.6.163 · 6.12.42 to < 6.12.118 · 6.15.10 to < 6.16 · 6.16.1 to < 6.17 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux eb69e69a5ae6c8350957893b5f68bd55b1565fb2 to < e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6 (affected · git)1023836d1b9465593c8746f97d608da32958785f to < 4dd9b48ee2eb23d524d76cab670090fda5ae7bb7 (affected · git)0fe7976b62546f1e95eebfe9879925e9aa22b7a8 to < 974a545e94e7b3c101ee1aaa9e0672655c94b598 (affected · git)08a7efc5b02a0620ae16aa9584060e980a69cb55 to < b7b1a54e3e1ade64a81a44d19e16cb76185d60b0 (affected · git)08a7efc5b02a0620ae16aa9584060e980a69cb55 to < f0abf244bcbb361b0d00a2ae4606294694c0e424 (affected · git)08a7efc5b02a0620ae16aa9584060e980a69cb55 to < a605d5d71a6d280c43c7ede9778dda63fb5c3f22 (affected · git)411e00f44e2e1a7fdb526013b25a7f0ed22a0947 (affected · git)18eea36f4f460ead3750ed4afe5496f7ce55f99e (affected · git)6.1.148 to < 6.1.193 (affected · semver)6.6.102 to < 6.6.163 (affected · semver)6.12.42 to < 6.12.118 (affected · semver)6.15.10 to < 6.16 (affected · semver)6.16.1 to < 6.17 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.17 (affected)0 to < 6.17 (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
4609a8c128abae9c70423291df944f682ff2ee098d703fb6fe38e91530a96084
Ingested
30 Nov 2026, 13:30:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected