{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142791",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.329Z",
        "datePublished": "2026-12-03T03:11:25.477Z",
        "dateUpdated": "2026-12-03T03:11:25.477Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:11:25.477Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix buffer overflow in corrupt inline attr structure\n\nLOLLM noticed a buffer overrun if the xattr scrubber encounters a file\nwith a shortform attr fork with sf->count > 0 but if_bytes ==\nsizeof(struct xfs_attr_sf_hdr).  Basically, we have enough data to have\na header with a nonzero count, but no space for any of those shortform\nentries.  In this case, the xfs_attr_sf_nextentry() call will run off\nthe end of if_data and blow up."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/xfs/scrub/attr.c",
                        "fs/xfs/scrub/attr_repair.c"
                    ],
                    "versions": [
                        {
                            "version": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf",
                            "lessThan": "705d1ea0123db96d2c2484c26d5369013a5ce348",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf",
                            "lessThan": "6f85707eee2f82b97f3a03cc758359891cdfad1e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf",
                            "lessThan": "779f9d180b4b1fdf2d4b045a1acd763043ee83c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf",
                            "lessThan": "65a65a295935045cb9084e4c96aadf4c369b20c4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ae0506eba78fd1d6236b46ca5aa089c8fc6050cf",
                            "lessThan": "017dd7a84ff4cd2275eb62f4ee6d63c705bac107",
                            "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/attr.c",
                        "fs/xfs/scrub/attr_repair.c"
                    ],
                    "versions": [
                        {
                            "version": "6.4",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.4",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.61",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.2",
                            "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.4",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "6.18.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "7.3.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.4",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/705d1ea0123db96d2c2484c26d5369013a5ce348"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6f85707eee2f82b97f3a03cc758359891cdfad1e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/779f9d180b4b1fdf2d4b045a1acd763043ee83c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/65a65a295935045cb9084e4c96aadf4c369b20c4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/017dd7a84ff4cd2275eb62f4ee6d63c705bac107"
                }
            ],
            "title": "xfs: fix buffer overflow in corrupt inline attr structure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}