GHSA-43wp-wrwp-h33qHighCVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix TOCTOU race...
🔗 CVE IDs covered (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().
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99480
- https://git.kernel.org/stable/c/01806613d39191f530e72926960b20638e8cde93
- https://git.kernel.org/stable/c/4fa318e637dc83ed621073b058bcf404a2ff0845
- https://git.kernel.org/stable/c/7764289d76a38c3a2f9b093bf17e193ab54acd70
- https://git.kernel.org/stable/c/aa0be226ff227b051205d05dcfd6d38c0200e5ae
- https://github.com/advisories/GHSA-43wp-wrwp-h33q