device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode ====================================================== WARNING: possible circular locking dependency detected 4.14.292-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.3/10498 is trying to acquire lock: ((&strp->work)){+.+.}, at: [] flush_work+0x88/0x770 kernel/workqueue.c:2887 but task is already holding lock: (sk_lock-AF_INET){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_attach net/kcm/kcmsock.c:1390 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] (sk_lock-AF_INET){+.+.}, at: [] kcm_ioctl+0x328/0xfb0 net/kcm/kcmsock.c:1701 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (sk_lock-AF_INET){+.+.}: lock_sock_nested+0xb7/0x100 net/core/sock.c:2813 do_strp_work net/strparser/strparser.c:415 [inline] strp_work+0x3e/0x100 net/strparser/strparser.c:434 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 -> #0 ((&strp->work)){+.+.}: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 flush_work+0xad/0x770 kernel/workqueue.c:2890 __cancel_work_timer+0x321/0x460 kernel/workqueue.c:2965 strp_done+0x53/0xd0 net/strparser/strparser.c:519 kcm_attach net/kcm/kcmsock.c:1429 [inline] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] kcm_ioctl+0x828/0xfb0 net/kcm/kcmsock.c:1701 sock_do_ioctl net/socket.c:974 [inline] sock_ioctl+0x2cc/0x4c0 net/socket.c:1071 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sk_lock-AF_INET); lock((&strp->work)); lock(sk_lock-AF_INET); lock((&strp->work)); *** DEADLOCK *** 1 lock held by syz-executor.3/10498: #0: (sk_lock-AF_INET){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_attach net/kcm/kcmsock.c:1390 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] #0: (sk_lock-AF_INET){+.+.}, at: [] kcm_ioctl+0x328/0xfb0 net/kcm/kcmsock.c:1701 stack backtrace: CPU: 1 PID: 10498 Comm: syz-executor.3 Not tainted 4.14.292-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1258 check_prev_add kernel/locking/lockdep.c:1905 [inline] check_prevs_add kernel/locking/lockdep.c:2022 [inline] validate_chain kernel/locking/lockdep.c:2464 [inline] __lock_acquire+0x2e0e/0x3f20 kernel/locking/lockdep.c:3491 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 flush_work+0xad/0x770 kernel/workqueue.c:2890 __cancel_work_timer+0x321/0x460 kernel/workqueue.c:2965 strp_done+0x53/0xd0 net/strparser/strparser.c:519 kcm_attach net/kcm/kcmsock.c:1429 [inline] kcm_attach_ioctl net/kcm/kcmsock.c:1490 [inline] kcm_ioctl+0x828/0xfb0 net/kcm/kcmsock.c:1701 sock_do_ioctl net/socket.c:974 [inline] sock_ioctl+0x2cc/0x4c0 net/socket.c:1071 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f3847db1279 RSP: 002b:00007f38466c3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3847ec41f0 RCX: 00007f3847db1279 RDX: 0000000020000180 RSI: 00000000000089e0 RDI: 0000000000000005 RBP: 00007f3847e0b2e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe7908a1af R14: 00007f38466c3300 R15: 0000000000022000 device team_slave_1 entered promiscuous mode 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link overlayfs: unrecognized mount option "©] $Šowerdi=.: ė¹ls0" or missing value overlayfs: unrecognized mount option "lower’r=./file0" or missing value 9pnet: Could not find request transport: xen ieee80211 : Selected rate control algorithm 'minstrel_ht' EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue overlayfs: unrecognized mount option "©] $Šowerdi=.: ė¹ls0" or missing value ieee80211 : hwaddr 02:00:00:00:02:00 registered vxfs: WRONG superblock magic 00000000 at 1 vxfs: unable to read disk superblock at 8 vxfs: can't find superblock. overlayfs: unrecognized mount option "©] $Šowerdi=.: ė¹ls0" or missing value overlayfs: unrecognized mount option "lower’r=./file0" or missing value 9pnet: Could not find request transport: xen EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue ieee80211 phy3: Selected rate control algorithm 'minstrel_ht' ieee80211 phy3: hwaddr 02:00:00:00:03:00 registered vxfs: WRONG superblock magic 00000000 at 1 vxfs: unable to read disk superblock at 8 ieee80211 phy4: Selected rate control algorithm 'minstrel_ht' sctp: [Deprecated]: syz-executor.4 (pid 10744) Use of struct sctp_assoc_value in delayed_ack socket option. Use struct sctp_sack_info instead vxfs: can't find superblock. ieee80211 phy4: hwaddr 02:00:00:00:04:00 registered ieee80211 phy5: Selected rate control algorithm 'minstrel_ht' vxfs: WRONG superblock magic 00000000 at 1 vxfs: unable to read disk superblock at 8 ieee80211 phy5: hwaddr 02:00:00:00:05:00 registered vxfs: can't find superblock. ieee80211 phy6: Selected rate control algorithm 'minstrel_ht' ieee80211 phy6: hwaddr 02:00:00:00:06:00 registered ieee80211 phy7: Selected rate control algorithm 'minstrel_ht' ieee80211 phy7: hwaddr 02:00:00:00:07:00 registered ieee80211 phy8: Selected rate control algorithm 'minstrel_ht' ieee80211 phy8: hwaddr 02:00:00:00:08:00 registered ieee80211 phy9: Selected rate control algorithm 'minstrel_ht' ieee80211 phy9: hwaddr 02:00:00:00:09:00 registered ieee80211 phy10: Selected rate control algorithm 'minstrel_ht' ieee80211 phy10: hwaddr 02:00:00:00:0a:00 registered unregister_netdevice: waiting for ip6gre0 to become free. Usage count = -1 ieee80211 phy11: Selected rate control algorithm 'minstrel_ht' ieee80211 phy11: hwaddr 02:00:00:00:0b:00 registered audit: type=1326 audit(1662716848.332:2): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10924 comm="syz-executor.5" exe="/root/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f44749d6279 code=0x0 audit: type=1326 audit(1662716848.462:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10941 comm="syz-executor.5" exe="/root/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f44749d6279 code=0x0 audit: type=1326 audit(1662716848.542:4): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10959 comm="syz-executor.5" exe="/root/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f44749d6279 code=0x0 audit: type=1326 audit(1662716849.182:5): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=10973 comm="syz-executor.5" exe="/root/syz-executor.5" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7f44749d6279 code=0x0 audit: type=1804 audit(1662716854.152:6): pid=11709 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir472952025/syzkaller.L17j0Q/86/bus" dev="sda1" ino=14127 res=1