CVE-2025-38354
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
25/07/2025
Last modified:
16/12/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/msm/gpu: Fix crash when throttling GPU immediately during boot<br />
<br />
There is a small chance that the GPU is already hot during boot. In that<br />
case, the call to of_devfreq_cooling_register() will immediately try to<br />
apply devfreq cooling, as seen in the following crash:<br />
<br />
Unable to handle kernel paging request at virtual address 0000000000014110<br />
pc : a6xx_gpu_busy+0x1c/0x58 [msm]<br />
lr : msm_devfreq_get_dev_status+0xbc/0x140 [msm]<br />
Call trace:<br />
a6xx_gpu_busy+0x1c/0x58 [msm] (P)<br />
devfreq_simple_ondemand_func+0x3c/0x150<br />
devfreq_update_target+0x44/0xd8<br />
qos_max_notifier_call+0x30/0x84<br />
blocking_notifier_call_chain+0x6c/0xa0<br />
pm_qos_update_target+0xd0/0x110<br />
freq_qos_apply+0x3c/0x74<br />
apply_constraint+0x88/0x148<br />
__dev_pm_qos_update_request+0x7c/0xcc<br />
dev_pm_qos_update_request+0x38/0x5c<br />
devfreq_cooling_set_cur_state+0x98/0xf0<br />
__thermal_cdev_update+0x64/0xb4<br />
thermal_cdev_update+0x4c/0x58<br />
step_wise_manage+0x1f0/0x318<br />
__thermal_zone_device_update+0x278/0x424<br />
__thermal_cooling_device_register+0x2bc/0x308<br />
thermal_of_cooling_device_register+0x10/0x1c<br />
of_devfreq_cooling_register_power+0x240/0x2bc<br />
of_devfreq_cooling_register+0x14/0x20<br />
msm_devfreq_init+0xc4/0x1a0 [msm]<br />
msm_gpu_init+0x304/0x574 [msm]<br />
adreno_gpu_init+0x1c4/0x2e0 [msm]<br />
a6xx_gpu_init+0x5c8/0x9c8 [msm]<br />
adreno_bind+0x2a8/0x33c [msm]<br />
...<br />
<br />
At this point we haven&#39;t initialized the GMU at all yet, so we cannot read<br />
the GMU registers inside a6xx_gpu_busy(). A similar issue was fixed before<br />
in commit 6694482a70e9 ("drm/msm: Avoid unclocked GMU register access in<br />
6xx gpu_busy"): msm_devfreq_init() does call devfreq_suspend_device(), but<br />
unlike msm_devfreq_suspend(), it doesn&#39;t set the df->suspended flag<br />
accordingly. This means the df->suspended flag does not match the actual<br />
devfreq state after initialization and msm_devfreq_get_dev_status() will<br />
end up accessing GMU registers, causing the crash.<br />
<br />
Fix this by setting df->suspended correctly during initialization.<br />
<br />
Patchwork: https://patchwork.freedesktop.org/patch/650772/
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18.18 (including) | 5.19 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19.2 (including) | 6.1.143 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.96 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.36 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.5 (excluding) |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1847ea44e3bdf7da8ff4158bc01b43a2e46394bd
- https://git.kernel.org/stable/c/7946a10f8da75abc494e4bb80243e153e93e459a
- https://git.kernel.org/stable/c/a6f673cc9488fd722c601fe020601dba14db21b2
- https://git.kernel.org/stable/c/ae2015b0dbc0eea7aaf022194371f451f784d994
- https://git.kernel.org/stable/c/b71717735be48d7743a34897e9e44a0b53e30c0e
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html



