drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase
- State
- Published
- Severity
- 7.8 High
- Published
- Nov 19, 2026
- Updated
- Nov 22, 2026
- Reserved
- Sep 25, 2026
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().
| Product | Versions |
|---|---|
| Linux Linux | c6bbec068a9accd6f1df05f3df9a5254c99292ee to before 01806613d39191f530e72926960b20638e8cde93 Affectedc646ebff3fa571e7ea974235286fb9ed3edc260c to before aa0be226ff227b051205d05dcfd6d38c0200e5ae Affectedeec7e23d848d2194dd8791fcd0f4a54d4378eecd to before 4fa318e637dc83ed621073b058bcf404a2ff0845 Affectedeec7e23d848d2194dd8791fcd0f4a54d4378eecd to before 7764289d76a38c3a2f9b093bf17e193ab54acd70 Affecteddeb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05 Affected6.12.114 to before 6.12.117 Affected6.18.2 to before 6.18.61 Affected6.17.13 to before 6.18 Affected |
| Linux Linux | 6.19 Affectedbefore 6.19 Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.8 High | Linux |
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.