{"api_version":"1","generated_at":"2026-12-01T13:13:06+00:00","cve":"CVE-2026-100092","urls":{"html":"https://cve.report/CVE-2026-100092","api":"https://cve.report/api/cve/CVE-2026-100092.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-100092","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-100092"},"summary":{"title":"f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to use bio_in_atomic() in f2fs_read_end_io()\n\nf2fs_read_end_io() uses \"in_task() && !irqs_disabled()\" to decide\nwhether it is safe to sleep, the result is passed down as @in_task to:\n- f2fs_put_dic() -> f2fs_free_dic() -> f2fs_release_decomp_mem()\n  -> vm_unmap_ram(), which may sleep.\n- f2fs_end_read_compressed_page() -> f2fs_cache_compressed_page()\n  -> f2fs_grab_cache() -> f2fs_lock_cache(), which may sleep in\n  wait_on_bit_lock().\n\nHowever, the check still treats below task contexts as sleepable:\n- with spinlock held via spin_lock(), i.e. preempt count != 0 while\n  irqs are enabled.\n- with BH disabled via local_bh_disable().\n- inside an RCU read lock on kernels with CONFIG_PREEMPTION.\n- with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.\n\nSo the \"sleeping function called from invalid context\" issue fixed by\ncommit 08a7efc5b02a (\"f2fs: vm_unmap_ram() may be called from an\ninvalid context\") can still be triggered.\n\nThe block layer provides bio_in_atomic() for exactly this purpose, it\nchecks rcu_preempt_depth() and preemptible(), and conservatively returns\ntrue if CONFIG_PREEMPT_COUNT is disabled, let's use it instead. The\ndifference is as below:\n\n old: intask = in_task() && !irqs_disabled()\n new: intask = !bio_in_atomic()\n\n Context                              | old intask     | new intask\n -------------------------------------+----------------+----------------\n Hard IRQ / softirq                   | false          | false\n IRQs disabled                        | false          | false\n spin_lock() held, IRQs enabled       | true (wrong)   | false\n BH disabled by local_bh_disable()    | true (wrong)   | false\n RCU read lock (CONFIG_PREEMPTION)    | true (wrong)   | false\n Spinlock held, w/o PREEMPT_COUNT     | true (wrong)   | false\n\nNote that on kernels without CONFIG_PREEMPT_COUNT, bio_in_atomic()\nalways returns true, so dic freeing will always be offloaded to sbi->wq,\nand compressed pages will not be cached in f2fs_read_end_io(); this is\nthe price of correctness, since there is no way to tell whether the\ncurrent context can sleep.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:27","updated_at":"2026-11-30 14:17:27"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0","name":"https://git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424","name":"https://git.kernel.org/stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598","name":"https://git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6","name":"https://git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7","name":"https://git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22","name":"https://git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-100092","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100092","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected eb69e69a5ae6c8350957893b5f68bd55b1565fb2 e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1023836d1b9465593c8746f97d608da32958785f 4dd9b48ee2eb23d524d76cab670090fda5ae7bb7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0fe7976b62546f1e95eebfe9879925e9aa22b7a8 974a545e94e7b3c101ee1aaa9e0672655c94b598 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 08a7efc5b02a0620ae16aa9584060e980a69cb55 b7b1a54e3e1ade64a81a44d19e16cb76185d60b0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 08a7efc5b02a0620ae16aa9584060e980a69cb55 f0abf244bcbb361b0d00a2ae4606294694c0e424 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 08a7efc5b02a0620ae16aa9584060e980a69cb55 a605d5d71a6d280c43c7ede9778dda63fb5c3f22 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 411e00f44e2e1a7fdb526013b25a7f0ed22a0947 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 18eea36f4f460ead3750ed4afe5496f7ce55f99e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.148 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.102 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.42 6.12.118 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.15.10 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16.1 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/f2fs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6","status":"affected","version":"eb69e69a5ae6c8350957893b5f68bd55b1565fb2","versionType":"git"},{"lessThan":"4dd9b48ee2eb23d524d76cab670090fda5ae7bb7","status":"affected","version":"1023836d1b9465593c8746f97d608da32958785f","versionType":"git"},{"lessThan":"974a545e94e7b3c101ee1aaa9e0672655c94b598","status":"affected","version":"0fe7976b62546f1e95eebfe9879925e9aa22b7a8","versionType":"git"},{"lessThan":"b7b1a54e3e1ade64a81a44d19e16cb76185d60b0","status":"affected","version":"08a7efc5b02a0620ae16aa9584060e980a69cb55","versionType":"git"},{"lessThan":"f0abf244bcbb361b0d00a2ae4606294694c0e424","status":"affected","version":"08a7efc5b02a0620ae16aa9584060e980a69cb55","versionType":"git"},{"lessThan":"a605d5d71a6d280c43c7ede9778dda63fb5c3f22","status":"affected","version":"08a7efc5b02a0620ae16aa9584060e980a69cb55","versionType":"git"},{"status":"affected","version":"411e00f44e2e1a7fdb526013b25a7f0ed22a0947","versionType":"git"},{"status":"affected","version":"18eea36f4f460ead3750ed4afe5496f7ce55f99e","versionType":"git"},{"lessThan":"6.1.193","status":"affected","version":"6.1.148","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"6.6.102","versionType":"semver"},{"lessThan":"6.12.118","status":"affected","version":"6.12.42","versionType":"semver"},{"lessThan":"6.16","status":"affected","version":"6.15.10","versionType":"semver"},{"lessThan":"6.17","status":"affected","version":"6.16.1","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/f2fs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.1.148","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.102","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.12.42","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to use bio_in_atomic() in f2fs_read_end_io()\n\nf2fs_read_end_io() uses \"in_task() && !irqs_disabled()\" to decide\nwhether it is safe to sleep, the result is passed down as @in_task to:\n- f2fs_put_dic() -> f2fs_free_dic() -> f2fs_release_decomp_mem()\n  -> vm_unmap_ram(), which may sleep.\n- f2fs_end_read_compressed_page() -> f2fs_cache_compressed_page()\n  -> f2fs_grab_cache() -> f2fs_lock_cache(), which may sleep in\n  wait_on_bit_lock().\n\nHowever, the check still treats below task contexts as sleepable:\n- with spinlock held via spin_lock(), i.e. preempt count != 0 while\n  irqs are enabled.\n- with BH disabled via local_bh_disable().\n- inside an RCU read lock on kernels with CONFIG_PREEMPTION.\n- with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.\n\nSo the \"sleeping function called from invalid context\" issue fixed by\ncommit 08a7efc5b02a (\"f2fs: vm_unmap_ram() may be called from an\ninvalid context\") can still be triggered.\n\nThe block layer provides bio_in_atomic() for exactly this purpose, it\nchecks rcu_preempt_depth() and preemptible(), and conservatively returns\ntrue if CONFIG_PREEMPT_COUNT is disabled, let's use it instead. The\ndifference is as below:\n\n old: intask = in_task() && !irqs_disabled()\n new: intask = !bio_in_atomic()\n\n Context                              | old intask     | new intask\n -------------------------------------+----------------+----------------\n Hard IRQ / softirq                   | false          | false\n IRQs disabled                        | false          | false\n spin_lock() held, IRQs enabled       | true (wrong)   | false\n BH disabled by local_bh_disable()    | true (wrong)   | false\n RCU read lock (CONFIG_PREEMPTION)    | true (wrong)   | false\n Spinlock held, w/o PREEMPT_COUNT     | true (wrong)   | false\n\nNote that on kernels without CONFIG_PREEMPT_COUNT, bio_in_atomic()\nalways returns true, so dic freeing will always be offloaded to sbi->wq,\nand compressed pages will not be cached in f2fs_read_end_io(); this is\nthe price of correctness, since there is no way to tell whether the\ncurrent context can sleep."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:23:42.225Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6"},{"url":"https://git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7"},{"url":"https://git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598"},{"url":"https://git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0"},{"url":"https://git.kernel.org/stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424"},{"url":"https://git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22"}],"title":"f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-100092","datePublished":"2026-11-30T13:23:42.225Z","dateReserved":"2026-09-25T10:25:14.457Z","dateUpdated":"2026-11-30T13:23:42.225Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:27","lastModifiedDate":"2026-11-30 14:17:27","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"100092","Ordinal":"1","Title":"f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()","CVE":"CVE-2026-100092","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"100092","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to use bio_in_atomic() in f2fs_read_end_io()\n\nf2fs_read_end_io() uses \"in_task() && !irqs_disabled()\" to decide\nwhether it is safe to sleep, the result is passed down as @in_task to:\n- f2fs_put_dic() -> f2fs_free_dic() -> f2fs_release_decomp_mem()\n  -> vm_unmap_ram(), which may sleep.\n- f2fs_end_read_compressed_page() -> f2fs_cache_compressed_page()\n  -> f2fs_grab_cache() -> f2fs_lock_cache(), which may sleep in\n  wait_on_bit_lock().\n\nHowever, the check still treats below task contexts as sleepable:\n- with spinlock held via spin_lock(), i.e. preempt count != 0 while\n  irqs are enabled.\n- with BH disabled via local_bh_disable().\n- inside an RCU read lock on kernels with CONFIG_PREEMPTION.\n- with any spinlock held on kernels without CONFIG_PREEMPT_COUNT.\n\nSo the \"sleeping function called from invalid context\" issue fixed by\ncommit 08a7efc5b02a (\"f2fs: vm_unmap_ram() may be called from an\ninvalid context\") can still be triggered.\n\nThe block layer provides bio_in_atomic() for exactly this purpose, it\nchecks rcu_preempt_depth() and preemptible(), and conservatively returns\ntrue if CONFIG_PREEMPT_COUNT is disabled, let's use it instead. The\ndifference is as below:\n\n old: intask = in_task() && !irqs_disabled()\n new: intask = !bio_in_atomic()\n\n Context                              | old intask     | new intask\n -------------------------------------+----------------+----------------\n Hard IRQ / softirq                   | false          | false\n IRQs disabled                        | false          | false\n spin_lock() held, IRQs enabled       | true (wrong)   | false\n BH disabled by local_bh_disable()    | true (wrong)   | false\n RCU read lock (CONFIG_PREEMPTION)    | true (wrong)   | false\n Spinlock held, w/o PREEMPT_COUNT     | true (wrong)   | false\n\nNote that on kernels without CONFIG_PREEMPT_COUNT, bio_in_atomic()\nalways returns true, so dic freeing will always be offloaded to sbi->wq,\nand compressed pages will not be cached in f2fs_read_end_io(); this is\nthe price of correctness, since there is no way to tell whether the\ncurrent context can sleep.","Type":"Description","Title":"f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()"}]}}}