{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38597","id":"CVE-2025-38597","title":"drm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port\n\nEach window of a vop2 is usable by a specific set of video ports, so while\nbinding the vop2, we look through the list of available windows trying to\nfind one designated as primary-plane and usable by that specific port.\n\nThe code later wants to use drm_","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/rockchip: vop2: fail cleanly if missing a primary plane for a video-port\n\nEach window of a vop2 is usable by a specific set of video ports, so while\nbinding the vop2, we look through the list of available windows trying to\nfind one designated as primary-plane and usable by that specific port.\n\nThe code later wants to use drm_crtc_init_with_planes with that found\nprimary plane, but nothing has checked so far if a primary plane was\nactually found.\n\nFor whatever reason, the rk3576 vp2 does not have a usable primary window\n(if vp0 is also in use) which brought the issue to light and ended in a\nnull-pointer dereference further down.\n\nAs we expect a primary-plane to exist for a video-port, add a check at\nthe end of the window-iteration and fail probing if none was found.","published":"2025-08-19T17:03:32.380Z","updated":"2026-11-01T02:31:07.296867813Z","reserved":"2025-04-16T04:51:24.028Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"93857359a07e425b643178ce3c6e60a9e4605cac","status":"affected","versionType":"git"},{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"45be183b9944f765b77623daffb024cb38d192bf","status":"affected","versionType":"git"},{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"8fc974776c668fef1fc73fefbf573a076bb073e8","status":"affected","versionType":"git"},{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"e1eef239399927b368f70a716044fb10085627c8","status":"affected","versionType":"git"},{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"38682edbbad272b5f8c7bf55128b42cd10626f73","status":"affected","versionType":"git"},{"version":"604be85547ce4d61b89292d2f9a78c721b778c16","lessThan":"f9f68bf1d0efeadb6c427c9dbb30f307a7def19b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/93857359a07e425b643178ce3c6e60a9e4605cac","tags":["web"]},{"url":"https://git.kernel.org/stable/c/45be183b9944f765b77623daffb024cb38d192bf","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8fc974776c668fef1fc73fefbf573a076bb073e8","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e1eef239399927b368f70a716044fb10085627c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/38682edbbad272b5f8c7bf55128b42cd10626f73","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f9f68bf1d0efeadb6c427c9dbb30f307a7def19b","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38597.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38597","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00234,"epssPercentile":0.14607,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38597","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38597","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38597","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38597","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}