[ 9.374041][ T2614] 8021q: adding VLAN 0 to HW filter on device bond0 [ 9.377416][ T2614] eql: remember to turn off Van-Jacobson compression on your slave devices [ 9.403549][ T9] gvnic 0000:00:00.0 enp0s0: Device link is up. [ 9.406509][ T2523] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s0: link becomes ready Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.186' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 30.546433][ T3029] loop0: detected capacity change from 0 to 4096 [ 30.554022][ T3029] ntfs: volume version 3.1. [ 30.613280][ T3029] syz-executor308 (3029): drop_caches: 1 [ 30.647375][ T3029] syz-executor308 (3029): drop_caches: 1 [ 30.652132][ T317] [ 30.652662][ T317] ====================================================== [ 30.654395][ T317] WARNING: possible circular locking dependency detected [ 30.656092][ T317] 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 Not tainted [ 30.657775][ T317] ------------------------------------------------------ [ 30.659115][ T317] kworker/u4:4/317 is trying to acquire lock: [ 30.660273][ T317] ffff0000ca1008c0 (&rl->lock){++++}-{3:3}, at: ntfs_read_block+0x2d0/0x1110 [ 30.662371][ T317] [ 30.662371][ T317] but task is already holding lock: [ 30.664180][ T317] ffff0000ca103010 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x40/0xfc [ 30.666316][ T317] [ 30.666316][ T317] which lock already depends on the new lock. [ 30.666316][ T317] [ 30.668938][ T317] [ 30.668938][ T317] the existing dependency chain (in reverse order) is: [ 30.671120][ T317] [ 30.671120][ T317] -> #1 (&ni->mrec_lock){+.+.}-{3:3}: [ 30.673021][ T317] __mutex_lock_common+0xd4/0xca8 [ 30.674376][ T317] mutex_lock_nested+0x38/0x44 [ 30.675616][ T317] map_mft_record+0x40/0xfc [ 30.676851][ T317] ntfs_truncate+0xd8/0xf6c [ 30.678018][ T317] ntfs_setattr+0x1ac/0x228 [ 30.679333][ T317] notify_change+0x758/0x7f0 [ 30.680578][ T317] do_truncate+0x108/0x150 [ 30.681831][ T317] vfs_truncate+0x1dc/0x24c [ 30.683055][ T317] do_sys_truncate+0x94/0x140 [ 30.684326][ T317] __arm64_sys_truncate+0x20/0x30 [ 30.685732][ T317] el0_svc_common+0x138/0x220 [ 30.687048][ T317] do_el0_svc+0x48/0x164 [ 30.688187][ T317] el0_svc+0x58/0x150 [ 30.689344][ T317] el0t_64_sync_handler+0x84/0xf0 [ 30.690767][ T317] el0t_64_sync+0x18c/0x190 [ 30.691963][ T317] [ 30.691963][ T317] -> #0 (&rl->lock){++++}-{3:3}: [ 30.693664][ T317] __lock_acquire+0x1530/0x30a4 [ 30.694970][ T317] lock_acquire+0x100/0x1f8 [ 30.696245][ T317] down_read+0x5c/0x78 [ 30.697498][ T317] ntfs_read_block+0x2d0/0x1110 [ 30.698789][ T317] ntfs_read_folio+0x594/0x758 [ 30.700112][ T317] filemap_read_folio+0x68/0x33c [ 30.701359][ T317] do_read_cache_folio+0x1c8/0x588 [ 30.702532][ T317] read_cache_page+0x40/0x178 [ 30.703596][ T317] ntfs_sync_mft_mirror+0xb4/0x109c [ 30.704813][ T317] write_mft_record_nolock+0x814/0xc70 [ 30.706284][ T317] write_mft_record+0xe4/0x230 [ 30.707642][ T317] __ntfs_write_inode+0x32c/0x554 [ 30.708978][ T317] ntfs_write_inode+0x3c/0x4c [ 30.710264][ T317] __writeback_single_inode+0x240/0x2e4 [ 30.711713][ T317] writeback_sb_inodes+0x3e4/0x85c [ 30.713070][ T317] wb_writeback+0x198/0x328 [ 30.714330][ T317] wb_do_writeback+0xc8/0x384 [ 30.715573][ T317] wb_workfn+0x70/0x15c [ 30.716859][ T317] process_one_work+0x2d8/0x504 [ 30.718222][ T317] worker_thread+0x340/0x610 [ 30.719425][ T317] kthread+0x12c/0x158 [ 30.720565][ T317] ret_from_fork+0x10/0x20 [ 30.721791][ T317] [ 30.721791][ T317] other info that might help us debug this: [ 30.721791][ T317] [ 30.724226][ T317] Possible unsafe locking scenario: [ 30.724226][ T317] [ 30.725751][ T317] CPU0 CPU1 [ 30.726836][ T317] ---- ---- [ 30.727958][ T317] lock(&ni->mrec_lock); [ 30.729053][ T317] lock(&rl->lock); [ 30.730619][ T317] lock(&ni->mrec_lock); [ 30.732326][ T317] lock(&rl->lock); [ 30.733248][ T317] [ 30.733248][ T317] *** DEADLOCK *** [ 30.733248][ T317] [ 30.735300][ T317] 3 locks held by kworker/u4:4/317: [ 30.736616][ T317] #0: ffff0000c0dbc538 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x270/0x504 [ 30.739233][ T317] #1: ffff8000127a3d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 [ 30.742164][ T317] #2: ffff0000ca103010 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x40/0xfc [ 30.744438][ T317] [ 30.744438][ T317] stack backtrace: [ 30.745857][ T317] CPU: 0 PID: 317 Comm: kworker/u4:4 Not tainted 6.0.0-rc7-syzkaller-18095-gbbed346d5a96 #0 [ 30.748453][ T317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 30.751011][ T317] Workqueue: writeback wb_workfn (flush-7:0) [ 30.752518][ T317] Call trace: [ 30.753286][ T317] dump_backtrace+0x1c4/0x1f0 [ 30.754494][ T317] show_stack+0x2c/0x54 [ 30.755510][ T317] dump_stack_lvl+0x104/0x16c [ 30.756661][ T317] dump_stack+0x1c/0x58 [ 30.757633][ T317] print_circular_bug+0x2c4/0x2c8 [ 30.758871][ T317] check_noncircular+0x14c/0x154 [ 30.760052][ T317] __lock_acquire+0x1530/0x30a4 [ 30.761203][ T317] lock_acquire+0x100/0x1f8 [ 30.762316][ T317] down_read+0x5c/0x78 [ 30.763332][ T317] ntfs_read_block+0x2d0/0x1110 [ 30.764523][ T317] ntfs_read_folio+0x594/0x758 [ 30.765666][ T317] filemap_read_folio+0x68/0x33c [ 30.766885][ T317] do_read_cache_folio+0x1c8/0x588 [ 30.768192][ T317] read_cache_page+0x40/0x178 [ 30.769370][ T317] ntfs_sync_mft_mirror+0xb4/0x109c [ 30.770660][ T317] write_mft_record_nolock+0x814/0xc70 [ 30.771964][ T317] write_mft_record+0xe4/0x230 [ 30.773119][ T317] __ntfs_write_inode+0x32c/0x554 [ 30.774330][ T317] ntfs_write_inode+0x3c/0x4c [ 30.775486][ T317] __writeback_single_inode+0x240/0x2e4 [ 30.776866][ T317] writeback_sb_inodes+0x3e4/0x85c [ 30.778093][ T317] wb_writeback+0x198/0x328 [ 30.779249][ T317] wb_do_writeback+0xc8/0x384 [ 30.780440][ T317] wb_workfn+0x70/0x15c [ 30.781482][ T317] process_one_work+0x2d8/0x504 [ 30.782767][ T317] worker_thread+0x340/0x610 [ 30.783934][ T317] kthread+0x12c/0x158 [ 30.784894][ T317] ret_from_fork+0x10/0x20