]> git.hungrycats.org Git - linux/commit
drm/msm/gem: Validate lazy VM in GEM_NEW
authorRob Clark <robin.clark@oss.qualcomm.com>
Wed, 29 Jul 2026 15:55:50 +0000 (08:55 -0700)
committerRob Clark <robin.clark@oss.qualcomm.com>
Wed, 29 Jul 2026 18:56:02 +0000 (11:56 -0700)
commita6d87a272b2c8fe1366ea9a8e2e4cccddbb4157f
tree30b6d6be5d3ad812fd114e505fc58f5f13c181f1
parentdf68029e639b490e8f5f7715135a8af29e1b6cda
drm/msm/gem: Validate lazy VM in GEM_NEW

Otherwise creating a _NO_SHARE BO before any BOs are mapped could cause
a NPE.

Reported-by: Sashiko <sashiko-bot@kernel.org>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/743104/
Message-ID: <20260729155609.20190-14-robin.clark@oss.qualcomm.com>
drivers/gpu/drm/msm/msm_gem.c