{"id":"CVE-2024-50173","state":"PUBLISHED","title":"drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()","description":"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.","publishedAt":"2024-11-08T05:23:55.847Z","updatedAt":"2026-08-05T11:42:15.864Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f","versionType":"git"},{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"3bde05794497d5f426d4ea2ecb9868bf7721fb24","versionType":"git"},{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"282864cc5d3f144af0cdea1868ee2dc2c5110f0d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]}],"references":["https://git.kernel.org/stable/c/ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f","https://git.kernel.org/stable/c/3bde05794497d5f426d4ea2ecb9868bf7721fb24","https://git.kernel.org/stable/c/282864cc5d3f144af0cdea1868ee2dc2c5110f0d"],"weaknesses":["CWE-908"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/50xxx/CVE-2024-50173.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50173","state":"PUBLISHED","datePublished":"2024-11-08T05:23:55.847Z","dateUpdated":"2026-08-05T11:42:15.864Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-10-21T19:36:19.963Z"},"containers":{"cna":{"title":"drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()","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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f","versionType":"git"},{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"3bde05794497d5f426d4ea2ecb9868bf7721fb24","versionType":"git"},{"version":"d72f049087d4f973f6332b599c92177e718107de","status":"affected","lessThan":"282864cc5d3f144af0cdea1868ee2dc2c5110f0d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"6.10.14","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11.3","status":"unaffected","lessThanOrEqual":"6.11.*","versionType":"semver"},{"version":"6.12","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/panthor/panthor_sched.c"]}],"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"}],"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."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T11:42:15.864Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","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":[{"cweId":"CWE-908","lang":"en","type":"CWE","description":"CWE-908 Use of Uninitialized Resource"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:27:10.747Z"}}]}}}