{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99811",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.435Z",
        "datePublished": "2026-11-25T18:26:11.771Z",
        "dateUpdated": "2026-11-25T18:26:11.771Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-25T18:26:11.771Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/cdx: prevent read-only region mappings from becoming writable\n\nvfio_cdx_mmap() rejects writable mappings of regions without the WRITE\nflag, but leaves VM_MAYWRITE set.  Userspace can map such a region\nread-only and then upgrade the mapping to writable with mprotect(),\nwriting to MMIO regions the device marks read-only.\n\nClear VM_MAYWRITE for regions without the WRITE flag, as i915 does for\nits read-only objects and as fixed in drm/vc4 (CVE-2026-68445),\ndrm/panthor (CVE-2024-53071) and commit a5edadbae57e (\"ptp: vmclock:\nprevent read-only mappings from becoming writable\").\n\nNote this is defensive hardening: no in-tree cdx device currently\npublishes a region without the WRITE flag.  The guard costs nothing and\nkeeps the mmap() interface honest if a read-only region ever appears."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/vfio/cdx/main.c"
                    ],
                    "versions": [
                        {
                            "version": "234489ac561300ceed33e64c3bf3a810b9e2051d",
                            "lessThan": "9628e3fbe9680f5025140cdf44fcbb1de9f8a789",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "234489ac561300ceed33e64c3bf3a810b9e2051d",
                            "lessThan": "3eaabe24a0c0c1c67388e2b4e8624ca484a739eb",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "234489ac561300ceed33e64c3bf3a810b9e2051d",
                            "lessThan": "a82df58e3dbf35325a7eec09d0aa8e16892a3ce3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "234489ac561300ceed33e64c3bf3a810b9e2051d",
                            "lessThan": "0b4d943393cb75aa398db220c0fa192ed856b6e8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "234489ac561300ceed33e64c3bf3a810b9e2051d",
                            "lessThan": "9c5cd385d295fa8621dff0e9f6063e3f6ff24159",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/vfio/cdx/main.c"
                    ],
                    "versions": [
                        {
                            "version": "6.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.5",
                            "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": "6.5",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.5",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/9628e3fbe9680f5025140cdf44fcbb1de9f8a789"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3eaabe24a0c0c1c67388e2b4e8624ca484a739eb"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a82df58e3dbf35325a7eec09d0aa8e16892a3ce3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0b4d943393cb75aa398db220c0fa192ed856b6e8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9c5cd385d295fa8621dff0e9f6063e3f6ff24159"
                }
            ],
            "title": "vfio/cdx: prevent read-only region mappings from becoming writable",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}