{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d323d005ac4a2d413128267af76bb9d71f7303da"
            },
            {
              "fixed": "465d1f88b83828f969113faef1978fe6da0ca17f"
            },
            {
              "fixed": "159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1"
            },
            {
              "fixed": "c58db6d7e4ac63921940abd6c506621de78fd972"
            },
            {
              "fixed": "55e004e52af96801577b6c3c4d52a578f369f4b5"
            },
            {
              "fixed": "16cb21f3f99296c2c93da11158d2c6a3577ba370"
            },
            {
              "fixed": "ff39a2d5d66e6cd74f04d40ac36db5952a302271"
            },
            {
              "fixed": "92154fe28c3701bebf75176dc5522bec62519a8f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.5.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "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-100094.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix defragment writeback range truncation on 32-bit\n\nf2fs_defragment_range() flushes the range it is about to defragment:\n\n\tfilemap_write_and_wait_range(inode-\u003ei_mapping,\n\t\t\t\tpg_start \u003c\u003c PAGE_SHIFT,\n\t\t\t\t(pg_end \u003c\u003c PAGE_SHIFT) - 1);\n\npg_start and pg_end are pgoff_t, 32 bits on 32-bit kernels, so both\nshifts are evaluated in 32 bits and truncated before they are widened to\nthe loff_t parameters.  pg_end is only capped by the file's page count,\nso for a file larger than 4 GiB the shift wraps.\n\nFor a 5 GiB file pg_end is 1310720 and the range collapses from\n[0, 5 GiB) to [0, 1 GiB), leaving the rest of the dirty pages unwritten\nbefore the blocks are moved.  For 8 GiB the shift yields 0, the minus one\nmakes it (loff_t)-1, and the range becomes [0, LLONG_MAX].\n\nThe matching call in f2fs_collapse_range() already casts:\n\n\tfilemap_write_and_wait_range(inode-\u003ei_mapping,\n\t\t\t\t(loff_t)index \u003c\u003c PAGE_SHIFT,\n\t\t\t\t((loff_t)pg_end \u003c\u003c PAGE_SHIFT) - 1);\n\nDo the same here.  On i386 the shift changes from \"shl $0xc,%ecx\" to\n\"shld\", i.e. from a 32-bit shift to a double-precision one.",
  "id": "CVE-2026-100094",
  "modified": "2026-11-30T14:45:24.964237218Z",
  "published": "2026-11-30T13:23:43.302Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/16cb21f3f99296c2c93da11158d2c6a3577ba370"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/465d1f88b83828f969113faef1978fe6da0ca17f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/55e004e52af96801577b6c3c4d52a578f369f4b5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/92154fe28c3701bebf75176dc5522bec62519a8f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c58db6d7e4ac63921940abd6c506621de78fd972"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ff39a2d5d66e6cd74f04d40ac36db5952a302271"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100094.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100094"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "f2fs: fix defragment writeback range truncation on 32-bit"
}