Bug 2576815 (CVE-2026-99480)

Summary: CVE-2026-99480 kernel: kernel: panthor: Use-after-free via race condition in panthor_group_destroy()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, rhel-process-autobot, sghai, sidsharm, suppawar, vlaad, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's Panthor DRM driver. A race condition exists in panthor_group_destroy() where group registration checks and entry removal are performed without atomic locking. A local attacker could exploit this time-of-check to time-of-use (TOCTOU) vulnerability during concurrent group creation and destruction, triggering a use-after-free condition. This flaw may allow an attacker to execute arbitrary code with kernel privileges or cause a denial of service (DoS) system crash.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-19 15:34:06 UTC
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().