CVE-2025-37965

drm/amd/display: Fix invalid context error in dml helper

MEDIUM
5.5
CVSS Score
Published: May 20, 2025 at 04:47 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In 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)

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12.25 ≤ v < 6.12.296.14.4 ≤ v < 6.14.7366e77cd4923c3aa45341e15dcaf3377af9b042f6.12.256.14.46.15 rc26.15 rc36.15 rc46.15 rc574d6fba60f05ca6b298702233b6e6cc7629eeb5a7b80dcf343d45088931d16a6c9ba2fd975138a0b
Vendor states this is fixed in 9984db63742099ee3f3cff35cf71306d10e64356 (fixed)
Vendor states this is fixed in b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0 (fixed)
Vendor states this is fixed in d8c4afe78385cd355e4d80299d785379d6e874df (fixed)
Affected range stops below 6.12.29, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.14.7, so it looks safe — our inference, not a vendor statement

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9984db63742099ee3f3cff35cf71306d10e64356
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8c4afe78385cd355e4d80299d785379d6e874df

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card