{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99740",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.432Z",
        "datePublished": "2026-11-20T05:51:12.953Z",
        "dateUpdated": "2026-11-23T08:06:47.157Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:06:47.157Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: stop retrying folios that cannot be split\n\nA fault or collapse can insert a large folio crossing EOF after\nshmem_undo_range() has handled the boundary folios. If splitting that\nfolio fails, truncate_inode_partial_folio() retains it when it is dirty.\nThe final scan then repeatedly finds it because it restarts from an\nunchanged start.\n\nTruncation keeps the inode lock and ignores fatal signals while looping.\nA concurrent unlink() can then block other directory operations while\nholding the directory lock and waiting for the file's lock.\n\nAdvance start past the retained folio, whose truncated part has already\nbeen zeroed. Do not move start backwards if the failed split has shrunk\nthe folio.\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: split fixes, simplify descriptions, adjust comments ]"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/shmem.c"
                    ],
                    "versions": [
                        {
                            "version": "da9b7c651c6517c2de1099136ed87c0c24f864dd",
                            "lessThan": "c00f570d296157a89bf25282cfabc057a34dbc85",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7a4ae7acd20805940307be98b304871a43288a01",
                            "lessThan": "65c71c823b8ceb7721642fdb24a992b22fdf0944",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
                            "lessThan": "dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
                            "lessThan": "1360e0f9a188cfede01d0df81119d925bbfff165",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
                            "lessThan": "b3239a5a37bba078d83cfb864d47a0cc122f17cd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "55ac8bbe358bdd2f3c044c12f249fd22d48fe015",
                            "lessThan": "a842a1f947da8a7020e72f885ffbf2ce6a93685f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.69",
                            "lessThan": "6.1.193",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.8",
                            "lessThan": "6.6.163",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "mm/shmem.c"
                    ],
                    "versions": [
                        {
                            "version": "6.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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.1.69",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.8",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c00f570d296157a89bf25282cfabc057a34dbc85"
                },
                {
                    "url": "https://git.kernel.org/stable/c/65c71c823b8ceb7721642fdb24a992b22fdf0944"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dfedff4a9f0abcd985dcdfbd721dcd9374d6ff12"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1360e0f9a188cfede01d0df81119d925bbfff165"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b3239a5a37bba078d83cfb864d47a0cc122f17cd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a842a1f947da8a7020e72f885ffbf2ce6a93685f"
                }
            ],
            "title": "mm/shmem: stop retrying folios that cannot be split",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}