summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHangyu Hua <hbh25y@gmail.com>2023-11-16 10:57:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-20 17:17:38 +0300
commit45f53ca3065bbf200a99d586f71c49c6f10293ac (patch)
tree38e33b5b374c9d50685eefbeaa214805684e8c69 /sound
parentf21b7610d55f7af316a060cff522bf0ea85e6e9b (diff)
downloadlinux-45f53ca3065bbf200a99d586f71c49c6f10293ac.tar.xz
fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
commit 7f8ed28d1401320bcb02dda81b3c23ab2dc5a6d8 upstream. fuse_dax_conn_free() will be called when fuse_fill_super_common() fails after fuse_dax_conn_alloc(). Then deactivate_locked_super() in virtio_fs_get_tree() will call virtio_kill_sb() to release the discarded superblock. This will call fuse_dax_conn_free() again in fuse_conn_put(), resulting in a possible double free. Fixes: 1dd539577c42 ("virtiofs: add a mount option to enable dax") Signed-off-by: Hangyu Hua <hbh25y@gmail.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com> Cc: <stable@vger.kernel.org> # v5.10 Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions