summaryrefslogtreecommitdiff
path: root/samples/workqueue/stall_detector/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2026-04-07 12:14:30 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2026-04-07 22:20:00 +0200
commit74b4dbb946060a3233604d91859a9abd3708141d (patch)
tree738277ec97de8936d87b8ff1f95ea8f68f3b2ddd /samples/workqueue/stall_detector/git@git.tavy.me:linux.git
parent734f0b4b9b84c45156ac91f4bc1fb378101cf956 (diff)
gfs2: prevent NULL pointer dereference during unmount
When flushing out outstanding glock work during an unmount, gfs2_log_flush() can be called when sdp->sd_jdesc has already been deallocated and sdp->sd_jdesc is NULL. Commit 35264909e9d1 ("gfs2: Fix NULL pointer dereference in gfs2_log_flush") added a check for that to gfs2_log_flush() itself, but it missed the sdp->sd_jdesc dereference in gfs2_log_release(). Fix that. Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/r/202604071139.HNJiCaAi-lkp@intel.com/ Fixes: 35264909e9d1 ("gfs2: Fix NULL pointer dereference in gfs2_log_flush") Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'samples/workqueue/stall_detector/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions