Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-99480

drm/panthor: Fix TOCTOU race between GROUP_REGISTERED check and erase

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().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c6bbec068a9accd6f1df05f3df9a5254c99292ee to < 01806613d39191f530e72926960b20638e8cde93affected
  • c646ebff3fa571e7ea974235286fb9ed3edc260c to < aa0be226ff227b051205d05dcfd6d38c0200e5aeaffected
  • eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 4fa318e637dc83ed621073b058bcf404a2ff0845affected
  • eec7e23d848d2194dd8791fcd0f4a54d4378eecd to < 7764289d76a38c3a2f9b093bf17e193ab54acd70affected
  • deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05affected
  • 6.12.114 to < 6.12.117affected
  • 6.18.2 to < 6.18.61affected
  • 6.17.13 to < 6.18affected

Linux Linux

Default version status: affected

  • 6.19affected
  • 0 to < 6.19unaffected
  • 6.12.117 to ≤ 6.12.*unaffected
  • 6.18.61 to ≤ 6.18.*unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References