CVE-2025-37965
MEDIUM 5.5CVSS 3.1In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Fix invalid context error in dml helper
[Why]
"BUG: sleeping function called from invalid context" error.
after:
"drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()"
The populate_dml_plane_cfg_from_plane_state() uses the GFP_KERNEL flag
for memory allocation, which shouldn't be used in atomic contexts.
The allocation is needed only for using another helper function
get_scaler_data_for_plane().
[How]
Modify helpers to pass a pointer to scaler_data within existing context,
eliminating the need for dynamic memory allocation/deallocation
and copying.
(cherry picked from commit bd3e84bc98f81b44f2c43936bdadc3241d654259)
- Published
- 20 May 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.12.25, < 6.12.29 | 6.12.29 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.14.4, < 6.14.7 | 6.14.7 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:* |
= 6.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:* |
= 6.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:* |
= 6.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:* |
= 6.15 |
References
- https://git.kernel.org/stable/c/9984db63742099ee3f3cff35cf71306d10e64356 · Patch
- https://git.kernel.org/stable/c/b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0 · Patch
- https://git.kernel.org/stable/c/d8c4afe78385cd355e4d80299d785379d6e874df · Patch
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 20 May 2025)