CVE-2025-71307

drm/panthor: Fix NULL pointer dereference on panthor_fw_unplug

Published May 27, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

drm/panthor: Fix NULL pointer dereference on panthor_fw_unplug

This patch removes the MCU halt and wait for halt procedures during
panthor_fw_unplug() as the MCU can be in a variety of states or the FW
may not even be loaded/initialized at all, the latter of which can lead
to a NULL pointer dereference.

It should be safe on unplug to just disable the MCU without waiting for
it to halt as it may not be able to.

Analysis

AI-generated

Technical impact

A null pointer dereference occurs in the Panthor DRM driver during the panthor_fw_unplug() routine when the firmware is not loaded or the MCU is in an arbitrary state. This flaw is a classic null pointer dereference (CWE-476) and manifests as an unsafe dereference that can crash the kernel (CWE-824). The crash leads to a loss of system availability.

Affected Systems

The vulnerability is present in the Linux kernel’s DRM Panthor subsystem. Any distribution kernel that includes the Panthor driver is potentially affected until the patch that removes the erroneous null dereference is applied.

Risk and Exploitability

The EPSS score is less than 1 %, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, suggesting that no publicly known exploits are available. The CVSS score of 5.5 places the vulnerability in the medium severity band. The likely attack vector is local: an attacker must trigger a device unplug event or otherwise force the driver to execute panthor_fw_unplug() while the firmware state is uninitialized. Exploitation would lead to a kernel panic, but it does not provide elevated code execution beyond causing a denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 920c6af98e, which eliminates the null pointer dereference in panthor_fw_unplug().
  • Reboot the system after the update so that the patched driver and any firmware are properly initialized.
  • If a kernel update cannot be applied immediately, disable hotplug for Panthor devices and avoid unplugging them while the system is running until the patch is installed.

Generated by OpenCVE AI on August 12, 2026 at 00:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fix NULL pointer dereference on panthor_fw_unplug This patch removes the MCU halt and wait for halt procedures during panthor_fw_unplug() as the MCU can be in a variety of states or the FW may not even be loaded/initialized at all, the latter of which can lead to a NULL pointer dereference. It should be safe on unplug to just disable the MCU without waiting for it to halt as it may not be able to.
Title drm/panthor: Fix NULL pointer dereference on panthor_fw_unplug
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-476

    NULL Pointer Dereference

  • CWE-824

    Access of Uninitialized Pointer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 27, 2026, 12:14 PM
Reserved
May 8, 2026, 1:14 PM
Status
Analyzed
Published
May 27, 2026, 2:16 PM
Modified
Oct 14, 2026, 1:10 PM
Severity
Public date
May 27, 2026, 12:00 AM