Bug 2363339 (CVE-2025-37783) - CVE-2025-37783 kernel: drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check
Summary: CVE-2025-37783 kernel: drm/msm/dpu: Fix error pointers in dpu_plane_virtual_a...
Keywords:
Status: NEW
Alias: CVE-2025-37783
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-01 14:04 UTC by OSIDB Bzimport
Modified: 2025-05-02 04:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-01 14:04:22 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check

The function dpu_plane_virtual_atomic_check was dereferencing pointers
returned by drm_atomic_get_plane_state without checking for errors. This
could lead to undefined behavior if the function returns an error pointer.

This commit adds checks using IS_ERR to ensure that plane_state is
valid before dereferencing them.

Similar to commit da29abe71e16
("drm/amd/display: Fix error pointers in amdgpu_dm_crtc_mem_type_changed").

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

Comment 1 Avinash Hanwate 2025-05-02 04:04:48 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050117-CVE-2025-37783-23bf@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.