{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99480","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.417Z","datePublished":"2026-11-19T14:43:15.555Z","dateUpdated":"2026-11-22T11:08:36.087Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:08:36.087Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase\n\npanthor_group_destroy() checks the GROUP_REGISTERED mark and then calls\nxa_erase() without holding the xarray lock across both. If the handle is\ndestroyed by another thread in between, and a concurrent GROUP_CREATE\nreuses the freed ID, the first destroy erases and releases the new,\nstill-initializing group, leading to a use-after-free in\npanthor_group_create().\n\nDo the mark check and erase atomically under xa_lock()."}],"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 - DRM_IOCTL_PANTHOR_GROUP_DESTROY enters panthor_group_destroy() via drm_ioctl() and panthor_ioctl_group_destroy() on the fd opened by drm_open() (panthor_drm_driver_fops.unlocked_ioctl). The raced value is that ioctl's group_handle, supplied by the local process that owns pfile->groups.\nAC:L - The attacker races two threads on one panthor_file: panthor_group_destroy() sees xa_get_mark(GROUP_REGISTERED) and later calls xa_erase(), while panthor_group_create() reuses that id through xa_alloc() (XA_FLAGS_ALLOC1, ids 1..MAX_GROUPS_PER_POOL) before xa_set_mark(). Both calls are the attacker's ioctls, retried across the group_create_queue() window.\nPR:L - GROUP_CREATE and GROUP_DESTROY are registered with only DRM_RENDER_ALLOW. drm_ioctl_permit() accepts any render-node opener, group_priority_permit() accepts priority <= PANTHOR_GROUP_PRIORITY_MEDIUM without CAP_SYS_NICE, and panthor_open() allocates the file with no capability check.\nUI:N - The attacker opens the Panthor render node, calls DRM_IOCTL_PANTHOR_VM_CREATE, then races DRM_IOCTL_PANTHOR_GROUP_CREATE with DRM_IOCTL_PANTHOR_GROUP_DESTROY on that fd. Every step is the attacker's own ioctl.\nS:U - The prematurely dropped kref frees the panthor_group allocated by kzalloc_obj() in panthor_group_create() and can splice group->run_node into sched->groups.idle[]. Both objects belong to the host kernel, so the impact is a kernel privilege escalation in the same security authority.\nC:H - The racing group_put() lets group_release_work() kfree() the panthor_group after synchronize_rcu() while panthor_group_create() still loads group->vm, group->queues[], and group->suspend_buf in group_create_queue() and add_group_kbo_sizes(). That is a use-after-free read of a reclaimable kmalloc object.\nI:H - panthor_group_create() still runs list_add_tail(&group->run_node, &sched->groups.idle[group->priority]) on the erased group, and group_release_work() calls group_free_queue() and panthor_kernel_bo_destroy() on the ringbuf, iface.mem, and suspend_buf that creation is still initializing.\nA:H - group_release_work() kfree()s the live panthor_group and group_free_queue() calls drm_sched_fini() while group_create_queue() may be inside drm_sched_entity_init(), and the scheduler can walk a run_node linked after that free. Those faults oops 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":"c6bbec068a9accd6f1df05f3df9a5254c99292ee","lessThan":"01806613d39191f530e72926960b20638e8cde93","status":"affected","versionType":"git"},{"version":"c646ebff3fa571e7ea974235286fb9ed3edc260c","lessThan":"aa0be226ff227b051205d05dcfd6d38c0200e5ae","status":"affected","versionType":"git"},{"version":"eec7e23d848d2194dd8791fcd0f4a54d4378eecd","lessThan":"4fa318e637dc83ed621073b058bcf404a2ff0845","status":"affected","versionType":"git"},{"version":"eec7e23d848d2194dd8791fcd0f4a54d4378eecd","lessThan":"7764289d76a38c3a2f9b093bf17e193ab54acd70","status":"affected","versionType":"git"},{"version":"deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05","status":"affected","versionType":"git"},{"version":"6.12.114","lessThan":"6.12.117","status":"affected","versionType":"semver"},{"version":"6.18.2","lessThan":"6.18.61","status":"affected","versionType":"semver"},{"version":"6.17.13","lessThan":"6.18","status":"affected","versionType":"semver"}]},{"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.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","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.12.114","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.2","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.13"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/01806613d39191f530e72926960b20638e8cde93"},{"url":"https://git.kernel.org/stable/c/aa0be226ff227b051205d05dcfd6d38c0200e5ae"},{"url":"https://git.kernel.org/stable/c/4fa318e637dc83ed621073b058bcf404a2ff0845"},{"url":"https://git.kernel.org/stable/c/7764289d76a38c3a2f9b093bf17e193ab54acd70"}],"title":"drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase","x_generator":{"engine":"bippy-1.2.0"}}}}