Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port Each window of a vop2 is usable by a specific set of video ports, so while binding the vop2, we look through the list of available windows trying to find one designated as primary-plane and usable by that specific port. The code later wants to use drm_crtc_init_with_planes with that found primary plane, but nothing has checked so far if a primary plane was actually found. For whatever reason, the rk3576 vp2 does not have a usable primary window (if vp0 is also in use) which brought the issue to light and ended in a null-pointer dereference further down. As we expect a primary-plane to exist for a video-port, add a check at the end of the window-iteration and fail probing if none was found.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.19, < 6.15.10 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/38682edbbad272b5f8c7bf55128b42cd10626f73Patch
- https://git.kernel.org/stable/c/e1eef239399927b368f70a716044fb10085627c8Patch
- https://git.kernel.org/stable/c/f9f68bf1d0efeadb6c427c9dbb30f307a7def19bPatch
FAQ
What is CVE-2025-38597?
CVE-2025-38597 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port Each window of a vop2 is usable by a specific set of ...
How severe is CVE-2025-38597?
CVE-2025-38597 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-38597?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.