{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142849",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.333Z",
        "datePublished": "2026-12-03T03:20:56.961Z",
        "dateUpdated": "2026-12-03T03:20:56.961Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:20:56.961Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfarray: don't crash when sorting if array element crosses a folio\n\nLOLLM points out that if an array element crosses a folio boundary,\nxfile_get_folio returns a NULL folio pointer.  If this happens,\nsi->folio is also set to NULL, and calling folio_pos/folio_address will\njust crash the kernel.  Teach this function to handle this condition by\nfalling back to reading the array element into scratchpad memory."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/xfs/scrub/xfarray.c"
                    ],
                    "versions": [
                        {
                            "version": "cf36f4f64c2d4e928b6fdfff06d8e21561e3e32f",
                            "lessThan": "a9be490d66302df78797ea8f0243851f09459815",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cf36f4f64c2d4e928b6fdfff06d8e21561e3e32f",
                            "lessThan": "ee0798f0ec8149774acd78dc54ce3b928210dad3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cf36f4f64c2d4e928b6fdfff06d8e21561e3e32f",
                            "lessThan": "04123ffb185934183944befdc5cbbb67ec8bb5b1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cf36f4f64c2d4e928b6fdfff06d8e21561e3e32f",
                            "lessThan": "329750292e9dfbb594b375d7b30cf5ddb58b7bb9",
                            "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/xfs/scrub/xfarray.c"
                    ],
                    "versions": [
                        {
                            "version": "6.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "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.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.6",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a9be490d66302df78797ea8f0243851f09459815"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ee0798f0ec8149774acd78dc54ce3b928210dad3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/04123ffb185934183944befdc5cbbb67ec8bb5b1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/329750292e9dfbb594b375d7b30cf5ddb58b7bb9"
                }
            ],
            "title": "xfarray: don't crash when sorting if array element crosses a folio",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}