Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
drm/v3d: Reject invalid indirect BO handle in indirect CSD setup

In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Reject invalid indirect BO handle in indirect CSD setup v3d_get_cpu_indirect_csd_params() looks up the indirect buffer object from a userspace-supplied handle but never checks the result. A bogus or stale handle makes drm_gem_object_lookup() return NULL, which is then stored in info->indirect and only dereferenced later when the indirect CSD job runs, turning a userspace mistake into a NULL pointer dereference in the kernel. Bail out with -ENOENT as soon as the lookup fails, so the bad handle is rejected at submission time.

Affected products

Linux
  • <2f8b8593c7832fad655290cef9e99af05b1b52b3
  • ==6.8
  • <6.8
  • =<*
  • <7c27f630dc78b673e136cab7d410399a1c52146a
  • <5d65dade4d84913d1879f3db6a12ac007e08314b
  • =<6.18.*
  • =<6.12.*
  • =<7.1.*
  • <762116dfa72865c82151970960f7cf34f44b21c8