cvelo
P2 · HighCVSS 7.8EPSS 0.2%

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 versionsFixed in
    from 6.18.2 to before 6.18.616.18.61
    from 6.17.13 to before 6.186.18
    from 6.12.114 to before 6.12.1176.12.117
    6.19none stated
    before 6.19: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.61 up to 6.18.*: not affectednone stated
    from 7.3.2 up to 7.3.*: not affectednone stated

    and 1 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.