CVE-2025-21843 drm/panthor: avoid garbage value in panthor_ioctl_dev_query()
An attacker can read uninitialized kernel memory via the Panthor GPU driver, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-21843?
CVE-2025-21843 is a medium-severity vulnerability in Linux kernel, published on 7 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: avoid garbage value in panthor_ioctl_dev_query()
'priorities_info' is uninitialized, and the uninitialized value is copied to user object when calling PANTHOR_UOBJ_SET(). Using memset to initialize 'priorities_info' to avoid this garbage value problem.
Weakness: CWE-908
Which versions are affected by CVE-2025-21843?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-21843?
Apply the vendor's patch.
Is CVE-2025-21843 being exploited?
There is no known exploitation of CVE-2025-21843 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-21843, GHSA-r2jh-h942-fgww, UBUNTU-CVE-2025-21843.