CVE-2025-68735: drm/panthor: Prevent potential UAF in group creation
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: Prevent potential UAF in group creation
This commit prevents the possibility of a use after free issue in the GROUPCREATE ioctl function, which arose as pointer to the group is accessed in that ioctl function after storing it in the Xarray. A malicious userspace can second guess the handle of a group and try to call GROUPDESTROY ioctl from another thread around the same time as GROUPCREATE ioctl.
To prevent the use after free exploit, this commit uses a mark on an entry of group pool Xarray which is added just before returning from the GROUPCREATE ioctl function. The mark is checked for all ioctls that specify the group handle and so userspace won't be abe to delete a group that isn't marked yet.
v2: Add R-bs and fixes tags
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-68735?
CVE-2025-68735 has been categorized as a medium severity vulnerability.
How does CVE-2025-68735 affect the Linux kernel?
CVE-2025-68735 affects the Linux kernel by allowing a potential use after free condition during group creation.
Is CVE-2025-68735 exploited in the wild?
As of now, there is no public report indicating that CVE-2025-68735 is actively exploited in the wild.
What versions of the Linux kernel are affected by CVE-2025-68735?
CVE-2025-68735 affects specific versions of the Linux kernel; users should check the latest updates for their particular version.
How can I mitigate the risks associated with CVE-2025-68735?
To mitigate CVE-2025-68735, it is recommended to update the Linux kernel to the patched version provided by your distribution.