BUG: sleeping function called from invalid context at kernel/locking/mutex.c:935 in_atomic(): 1, irqs_disabled(): 0, pid: 8916, name: syz-executor820 2 locks held by syz-executor820/8916: #0: ffffffff8999f9e0 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8999f9e0 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x40a/0xb00 net/core/rtnetlink.c:5220 #1: ffff8880a15cb7c0 (&(&sch->q.lock)->rlock){+...}, at: spin_lock_bh include/linux/spinlock.h:343 [inline] #1: ffff8880a15cb7c0 (&(&sch->q.lock)->rlock){+...}, at: sch_tree_lock include/net/sch_generic.h:544 [inline] #1: ffff8880a15cb7c0 (&(&sch->q.lock)->rlock){+...}, at: sfb_change+0x257/0xe90 net/sched/sch_sfb.c:519 Preemption disabled at: [] spin_lock_bh include/linux/spinlock.h:343 [inline] [] sch_tree_lock include/net/sch_generic.h:544 [inline] [] sfb_change+0x257/0xe90 net/sched/sch_sfb.c:519 CPU: 1 PID: 8916 Comm: syz-executor820 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 ___might_sleep.cold+0x1be/0x1f7 kernel/sched/core.c:6798 __might_sleep+0x95/0x190 kernel/sched/core.c:6751 __mutex_lock_common kernel/locking/mutex.c:935 [inline] __mutex_lock+0xc5/0x13c0 kernel/locking/mutex.c:1103 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1118 tcf_chain0_head_change_cb_del.isra.0+0x34/0x3e0 net/sched/cls_api.c:774 tcf_block_put_ext.part.0+0x2a/0x80 net/sched/cls_api.c:1345 tcf_block_put_ext net/sched/cls_api.c:1343 [inline] tcf_block_put+0xbf/0x110 net/sched/cls_api.c:1358 sfb_destroy+0x37/0x80 net/sched/sch_sfb.c:467 qdisc_destroy+0x11f/0x630 net/sched/sch_generic.c:968 qdisc_put+0x85/0xa0 net/sched/sch_generic.c:995 sfb_change+0x3d8/0xe90 net/sched/sch_sfb.c:522 qdisc_change net/sched/sch_api.c:1321 [inline] tc_modify_qdisc+0xfcf/0x1c50 net/sched/sch_api.c:1623 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:5223 netlink_rcv_skb+0x177/0x450 net/netlink/af_netlink.c:2477 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:5241 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline] netlink_unicast+0x531/0x710 net/netlink/af_netlink.c:1328 netlink_sendmsg+0x8a5/0xd60 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:657 ___sys_sendmsg+0x803/0x920 net/socket.c:2311 __sys_sendmsg+0x105/0x1d0 net/socket.c:2356 __compat_sys_sendmsg net/compat.c:642 [inline] __do_compat_sys_sendmsg net/compat.c:649 [inline] __se_compat_sys_sendmsg net/compat.c:646 [inline] __ia32_compat_sys_sendmsg+0x7a/0xb0 net/compat.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:333 [inline] do_fast_syscall_32+0x27b/0xdb3 arch/x86/entry/common.c:404 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fb2a29 Code: b8 80 96 98 00 eb cc 8b 04 24 c3 8b 1c 24 c3 8b 34 24 c3 8b 3c 24 c3 90 90 90 90 90 90 90 90 90 90 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f7f8d1fc EFLAGS: 00000246 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000020000240 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00000000003d0f00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000