CVE-2026-68303 PUBLISHED

drm/vc4: hvs/v3d: Fix null dereference in unbind

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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

drm/vc4: hvs/v3d: Fix null dereference in unbind

The hvs and v3d drivers use dev_get_drvdata(master) in their unbind functions. Since the vc4-drm gets removed before its dependent drivers (vc4_hvs/vc4_v3d) the vc4_hvs_unbind/vc4_v3d_unbind functions try to get drvdata of its master and fails with a null dereference error.

Use the data pointer passed to the unbind functions directly instead of dev_get_drvdata(master). This avoids using potentially freed memory.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c8b75bca92cbf064b9fa125fc74a85994452e935 to 261f0a3f0ac03248284f5116d3258f89c9642215 (excl.)
  • affected from c8b75bca92cbf064b9fa125fc74a85994452e935 to 7dc3680b7ffe01add3e9299fde8471d2dd53a8ae (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.4 is affected
  • unaffected from 0 to 4.4 (excl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References