{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139506",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.937Z",
        "datePublished": "2026-11-30T13:35:22.948Z",
        "dateUpdated": "2026-11-30T13:35:22.948Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:35:22.948Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: reject inconsistent xattr bucket during defrag\n\nocfs2_defrag_xattr_bucket() has two mlog_bug_on_msg() checks that assume\nthe name/value pairs in a bucket are disjoint and that xh_free_start is\nnot below the compacted region.\n\nocfs2_validate_xattr_bucket() only checks each entry in isolation, so a\ncorrupt bucket holding overlapping entries, or one with an inflated\nxh_free_start, passes validation and then hits BUG() in defrag when a\nsetxattr triggers it.\n\nDefrag works on a linear copy of the bucket and does not touch the real\nblocks before the copy back, so the checks can return an error instead of\ncalling BUG()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ocfs2/xattr.c"
                    ],
                    "versions": [
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "63081155c69087310192c722b67c2cb16d0fe078",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "e4f3d9d11e5492a610192199644de4874b816dbd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "abb6d65435990a9ba68f19ca9f66fc84d6f96c18",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "f171a81a29c510d617585be3eed04f05c71a141d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "2e6afa1a19213848be34c61ed8d88342c831c406",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "012255961c9ecfe22b7a1df47ac26ab37818cb1e",
                            "lessThan": "bd40b997f04542869afeabe94f2cf1a016fc9bfa",
                            "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/ocfs2/xattr.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.28",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.28",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "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.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "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": "2.6.28",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.28",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/63081155c69087310192c722b67c2cb16d0fe078"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e4f3d9d11e5492a610192199644de4874b816dbd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/abb6d65435990a9ba68f19ca9f66fc84d6f96c18"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f171a81a29c510d617585be3eed04f05c71a141d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2e6afa1a19213848be34c61ed8d88342c831c406"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bd40b997f04542869afeabe94f2cf1a016fc9bfa"
                }
            ],
            "title": "ocfs2: reject inconsistent xattr bucket during defrag",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}