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() && !
Overview
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.
- Published
- 11/30/2026
- Last modified
- 11/30/2026
- CVE assigner
- Linux
- NVD analysis
- Received
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ eb69e69a5ae6c8350957893b5f68bd55b1565fb2, < e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 1023836d1b9465593c8746f97d608da32958785f, < 4dd9b48ee2eb23d524d76cab670090fda5ae7bb7 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 0fe7976b62546f1e95eebfe9879925e9aa22b7a8, < 974a545e94e7b3c101ee1aaa9e0672655c94b598 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 08a7efc5b02a0620ae16aa9584060e980a69cb55, < b7b1a54e3e1ade64a81a44d19e16cb76185d60b0 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 08a7efc5b02a0620ae16aa9584060e980a69cb55, < f0abf244bcbb361b0d00a2ae4606294694c0e424 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 08a7efc5b02a0620ae16aa9584060e980a69cb55, < a605d5d71a6d280c43c7ede9778dda63fb5c3f22 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | 411e00f44e2e1a7fdb526013b25a7f0ed22a0947 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | 18eea36f4f460ead3750ed4afe5496f7ce55f99e | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 6.1.148, < 6.1.193 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 6.6.102, < 6.6.163 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 6.12.42, < 6.12.118 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 6.15.10, < 6.16 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | ≥ 6.16.1, < 6.17 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Linux Linux | 6.17 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.