NULL Pointer Dereference Affecting linux-gcp-6.12 package, versions <6.12.80-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LINUXGCP612-15992233
  • published12 Apr 2026
  • disclosed19 Aug 2025

Introduced: 19 Aug 2025

CVE-2025-38597  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Chainguard linux-gcp-6.12 to version 6.12.80-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-gcp-6.12 package and not the linux-gcp-6.12 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Base Scores

version 3.1