CVE-2025-71103: drm/msm: adreno: fix deferencing ifpc_reglist when not declared
In the Linux kernel, the following vulnerability has been resolved:
drm/msm: adreno: fix deferencing ifpcreglist when not declared
On plaforms with an a7xx GPU not supporting IFPC, the ifpcreglist if still deferenced in a7xxpatchpwrupreglist() which causes a kernel crash: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 ... pc : a6xxhwinit+0x155c/0x1e4c [msm] lr : a6xxhwinit+0x9a8/0x1e4c [msm] ... Call trace: a6xxhwinit+0x155c/0x1e4c [msm] (P) msmgpuhwinit+0x58/0x88 [msm] adrenoloadgpu+0x94/0x1fc [msm] msmopen+0xe4/0xf4 [msm] drmfilealloc+0x1a0/0x2e4 [drm] drmclientinit+0x7c/0x104 [drm] drmfbdevclientsetup+0x94/0xcf0 [drmclientlib] drmclientsetup+0xb4/0xd8 [drmclientlib] msmdrmkmspostinit+0x2c/0x3c [msm] msmdrminit+0x1a4/0x228 [msm] msmdrmbind+0x30/0x3c [msm] ...
Check the validity of ifpcreglist before deferencing the table to setup the register values.
Patchwork: https://patchwork.freedesktop.org/patch/688944/
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-71103?
CVE-2025-71103 has been classified as a medium severity vulnerability.
How do I fix CVE-2025-71103?
To fix CVE-2025-71103, ensure you are using the latest version of the Linux kernel where this vulnerability has been patched.
What systems are affected by CVE-2025-71103?
CVE-2025-71103 affects Linux systems with a7xx GPUs that do not support IFPC.
What happens if CVE-2025-71103 is exploited?
Exploitation of CVE-2025-71103 could lead to potential instability or crashing of the system due to improper dereferencing.
Is CVE-2025-71103 specific to certain Linux kernel versions?
CVE-2025-71103 affects specific configurations of the Linux kernel, particularly on hardware with a7xx GPUs.