summaryrefslogtreecommitdiff
path: root/include/uapi/linux/virtio_gpu.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-05-06 21:04:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 13:59:11 +0200
commit0b1c4357bb21d9770451a1bdb8d419ea10bada88 (patch)
tree8e485b66c23d77708ddbef00be5490f3671568f7 /include/uapi/linux/virtio_gpu.h
parent70d579aefa652a06af97e013e3fbbabbe5a43553 (diff)
ext4: fix deadlock when converting an inline directory in nojournal mode
commit f4ce24f54d9cca4f09a395f3eecce20d6bec4663 upstream. In no journal mode, ext4_finish_convert_inline_dir() can self-deadlock by calling ext4_handle_dirty_dirblock() when it already has taken the directory lock. There is a similar self-deadlock in ext4_incvert_inline_data_nolock() for data files which we'll fix at the same time. A simple reproducer demonstrating the problem: mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64 mount -t ext4 -o dirsync /dev/vdc /vdc cd /vdc mkdir file0 cd file0 touch file0 touch file1 attr -s BurnSpaceInEA -V abcde . touch supercalifragilisticexpialidocious Cc: stable@kernel.org Link: https://lore.kernel.org/r/20230507021608.1290720-1-tytso@mit.edu Reported-by: syzbot+91dccab7c64e2850a4e5@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=ba84cc80a9491d65416bc7877e1650c87530fe8a Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux/virtio_gpu.h')
0 files changed, 0 insertions, 0 deletions