drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase
- CVE-2026-99480
- GHSA-43wp-wrwp-h33q
- EUVD-2026-130154
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().
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.18.xupdate to 6.18.61 or laterPatch update: breaking changes are unlikely
- If you run a version from 6.17.13 to before 6.18update to 6.18 or laterMinor version change: check the release notes
- If you run 6.12.xupdate to 6.12.117 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.2 to before 6.18.61 6.18.61 from 6.17.13 to before 6.18 6.18 from 6.12.114 to before 6.12.117 6.12.117 6.19 none stated before 6.19: not affected none stated from 6.12.117 up to 6.12.*: not affected none stated from 6.18.61 up to 6.18.*: not affected none stated from 7.3.2 up to 7.3.*: not affected none stated and 1 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.