CVE-2025-39820

Source
https://cve.org/CVERecord?id=CVE-2025-39820
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39820.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39820
Downstream
Published
2025-09-16T13:00:20.059Z
Modified
2026-04-02T12:48:10.282110Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
drm/msm/dpu: Add a null ptr check for dpu_encoder_needs_modeset
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: Add a null ptr check for dpuencoderneeds_modeset

The drmatomicgetnewconnector_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 dpuencoderupdatetopology() within the same file, which checks for NULL before using connstate.

Patchwork: https://patchwork.freedesktop.org/patch/665188/

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39820.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1ce69c265a53c61c5c29f97f542ff89af3f3d7e7
Fixed
aaec54254b02f5959c3670177037464d828b2140
Fixed
abebfed208515726760d79cf4f9f1a76b9a10a84

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39820.json"