bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 vhci_hcd: stop threads vhci_hcd: release socket vhci_hcd: disconnect device ====================================================== WARNING: possible circular locking dependency detected 4.19.167-syzkaller #0 Not tainted ------------------------------------------------------ kworker/0:0/27158 is trying to acquire lock: 00000000c11de469 (&sb->s_type->i_mutex_key#13){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] 00000000c11de469 (&sb->s_type->i_mutex_key#13){+.+.}, at: __sock_release+0x86/0x2a0 net/socket.c:578 but task is already holding lock: 0000000096ec0d24 ((delayed_fput_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2130 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #3 ((delayed_fput_work).work){+.+.}: worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 -> #2 ((wq_completion)"events"){+.+.}: flush_scheduled_work include/linux/workqueue.h:599 [inline] tipc_exit_net+0x38/0x60 net/tipc/core.c:100 ops_exit_list+0xa5/0x150 net/core/net_namespace.c:153 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:553 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 -> #1 (pernet_ops_rwsem){++++}: unregister_netdevice_notifier+0x7b/0x330 net/core/dev.c:1708 bcm_release+0x94/0x700 net/can/bcm.c:1525 __sock_release+0xcd/0x2a0 net/socket.c:579 sock_close+0x15/0x20 net/socket.c:1140 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbed/0x2be0 kernel/exit.c:890 do_group_exit+0x125/0x310 kernel/exit.c:993 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe -> #0 (&sb->s_type->i_mutex_key#13){+.+.}: down_write+0x34/0x90 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:748 [inline] __sock_release+0x86/0x2a0 net/socket.c:578 sock_close+0x15/0x20 net/socket.c:1140 __fput+0x2ce/0x890 fs/file_table.c:278 delayed_fput+0x56/0x70 fs/file_table.c:304 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 other info that might help us debug this: Chain exists of: &sb->s_type->i_mutex_key#13 --> (wq_completion)"events" --> (delayed_fput_work).work Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock((delayed_fput_work).work); lock((wq_completion)"events"); lock((delayed_fput_work).work); lock(&sb->s_type->i_mutex_key#13); *** DEADLOCK *** 2 locks held by kworker/0:0/27158: #0: 00000000b0b8dc7c ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2126 #1: 0000000096ec0d24 ((delayed_fput_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2130 stack backtrace: CPU: 0 PID: 27158 Comm: kworker/0:0 Not tainted 4.19.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events delayed_fput Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1221 check_prev_add kernel/locking/lockdep.c:1865 [inline] check_prevs_add kernel/locking/lockdep.c:1978 [inline] validate_chain kernel/locking/lockdep.c:2419 [inline] __lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3415 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907 down_write+0x34/0x90 kernel/locking/rwsem.c:70 inode_lock include/linux/fs.h:748 [inline] __sock_release+0x86/0x2a0 net/socket.c:578 sock_close+0x15/0x20 net/socket.c:1140 __fput+0x2ce/0x890 fs/file_table.c:278 delayed_fput+0x56/0x70 fs/file_table.c:304 process_one_work+0x864/0x1570 kernel/workqueue.c:2155 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 vhci_hcd: vhci_device speed not set bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table ptrace attach of ""[3203] was attempted by "/root/syz-executor.0"[3204] bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x50001dd squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table vhci_hcd vhci_hcd.0: pdev(3) rhport(1) sockfd(5) vhci_hcd vhci_hcd.0: devid(0) speed(2) speed_str(full-speed) SQUASHFS error: squashfs_read_data failed to read block 0x50001dd squashfs: SQUASHFS error: unable to read xattr id index table usbip_core: unknown command vhci_hcd: unknown pdu 592479985 usbip_core: unknown command vhci_hcd: stop threads vhci_hcd: release socket vhci_hcd: disconnect device squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x50401dd squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 SQUASHFS error: squashfs_read_data failed to read block 0x50401dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 SQUASHFS error: squashfs_read_data failed to read block 0x60001dd bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x60001dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x60401dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table SQUASHFS error: squashfs_read_data failed to read block 0x60401dd squashfs: SQUASHFS error: unable to read xattr id index table orangefs_mount: mount request failed with -4 orangefs_mount: mount request failed with -4 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 SQUASHFS error: squashfs_read_data failed to read block 0x70001dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Device is already in use. bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table SQUASHFS error: squashfs_read_data failed to read block 0x70001dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Device is already in use. bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Device is already in use. bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x70401dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x70401dd squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0x80401dd squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table SQUASHFS error: squashfs_read_data failed to read block 0x80401dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 SQUASHFS error: squashfs_read_data failed to read block 0x90001dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 SQUASHFS error: squashfs_read_data failed to read block 0x90401dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table SQUASHFS error: squashfs_read_data failed to read block 0x90401dd squashfs: SQUASHFS error: unable to read xattr id index table squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0xa0001dd squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0xa0001dd squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 squashfs: SQUASHFS error: unable to read inode lookup table SQUASHFS error: squashfs_read_data failed to read block 0xa0401dd squashfs: SQUASHFS error: unable to read xattr id index table squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0xa0401dd squashfs: SQUASHFS error: unable to read xattr id index table squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table SQUASHFS error: squashfs_read_data failed to read block 0xb0001dd bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3 squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 SQUASHFS error: squashfs_read_data failed to read block 0xb0001dd squashfs: SQUASHFS error: unable to read inode lookup table squashfs: SQUASHFS error: unable to read xattr id index table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: unable to read inode lookup table bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 bond0: Error: cannot enslave VLAN challenged slave ipvlan126 on VLAN enabled bond bond0 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop3