{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-56784",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-12-29T11:26:39.769Z",
        "datePublished": "2025-01-08T17:52:00.503Z",
        "dateUpdated": "2026-08-05T11:46:28.847Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:46:28.847Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Adding array index check to prevent memory corruption\n\n[Why & How]\nArray indices out of bound caused memory corruption. Adding checks to\nensure that array index stays in bound."
                }
            ],
            "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 driven by a DRM atomic modeset/writeback commit on /dev/dri/card0, which requires local access to the GPU device node; there is no network or remote data path into the clk_mgr bandwidth notifier.\nAC:L - On affected DCN 3.5.1 hardware the out-of-bounds index is deterministic — the writeback connector's virtual link always sits four indices above the lowest DPIA link, yielding hr_index==2 on every commit — with no race, timing window, or memory-layout condition outside the attacker's control.\nPR:L - An unprivileged local user in a graphical session (holding DRM master via logind, or any user with access to the card node in a container/kiosk) can issue the atomic commit that reaches dcn35_notify_host_router_bw; no root or CAP_SYS_ADMIN is needed.\nUI:N - The attacker performs the DRM_IOCTL_MODE_ATOMIC call itself; no victim action such as plugging in a monitor or dock is required, since the offending virtual/writeback link is created unconditionally at driver init.\nS:U - The corruption is confined to the kernel's own stack within the amdgpu display driver; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The out-of-bounds access is a read-modify-write that reads adjacent stack contents beyond the 2-element array, and clobbering saved pointers/registers in the frame is leverageable into a kernel memory disclosure primitive.\nI:H - This is an out-of-bounds stack write whose value (pixel-clock-derived bandwidth in kbps) is attacker-influenced through the committed display mode, allowing an arbitrary 32-bit addend to be applied to adjacent stack slots including saved registers and return-address region — a control-flow hijack primitive.\nA:H - Corrupting stack memory past host_router_bw_kbps[] reliably produces stack-protector panics, oopses, or hangs on every affected display commit, and the attacker can repeat it at will."
                        }
                    ]
                }
            ],
            "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/clk_mgr/dcn35/dcn35_clk_mgr.c"
                    ],
                    "versions": [
                        {
                            "version": "0057b36ac2be0f573048acda52e641e0502a9ff3",
                            "lessThan": "dff526dc3e27f5484f5ba11471b9fbbe681467f2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0057b36ac2be0f573048acda52e641e0502a9ff3",
                            "lessThan": "2c437d9a0b496168e1a1defd17b531f0a526dbe9",
                            "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/clk_mgr/dcn35/dcn35_clk_mgr.c"
                    ],
                    "versions": [
                        {
                            "version": "6.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.5",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.13",
                            "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.11",
                                    "versionEndExcluding": "6.12.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.11",
                                    "versionEndExcluding": "6.13"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/dff526dc3e27f5484f5ba11471b9fbbe681467f2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2c437d9a0b496168e1a1defd17b531f0a526dbe9"
                }
            ],
            "title": "drm/amd/display: Adding array index check to prevent memory corruption",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-56784",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T19:56:12.168384Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-787",
                                "description": "CWE-787 Out-of-bounds Write"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T19:57:23.425Z"
                }
            }
        ]
    }
}