{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2024-50173",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-10-21T19:36:19.963Z",
        "datePublished": "2024-11-08T05:23:55.847Z",
        "dateUpdated": "2026-08-05T11:42:15.864Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T11:42:15.864Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()\n\nThe group variable can't be used to retrieve ptdev in our second loop,\nbecause it points to the previously iterated list_head, not a valid\ngroup. Get the ptdev object from the scheduler instead."
                }
            ],
            "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 code is the panthor GPU scheduler tick worker, reached only through DRM ioctls on `/dev/dri/renderD*` (GROUP_CREATE/GROUP_SUBMIT). There is no network or remote path to the panthor scheduler.\nAC:L - There is no race to win and no memory-layout condition outside the attacker's influence; the bogus `group` pointer is deterministic (a fixed negative offset from the on-stack tick context) and the attacker fully controls invocation of the scheduler tick by submitting GPU work and provoking queue faults, CSG timeouts and reset handling.\nPR:L - All panthor ioctls are marked `DRM_RENDER_ALLOW`, requiring neither DRM master nor any capability, so any local unprivileged process with render-node access (the default for desktop/Chromebook/Android GPU clients and sandboxed renderers) can reach the path.\nUI:N - The attacker's own process drives group creation and job submission; the scheduler tick work runs asynchronously with no action required from any other user.\nS:U - The stale pointer read and resulting fault occur in kernel context within the same security authority; no VM, IOMMU or sandbox boundary is crossed.\nC:H - The garbage value loaded from stale kernel stack is dereferenced as a `struct panthor_device *` and a string is read through `->base.dev` and printed via printk, disclosing kernel memory contents into the kernel log; the attacker can influence stack residue to steer that read.\nI:H - Consuming an uninitialized pointer as a live device object corrupts kernel control flow into `dev_driver_string()`/`dev_name()` on attacker-influenceable stack residue, which is not a bounded read and is treated as exploitable memory corruption rather than a contained fault.\nA:H - Dereferencing the bogus `group->ptdev` value reliably produces an oops/panic in the GPU scheduler worker while holding `sched->lock`, wedging the GPU scheduler and crashing the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/panthor/panthor_sched.c"
                    ],
                    "versions": [
                        {
                            "version": "d72f049087d4f973f6332b599c92177e718107de",
                            "lessThan": "ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d72f049087d4f973f6332b599c92177e718107de",
                            "lessThan": "3bde05794497d5f426d4ea2ecb9868bf7721fb24",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d72f049087d4f973f6332b599c92177e718107de",
                            "lessThan": "282864cc5d3f144af0cdea1868ee2dc2c5110f0d",
                            "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/panthor/panthor_sched.c"
                    ],
                    "versions": [
                        {
                            "version": "6.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.10.14",
                            "lessThanOrEqual": "6.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.11.3",
                            "lessThanOrEqual": "6.11.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12",
                            "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.10",
                                    "versionEndExcluding": "6.10.14"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "6.11.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.10",
                                    "versionEndExcluding": "6.12"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3bde05794497d5f426d4ea2ecb9868bf7721fb24"
                },
                {
                    "url": "https://git.kernel.org/stable/c/282864cc5d3f144af0cdea1868ee2dc2c5110f0d"
                }
            ],
            "title": "drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-50173",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2025-10-01T20:19:28.113788Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-908",
                                "description": "CWE-908 Use of Uninitialized Resource"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T20:27:10.747Z"
                }
            }
        ]
    }
}