{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143200",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.359Z",
        "datePublished": "2026-12-03T09:20:25.647Z",
        "dateUpdated": "2026-12-03T09:20:25.647Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:20:25.647Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: reset buf->off in erofs_init_metabuf()\n\nerofs_init_metabuf() sets buf->off only for the block device and keeps\nthe old value when it switches to the metabox or the managed cache.\nerofs_bread() adds buf->off to every offset, so the result depends on\nhow the buffer was last initialized.\n\ngetxattr and listxattr init the same buffer twice, for the inline and\nthe shared xattrs, with in_metabox taken from different places.  On a\nblock device mount with fsoffset=, if the inode is outside the metabox\nand COMPAT_SHARED_EA_IN_METABOX is set, the shared xattrs are read at\ntheir metabox offset plus fsoffset.  The same image mounted file-backed\nreturns the right values.\n\nReset buf->off on every init."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/erofs/data.c"
                    ],
                    "versions": [
                        {
                            "version": "414091322c6363c9283aeb177101e4d7a3819ccd",
                            "lessThan": "fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "414091322c6363c9283aeb177101e4d7a3819ccd",
                            "lessThan": "8b4ddd28ec5bdec14cefc57f8bf792cb4764d724",
                            "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/erofs/data.c"
                    ],
                    "versions": [
                        {
                            "version": "6.17",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.17",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "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.17",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.17",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8b4ddd28ec5bdec14cefc57f8bf792cb4764d724"
                }
            ],
            "title": "erofs: reset buf->off in erofs_init_metabuf()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}