{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-26914",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-19T14:20:24.193Z",
        "datePublished": "2024-04-17T15:59:24.453Z",
        "dateUpdated": "2026-08-05T11:28:17.004Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:28:17.004Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: fix incorrect mpc_combine array size\n\n[why]\nMAX_SURFACES is per stream, while MAX_PLANES is per asic. The\nmpc_combine is an array that records all the planes per asic. Therefore\nMAX_PLANES should be used as the array size. Using MAX_SURFACES causes\narray overflow when there are more than 3 planes.\n\n[how]\nUse the MAX_PLANES for the mpc_combine array size."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The overflow is reached only through the local DRM atomic modeset ioctl (`DRM_IOCTL_MODE_ATOMIC`) on /dev/dri/cardN, which drives `amdgpu_dm_atomic_check()` → `dc_validate_global_state()` → `dcn32_internal_validate_bw()`. No network or remote data path reaches `dcn32_fpu.c`.\nAC:L - On an affected DCN3.2/3.2.1 ASIC the attacker fully controls the trigger — assigning four planes (two primaries plus two MPO overlays) across two CRTCs in a single atomic commit, even a TEST_ONLY one, deterministically pushes `mpc_combine_count` past the 3-entry array. No race, no timing window, no unpredictable memory layout is required.\nPR:L - The atomic ioctl requires DRM master, which an ordinary unprivileged user holds for their own graphical session (or obtains by opening the card first on a kiosk/embedded/automotive system with no running compositor); no root or capability in the init namespace is needed.\nUI:N - The attacker performs the entire sequence — configuring planes and issuing the atomic commit/test — from their own process; no other user must open a file, plug in hardware, or take any action.\nS:U - The corruption occurs in the kernel stack frame of the amdgpu display driver and stays within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Clobbering `mpc_combine_count` with the low bits of a kernel pointer makes `update_pipes_with_slice_table()` and `update_slice_table_for_plane()` read hundreds of megabytes worth of out-of-bounds indices off the kernel stack and treat that data as `dc_plane_state`/`pipe_ctx` pointers, giving an out-of-bounds read primitive over kernel memory; per kernel CVSS guidance, memory corruption of this class is scored High.\nI:H - This is an out-of-bounds stack write: kernel pointer values are written past the end of `struct pipe_slice_table`, and the corrupted count subsequently allows an append at an attacker-uninfluenced-but-huge index, producing a wild write plus `slice_count += diff` increments at out-of-bounds addresses — an exploitable memory-corruption primitive.\nA:H - Once the count is corrupted into a multi-million value, the driver dereferences garbage pointers inside a `DC_FP_START()`/kernel_fpu section while holding the DC lock, which reliably produces an oops/panic and takes down the display pipeline."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c"
                    ],
                    "versions": [
                        {
                            "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
                            "lessThan": "0bd8ef618a42d7e6ea3f701065264e15678025e3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c",
                            "lessThan": "39079fe8e660851abbafa90cd55cbf029210661f",
                            "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/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c"
                    ],
                    "versions": [
                        {
                            "version": "4.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.6",
                            "lessThanOrEqual": "6.7.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8",
                            "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": "4.15",
                                    "versionEndExcluding": "6.7.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "6.8"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0bd8ef618a42d7e6ea3f701065264e15678025e3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/39079fe8e660851abbafa90cd55cbf029210661f"
                }
            ],
            "title": "drm/amd/display: fix incorrect mpc_combine array size",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T00:21:05.456Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/0bd8ef618a42d7e6ea3f701065264e15678025e3",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/39079fe8e660851abbafa90cd55cbf029210661f",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-26914",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-09-10T15:47:53.436948Z"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-11T17:32:51.667Z"
                }
            }
        ]
    }
}