{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-52461",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-02-20T12:30:33.294Z",
        "datePublished": "2024-02-23T14:46:22.280Z",
        "dateUpdated": "2026-08-05T09:10:05.263Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:10:05.263Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/sched: Fix bounds limiting when given a malformed entity\n\nIf we're given a malformed entity in drm_sched_entity_init()--shouldn't\nhappen, but we verify--with out-of-bounds priority value, we set it to an\nallowed value. Fix the expression which sets this limit."
                }
            ],
            "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 vulnerable path is reached only through local DRM device open/ioctl flows that call drm_sched_entity_init() (render-node context/submitqueue setup on /dev/dri/renderD*), not via network or adjacent-link protocols.\nAC:L - When a scheduler is created with fewer run-queues than the entity priority (including vendor/out-of-tree GPU drivers using num_rqs=1 with a non-MIN priority, or num_rqs=0 which drm_sched_init allows), the broken clamp deterministically indexes one past sched_rq[] with no race or attacker-uncontrollable condition.\nPR:L - Entity creation runs on DRM render nodes with DRM_RENDER_ALLOW ioctls and no capability check, so any unprivileged local user with GPU device access (typical on Android phones, desktops, and containers with /dev/dri) can reach the code.\nUI:N - The attacker opens the DRM device and creates a context/submit queue themselves; no victim interaction is required.\nS:U - Impact is kernel heap corruption and potential privilege escalation within the host kernel’s security authority, with no VM escape, IOMMU bypass, or other cross-boundary effect.\nC:H - The buggy clamp performs an out-of-bounds read of a struct drm_sched_rq * from past the kmalloc’d sched_rq array and stores it in entity->rq; reclaiming/grooming adjacent slab memory yields an arbitrary kernel read primitive through the corrupted run-queue pointer.\nI:H - Subsequent drm_sched_rq_add_entity/list and score updates write through the corrupted entity->rq (spin_lock, list_add_tail, atomic_inc of rq->sched->score), giving a heap-corruption write/control-flow hijack primitive once the adjacent pointer is attacker-influenced.\nA:H - Dereferencing the out-of-bounds or attacker-groomed rq pointer causes a kernel oops/panic, so availability is fully impacted even when the bug is not exploited for code execution."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/scheduler/sched_entity.c"
                    ],
                    "versions": [
                        {
                            "version": "56e449603f0ac580700621a356d35d5716a62ce5",
                            "lessThan": "1470d173925d697b497656b93f7c5bddae2e64b2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "56e449603f0ac580700621a356d35d5716a62ce5",
                            "lessThan": "2bbe6ab2be53858507f11f99f856846d04765ae3",
                            "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/scheduler/sched_entity.c"
                    ],
                    "versions": [
                        {
                            "version": "6.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.2",
                            "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": "6.7",
                                    "versionEndExcluding": "6.7.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.8"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/1470d173925d697b497656b93f7c5bddae2e64b2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2bbe6ab2be53858507f11f99f856846d04765ae3"
                }
            ],
            "title": "drm/sched: Fix bounds limiting when given a malformed entity",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "lang": "en",
                                "description": "CWE-noinfo Not enough information"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.3,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-02-23T22:33:47.670469Z",
                                "id": "CVE-2023-52461",
                                "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-11-07T17:24:25.981Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:03:19.610Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/1470d173925d697b497656b93f7c5bddae2e64b2",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/2bbe6ab2be53858507f11f99f856846d04765ae3",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}