{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "eb69e69a5ae6c8350957893b5f68bd55b1565fb2"
            },
            {
              "fixed": "e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "1023836d1b9465593c8746f97d608da32958785f"
            },
            {
              "fixed": "4dd9b48ee2eb23d524d76cab670090fda5ae7bb7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0fe7976b62546f1e95eebfe9879925e9aa22b7a8"
            },
            {
              "fixed": "974a545e94e7b3c101ee1aaa9e0672655c94b598"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "08a7efc5b02a0620ae16aa9584060e980a69cb55"
            },
            {
              "fixed": "b7b1a54e3e1ade64a81a44d19e16cb76185d60b0"
            },
            {
              "fixed": "f0abf244bcbb361b0d00a2ae4606294694c0e424"
            },
            {
              "fixed": "a605d5d71a6d280c43c7ede9778dda63fb5c3f22"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "411e00f44e2e1a7fdb526013b25a7f0ed22a0947"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "18eea36f4f460ead3750ed4afe5496f7ce55f99e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.1.148"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.102"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.42"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.15.10"
            },
            {
              "fixed": "6.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.16.1"
            },
            {
              "fixed": "6.17"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100092.json"
  },
  "details": "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() \u0026\u0026 !irqs_disabled()\" to decide\nwhether it is safe to sleep, the result is passed down as @in_task to:\n- f2fs_put_dic() -\u003e f2fs_free_dic() -\u003e f2fs_release_decomp_mem()\n  -\u003e vm_unmap_ram(), which may sleep.\n- f2fs_end_read_compressed_page() -\u003e f2fs_cache_compressed_page()\n  -\u003e f2fs_grab_cache() -\u003e 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() \u0026\u0026 !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-\u003ewq,\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.",
  "id": "CVE-2026-100092",
  "modified": "2026-12-01T20:45:47.966385087Z",
  "published": "2026-11-30T13:23:42.225Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4dd9b48ee2eb23d524d76cab670090fda5ae7bb7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/974a545e94e7b3c101ee1aaa9e0672655c94b598"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a605d5d71a6d280c43c7ede9778dda63fb5c3f22"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b7b1a54e3e1ade64a81a44d19e16cb76185d60b0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e08cb38f91a8f7cc4a6f96dfb0c3a4958a2227a6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f0abf244bcbb361b0d00a2ae4606294694c0e424"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100092.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100092"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "f2fs: fix to use bio_in_atomic() in f2fs_read_end_io()"
}