diff options
author | 2024-11-13 18:16:49 +0100 | |
---|---|---|
committer | 2024-12-23 21:55:06 +0100 | |
commit | d29662695ed7c015521e5fc9387df25aab192a2e (patch) | |
tree | 6811491f4cb6a9e49f7ed108f5dcff21525013bd /scripts/lib/kdoc/kdoc_parser.py | |
parent | btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount (diff) | |
download | linux-rng-d29662695ed7c015521e5fc9387df25aab192a2e.tar.xz linux-rng-d29662695ed7c015521e5fc9387df25aab192a2e.zip |
btrfs: fix use-after-free waiting for encoded read endios
Fix a use-after-free in the I/O completion path for encoded reads by
using a completion instead of a wait_queue for synchronizing the
destruction of 'struct btrfs_encoded_read_private'.
Fixes: 1881fba89bd5 ("btrfs: add BTRFS_IOC_ENCODED_READ ioctl")
CC: stable@vger.kernel.org # 6.1+
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions