bridge0: entered promiscuous mode
vlan0: entered promiscuous mode
BUG: sleeping function called from invalid context at kernel/locking/mutex.c:609
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 16385, name: syz.0.3374
preempt_count: 201, expected: 0
RCU nest depth: 0, expected: 0
3 locks held by syz.0.3374/16385:
 #0: ffffffff903255b0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8fdceac0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x883/0x1bb0
 #2: ffff888114ed0370 (&dev_addr_list_lock_key#7/2){+...}-{3:3}, at: dev_uc_add+0x67/0x120
Preemption disabled at:
[<ffffffff89831fe6>] dev_uc_add+0x56/0x120
CPU: 0 UID: 0 PID: 16385 Comm: syz.0.3374 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 __might_resched+0x378/0x4d0
 __mutex_lock+0x11c/0x1550
 dev_set_promiscuity+0x10e/0x260
 __dev_set_promiscuity+0x515/0x710
 netif_set_promiscuity+0x50/0xe0
 dev_set_promiscuity+0x126/0x260
 br_manage_promisc+0x180/0x560
 __dev_set_promiscuity+0x515/0x710
 __dev_set_rx_mode+0x17c/0x260
 dev_uc_add+0xc8/0x120
 macsec_dev_open+0xf2/0x5a0
 __dev_open+0x44d/0x830
 __dev_change_flags+0x1f7/0x690
 rtnl_newlink_create+0x587/0xb70
 rtnl_newlink+0x166a/0x1bb0
 rtnetlink_rcv_msg+0x7d5/0xbe0
 netlink_rcv_skb+0x232/0x4b0
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x15f/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f168299cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1683840028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1682c15fa0 RCX: 00007f168299cdd9
RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000008
RBP: 00007f1682a32d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1682c16038 R14: 00007f1682c15fa0 R15: 00007ffcae13c948
 </TASK>

=============================
[ BUG: Invalid wait context ]
syzkaller #0 Tainted: G        W          
-----------------------------
syz.0.3374/16385 is trying to lock:
ffff888114c12d88 (&dev_instance_lock_key#3){+.+.}-{4:4}, at: dev_set_promiscuity+0x10e/0x260
other info that might help us debug this:
context-{5:5}
3 locks held by syz.0.3374/16385:
 #0: ffffffff903255b0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250
 #1: ffffffff8fdceac0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x883/0x1bb0
 #2: ffff888114ed0370 (&dev_addr_list_lock_key#7/2){+...}-{3:3}, at: dev_uc_add+0x67/0x120
stack backtrace:
CPU: 0 UID: 0 PID: 16385 Comm: syz.0.3374 Tainted: G        W           syzkaller #0 PREEMPT(full) 
Tainted: [W]=WARN
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 __lock_acquire+0xec1/0x2cf0
 lock_acquire+0x106/0x350
 __mutex_lock+0x1a3/0x1550
 dev_set_promiscuity+0x10e/0x260
 __dev_set_promiscuity+0x515/0x710
 netif_set_promiscuity+0x50/0xe0
 dev_set_promiscuity+0x126/0x260
 br_manage_promisc+0x180/0x560
 __dev_set_promiscuity+0x515/0x710
 __dev_set_rx_mode+0x17c/0x260
 dev_uc_add+0xc8/0x120
 macsec_dev_open+0xf2/0x5a0
 __dev_open+0x44d/0x830
 __dev_change_flags+0x1f7/0x690
 rtnl_newlink_create+0x587/0xb70
 rtnl_newlink+0x166a/0x1bb0
 rtnetlink_rcv_msg+0x7d5/0xbe0
 netlink_rcv_skb+0x232/0x4b0
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x813/0xb40
 ____sys_sendmsg+0x972/0x9f0
 ___sys_sendmsg+0x2a5/0x360
 __x64_sys_sendmsg+0x1bd/0x2a0
 do_syscall_64+0x15f/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f168299cdd9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1683840028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1682c15fa0 RCX: 00007f168299cdd9
RDX: 0000000000000000 RSI: 0000200000000240 RDI: 0000000000000008
RBP: 00007f1682a32d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1682c16038 R14: 00007f1682c15fa0 R15: 00007ffcae13c948
 </TASK>
dummy0: entered promiscuous mode
macsec2: entered promiscuous mode
