CVE-2026-99480
published high CVSS 3.1 · 7.8drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc6bbec068a9accd6f1df05f3df9a5254c99292ee to < 01806613d39191f530e72926960b20638e8cde93 · c646ebff3fa571e7ea974235286fb9ed3edc260c to < aa0be226ff227b051205d05dcfd6d38c0200e5ae · eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 4fa318e637dc83ed621073b058bcf404a2ff0845 · eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 7764289d76a38c3a2f9b093bf17e193ab54acd70 · deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 · 6.12.114 to < 6.12.117 · 6.18.2 to < 6.18.61 · 6.17.13 to < 6.18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.117-1~deb12u1 | DLA-4927-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase panthor_group_destroy() checks the GROUP_REGISTERED mark and then calls xa_erase() without holding the xarray lock across both. If the handle is destroyed by another thread in between, and a concurrent GROUP_CREATE reuses the freed ID, the first destroy erases and releases the new, still-initializing group, leading to a use-after-free in panthor_group_create(). Do the mark check and erase atomically under xa_lock().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c6bbec068a9accd6f1df05f3df9a5254c99292ee to < 01806613d39191f530e72926960b20638e8cde93 (affected · git)c646ebff3fa571e7ea974235286fb9ed3edc260c to < aa0be226ff227b051205d05dcfd6d38c0200e5ae (affected · git)eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 4fa318e637dc83ed621073b058bcf404a2ff0845 (affected · git)eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 7764289d76a38c3a2f9b093bf17e193ab54acd70 (affected · git)deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 (affected · git)6.12.114 to < 6.12.117 (affected · semver)6.18.2 to < 6.18.61 (affected · semver)6.17.13 to < 6.18 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 344514f4d777b2eb570d01b4773d5a85f13103d47faaab647ddc5816309490ca
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record