Skip to contentSkip to conversation

CVE-2025-22100: drm/panthor: Fix race condition when gathering fdinfo group samples

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 16, 2025

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/panthor: Fix race condition when gathering fdinfo group samples

Commit e16635d88fa0 ("drm/panthor: add DRM fdinfo support") failed to protect access to groups with an xarray lock, which could lead to use-after-free errors.

The Linux kernel CVE team has assigned CVE-2025-22100 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.13 with commit e16635d88fa07ba5801aa9e57ad7fe3c053234e4 and fixed in 6.13.11 with commit 6d98c83ad67e7bd86a47494fd6c3863e7bb26db9
	Issue introduced in 6.13 with commit e16635d88fa07ba5801aa9e57ad7fe3c053234e4 and fixed in 6.14.2 with commit e9d45f42a64a400adba59ee83d03e6db662530b4
	Issue introduced in 6.13 with commit e16635d88fa07ba5801aa9e57ad7fe3c053234e4 and fixed in 6.15-rc1 with commit 0590c94c3596d6c1a3d549ae611366f2ad4e1d8d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-22100

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/gpu/drm/panthor/panthor_sched.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6d98c83ad67e7bd86a47494fd6c3863e7bb26db9
	https://git.kernel.org/stable/c/e9d45f42a64a400adba59ee83d03e6db662530b4
	https://git.kernel.org/stable/c/0590c94c3596d6c1a3d549ae611366f2ad4e1d8d