CVE-2025-39820
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-16

Last updated on: 2025-12-02

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset The drm_atomic_get_new_connector_state() can return NULL if the connector is not part of the atomic state. Add a check to prevent a NULL pointer dereference. This follows the same pattern used in dpu_encoder_update_topology() within the same file, which checks for NULL before using conn_state. Patchwork: https://patchwork.freedesktop.org/patch/665188/
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-16
Last Modified
2025-12-02
Generated
2026-06-16
AI Q&A
2025-09-16
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.15 (inc) to 6.16.5 (exc)
linux linux_kernel 6.17
linux linux_kernel 6.17
linux linux_kernel 6.17
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a null pointer dereference issue in the Linux kernel's drm/msm/dpu component. Specifically, the function drm_atomic_get_new_connector_state() can return NULL if the connector is not part of the atomic state, and the code did not check for this NULL value before using it. This could cause the kernel to dereference a NULL pointer, potentially leading to a crash or other unintended behavior. The fix adds a null pointer check to prevent this.

Impact Analysis

The vulnerability can cause a NULL pointer dereference in the Linux kernel, which may lead to a system crash or instability when the drm/msm/dpu driver is used. This could result in denial of service or unexpected behavior on affected systems.

Mitigation Strategies

Apply the patch that adds a null pointer check for dpu_encoder_needs_modeset in the drm/msm/dpu component of the Linux kernel to prevent NULL pointer dereference. This patch follows the pattern used in dpu_encoder_update_topology and ensures drm_atomic_get_new_connector_state() is checked for NULL before use.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-39820. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart