summaryrefslogtreecommitdiff
path: root/Documentation/features/debug/stackprotector/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorCong Zhang <cong.zhang@oss.qualcomm.com>2025-10-21 19:07:56 +0800
committerJens Axboe <axboe@kernel.dk>2025-11-06 16:32:58 -0700
commit0739c2c6a015604a7c01506bea28200a2cc2e08c (patch)
treebf44a27eb455887b2932999aa9eb66d8d6e6b47d /Documentation/features/debug/stackprotector/git@git.tavy.me:linux.git
parent3451cf34f51bb70c24413abb20b423e64486161b (diff)
virtio_blk: NULL out vqs to avoid double free on failed resume
The vblk->vqs releases during freeze. If resume fails before vblk->vqs is allocated, later freeze/remove may attempt to free vqs again. Set vblk->vqs to NULL after freeing to avoid double free. Signed-off-by: Cong Zhang <cong.zhang@oss.qualcomm.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/features/debug/stackprotector/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions