{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-100094",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.457Z",
        "datePublished": "2026-11-30T13:23:43.302Z",
        "dateUpdated": "2026-12-03T03:33:01.428Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:33:01.428Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->i_mapping,\n\t\t\t\tpg_start << PAGE_SHIFT,\n\t\t\t\t(pg_end << 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->i_mapping,\n\t\t\t\t(loff_t)index << PAGE_SHIFT,\n\t\t\t\t((loff_t)pg_end << 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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/f2fs/file.c"
                    ],
                    "versions": [
                        {
                            "version": "2e6cdff4a464569b939b84710db00bf3ce8e6d53",
                            "lessThan": "465d1f88b83828f969113faef1978fe6da0ca17f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "09b521af56b6b6b666b3f29c21072cc24ea48ec0",
                            "lessThan": "159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d6737d14e65ae1a26c42f1b5188ab5c6e5ed11f2",
                            "lessThan": "c58db6d7e4ac63921940abd6c506621de78fd972",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "197080156f27b6bf8cf198e9313dfbb94769c736",
                            "lessThan": "55e004e52af96801577b6c3c4d52a578f369f4b5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "197080156f27b6bf8cf198e9313dfbb94769c736",
                            "lessThan": "16cb21f3f99296c2c93da11158d2c6a3577ba370",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "197080156f27b6bf8cf198e9313dfbb94769c736",
                            "lessThan": "ff39a2d5d66e6cd74f04d40ac36db5952a302271",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "197080156f27b6bf8cf198e9313dfbb94769c736",
                            "lessThan": "92154fe28c3701bebf75176dc5522bec62519a8f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/f2fs/file.c"
                    ],
                    "versions": [
                        {
                            "version": "6.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/465d1f88b83828f969113faef1978fe6da0ca17f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c58db6d7e4ac63921940abd6c506621de78fd972"
                },
                {
                    "url": "https://git.kernel.org/stable/c/55e004e52af96801577b6c3c4d52a578f369f4b5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/16cb21f3f99296c2c93da11158d2c6a3577ba370"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ff39a2d5d66e6cd74f04d40ac36db5952a302271"
                },
                {
                    "url": "https://git.kernel.org/stable/c/92154fe28c3701bebf75176dc5522bec62519a8f"
                }
            ],
            "title": "f2fs: fix defragment writeback range truncation on 32-bit",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}