{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-46725",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-09-11T15:12:18.256Z",
        "datePublished": "2024-09-18T06:32:22.423Z",
        "dateUpdated": "2026-08-05T11:38:09.565Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:38:09.565Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix out-of-bounds write warning\n\nCheck the ring type value to fix the out-of-bounds\nwrite warning"
                }
            ],
            "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 defect is in the amdgpu ring/scheduler registration path executed during local device and driver initialization, and the corrupted `gpu_sched[][]` table is consumed only through local DRM ioctls on /dev/dri/card*/renderD*. There is no network or adjacent-network path into amdgpu ring init.\nAC:L - In an affected configuration the ring type is a compile-time constant, so the out-of-bounds index is deterministic on every initialization — there is no race to win and no memory-layout condition to guess.\nPR:L - No capability check or privilege gate protects the array indexing itself; it runs as part of ordinary device attach/probe, and the resulting scheduler table is subsequently read and dereferenced on behalf of unprivileged local users holding a DRM render-node fd (amdgpu_ctx.c:163/229). Real root in the init namespace is not required to consume the corrupted state.\nUI:N - The write occurs automatically during driver/device initialization and the corrupted table is used by the attacker's own context-creation and command-submission ioctls; no action by another user or victim is needed.\nS:U - The corruption and its consequences are confined to the kernel of the machine running the driver, within `struct amdgpu_device`; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The code reads a `num_scheds` counter from out-of-bounds memory and uses it as an unbounded write index, and the resulting corruption of adjacent `struct amdgpu_irq` state (interrupt source tables and callback pointers) is memory corruption that can be leveraged for disclosure of kernel memory.\nI:H - This is an out-of-bounds write of a kernel pointer (`&ring->sched`) past `gpu_sched[][]` at an index taken from out-of-bounds memory, overwriting adjacent interrupt-handling structures in `struct amdgpu_device`; per kernel scoring guidance an OOB write with a corrupted destination index is High, as it can be leveraged toward control-flow hijack.\nA:H - Corrupting the scheduler table and adjacent irq structures leaves stale or wild `drm_gpu_scheduler` pointers that are later dereferenced during entity setup and interrupt dispatch, producing a kernel oops and a wedged GPU/system."
                        }
                    ]
                }
            ],
            "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/amdgpu/amdgpu_ring.c"
                    ],
                    "versions": [
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "c253b87c7c37ec40a2e0c84e4a6b636ba5cd66b2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "919f9bf9997b8dcdc132485ea96121e7d15555f9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "cf2db220b38301b6486a0f11da24a0f317de558c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "a60d1f7ff62e453dde2d3b4907e178954d199844",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "130bee397b9cd52006145c87a456fd8719390cb5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d38ceaf99ed015f2a0b9af3499791bd3a3daae21",
                            "lessThan": "be1684930f5262a622d40ce7a6f1423530d87f89",
                            "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/amdgpu/amdgpu_ring.c"
                    ],
                    "versions": [
                        {
                            "version": "4.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.226",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.167",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.109",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.50",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.10.9",
                            "lessThanOrEqual": "6.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11",
                            "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.2",
                                    "versionEndExcluding": "5.10.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.15.167"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.1.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.6.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.10.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.11"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/c253b87c7c37ec40a2e0c84e4a6b636ba5cd66b2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/919f9bf9997b8dcdc132485ea96121e7d15555f9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cf2db220b38301b6486a0f11da24a0f317de558c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a60d1f7ff62e453dde2d3b4907e178954d199844"
                },
                {
                    "url": "https://git.kernel.org/stable/c/130bee397b9cd52006145c87a456fd8719390cb5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/be1684930f5262a622d40ce7a6f1423530d87f89"
                }
            ],
            "title": "drm/amdgpu: Fix out-of-bounds write warning",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-09-29T14:55:45.774972Z",
                                "id": "CVE-2024-46725",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-09-29T14:56:00.445Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
                    },
                    {
                        "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-03T22:17:08.917Z"
                }
            }
        ]
    }
}