====================================================== WARNING: possible circular locking dependency detected 4.14.290-syzkaller #0 Not tainted ------------------------------------------------------ kworker/u4:5/3556 is trying to acquire lock: (sk_lock-AF_INET){+.+.}, at: [] do_strp_work net/strparser/strparser.c:415 [inline] (sk_lock-AF_INET){+.+.}, at: [] strp_work+0x3e/0x100 net/strparser/strparser.c:434 but task is already holding lock: ((&strp->work)){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 ((&strp->work)){+.+.}: 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 -> #0 (sk_lock-AF_INET){+.+.}: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 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 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock((&strp->work)); lock(sk_lock-AF_INET); lock((&strp->work)); lock(sk_lock-AF_INET); *** DEADLOCK *** 2 locks held by kworker/u4:5/3556: #0: ("%s""kstrp"){+.+.}, at: [] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2088 #1: ((&strp->work)){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 stack backtrace: CPU: 1 PID: 3556 Comm: kworker/u4:5 Not tainted 4.14.290-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: kstrp strp_work 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 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 caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect process 'syz-executor.1' launched '/dev/fd/4' with NULL argv: empty string added 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode syz-executor.2 (9967) used greatest stack depth: 24384 bytes left caif:caif_disconnect_client(): nothing to disconnect caif:caif_disconnect_client(): nothing to disconnect L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details. 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode syz-executor.5 (10019) used greatest stack depth: 24048 bytes left bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode device lo entered promiscuous mode device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state syz-executor.2 (10020) used greatest stack depth: 23952 bytes left 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode device lo entered promiscuous mode Y4`Ҙ: renamed from lo Y4`Ҙ: renamed from lo device lo entered promiscuous mode device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link Y4`Ҙ: renamed from lo bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode device team0 left promiscuous mode device team_slave_0 left promiscuous mode device team_slave_1 left promiscuous mode bridge0: port 3(team0) entered disabled state 8021q: adding VLAN 0 to HW filter on device team0 bond0: Enslaving team0 as an active interface with an up link device lo entered promiscuous mode bond0: Releasing backup interface team0 bridge0: port 3(team0) entered blocking state bridge0: port 3(team0) entered disabled state device team0 entered promiscuous mode device team_slave_0 entered promiscuous mode device team_slave_1 entered promiscuous mode Y4`Ҙ: renamed from lo syz-executor.2 (10125) used greatest stack depth: 23840 bytes left sp0: Synchronizing with TNC sp0: Synchronizing with TNC sp1: Synchronizing with TNC sp0: Synchronizing with TNC ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop0: p2 < > p4 loop0: p4 size 2097152 extends beyond EOD, truncated sp1: Synchronizing with TNC ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop0: p2 < > p4 sp0: Synchronizing with TNC loop0: p4 size 2097152 extends beyond EOD, truncated sp1: Synchronizing with TNC sp2: Synchronizing with TNC ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop0: p2 < > p4 sp0: Synchronizing with TNC loop0: p4 size 2097152 extends beyond EOD, truncated sp1: Synchronizing with TNC ldm_parse_privhead(): Cannot find PRIVHEAD structure. LDM database is corrupt. Aborting. ldm_validate_privheads(): Cannot find PRIVHEAD 1. loop0: p2 < > p4 audit: type=1400 audit(1659742121.384:2): apparmor="DENIED" operation="stack" info="label not found" error=-2 profile="unconfined" name=26263A041C52D559A5CF1C98DA526106084EDC134093C5FC5DB241B4D2881413DCB5EDE3D1E3265388C5C3E6C0DDC715A2E68691749DA97767082E0A948B17F0D326C59E625374ED3003B92FAEFCB43106082AE3E752A66FFFF2F8A1A0275DCBE9D3828D959A66A4578A9A07C923D5DA34B91A870581C62F10AD3B465527E45BCC2973BF45B93AB7FE79 pid=10443 comm="syz-executor.3" loop0: p4 size 2097152 extends beyond EOD, truncated audit: type=1400 audit(1659742121.384:3): apparmor="DENIED" operation="stack" info="label not found" error=-2 profile="unconfined" name=26263A041C52D559A5CF1C98DA526106084EDC134093C5FC5DB241B4D2881413DCB5EDE3D1E3265388C5C3E6C0DDC715A2E68691749DA97767082E0A948B17F0D326C59E625374ED3003B92FAEFCB43106082AE3E752A66FFFF2F8A1A0275DCBE9D3828D959A66A4578A9A07C923D5DA34B91A870581C62F10AD3B465527E45BCC2973BF45B93AB7FE79 pid=10450 comm="syz-executor.3" audit: type=1400 audit(1659742122.044:4): apparmor="DENIED" operation="stack" info="label not found" error=-2 profile="unconfined" name=26263A041C52D559A5CF1C98DA526106084EDC134093C5FC5DB241B4D2881413DCB5EDE3D1E3265388C5C3E6C0DDC715A2E68691749DA97767082E0A948B17F0D326C59E625374ED3003B92FAEFCB43106082AE3E752A66FFFF2F8A1A0275DCBE9D3828D959A66A4578A9A07C923D5DA34B91A870581C62F10AD3B465527E45BCC2973BF45B93AB7FE79 pid=10471 comm="syz-executor.3" audit: type=1400 audit(1659742122.044:5): apparmor="DENIED" operation="stack" info="label not found" error=-2 profile="unconfined" name=26263A041C52D559A5CF1C98DA526106084EDC134093C5FC5DB241B4D2881413DCB5EDE3D1E3265388C5C3E6C0DDC715A2E68691749DA97767082E0A948B17F0D326C59E625374ED3003B92FAEFCB43106082AE3E752A66FFFF2F8A1A0275DCBE9D3828D959A66A4578A9A07C923D5DA34B91A870581C62F10AD3B465527E45BCC2973BF45B93AB7FE79 pid=10481 comm="syz-executor.3"