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

CVE-2026-99480
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ c6bbec068a9accd6f1df05f3df9a5254c99292ee < 01806613d39191f530e72926960b20638e8cde93
affected : ≥ c646ebff3fa571e7ea974235286fb9ed3edc260c < aa0be226ff227b051205d05dcfd6d38c0200e5ae
affected : ≥ eec7e23d848d2194dd8791fcd0f4a54d4378eecd < 4fa318e637dc83ed621073b058bcf404a2ff0845
affected : ≥ eec7e23d848d2194dd8791fcd0f4a54d4378eecd < 7764289d76a38c3a2f9b093bf17e193ab54acd70
affected : deb8b2491f6b9882ae02d7dc2651c7bf4f3b7e05
affected : ≥ 6.12.114 < 6.12.117
affected : ≥ 6.18.2 < 6.18.61
affected : ≥ 6.17.13 < 6.18
Other versions : unaffected
Linux · Linux
affected : 6.19
unaffected : ≥ 0 < 6.19
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD