CVE-2025-37965: drm/amd/display: Fix invalid context error in dml helper

Published May 20, 2025
·
Updated

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 dml2validate()/dml21validate()"

The populatedmlplanecfgfromplanestate() uses the GFPKERNEL flag for memory allocation, which shouldn't be used in atomic contexts.

The allocation is needed only for using another helper function getscalerdataforplane().

[How] Modify helpers to pass a pointer to scalerdata within existing context, eliminating the need for dynamic memory allocation/deallocation and copying.

(cherry picked from commit bd3e84bc98f81b44f2c43936bdadc3241d654259)

Affected Software

7 affected components
Linux Kernel
Linux Linux kernel>=6.12.25<6.12.29
Linux Linux kernel>=6.14.4<6.14.7
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch bd3e84bc98f81b44f2c43936bdadc3241d654259

Event History

May 20, 2025
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
Description
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37965?

CVE-2025-37965 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-37965?

To fix CVE-2025-37965, update your Linux kernel to the latest stable version where the vulnerability has been patched.

3

What are the impacts of CVE-2025-37965?

CVE-2025-37965 can lead to a "BUG: sleeping function called from invalid context" error, potentially affecting system stability.

4

Which versions of Linux kernel are affected by CVE-2025-37965?

CVE-2025-37965 affects certain versions of the Linux kernel that do not include the security fix addressing the issue.

5

What component of the Linux kernel is impacted by CVE-2025-37965?

CVE-2025-37965 specifically impacts the drm/amd/display component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203