BUG: sleeping function called from invalid context at block/blk-sysfs.c:766 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 13560, name: syz-executor.4 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 13560 Comm: syz-executor.4 Tainted: G W 5.17.0-syzkaller-13547-g11f8e7c122ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 __might_resched.cold+0x222/0x26b kernel/sched/core.c:9733 blk_release_queue+0x1f/0x320 block/blk-sysfs.c:766 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 blkg_free.part.0+0x112/0x1f0 block/blk-cgroup.c:86 blkg_free block/blk-cgroup.c:78 [inline] __blkg_release+0x105/0x160 block/blk-cgroup.c:102 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0x7b1/0x1880 kernel/rcu/tree.c:2786 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:arch_atomic_try_cmpxchg arch/x86/include/asm/atomic.h:202 [inline] RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock+0x132/0x2a0 kernel/locking/spinlock_debug.c:115 Code: 00 00 00 00 e8 7f 6f 66 00 be 04 00 00 00 48 8d 7c 24 28 e8 70 6f 66 00 8b 44 24 28 ba 01 00 00 00 89 44 24 04 f0 0f b1 55 00 <0f> 85 91 00 00 00 65 44 8b 35 70 3e a4 7e 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90004dd73c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff920009bae7a RCX: ffffffff815ddb40 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90004dd73f0 RBP: ffffffff8bea9720 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520009bae7e R11: 0000000000000000 R12: ffffffff8bea9728 R13: ffffffff8bea9730 R14: 0000000000001000 R15: 0000000000000001 spin_lock include/linux/spinlock.h:349 [inline] find_vmap_area mm/vmalloc.c:1816 [inline] find_vm_area mm/vmalloc.c:2538 [inline] __vunmap+0x66/0xe10 mm/vmalloc.c:2652 __vfree+0x3c/0xd0 mm/vmalloc.c:2723 vfree+0x5a/0x90 mm/vmalloc.c:2754 netlink_skb_destructor+0xc2/0x210 net/netlink/af_netlink.c:379 skb_release_head_state+0x9f/0x2a0 net/core/skbuff.c:729 skb_release_all net/core/skbuff.c:740 [inline] __kfree_skb net/core/skbuff.c:756 [inline] consume_skb net/core/skbuff.c:915 [inline] consume_skb+0x89/0x160 net/core/skbuff.c:909 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x54b/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 sock_no_sendpage+0xf6/0x140 net/core/sock.c:3106 kernel_sendpage.part.0+0x1ff/0x7b0 net/socket.c:3492 kernel_sendpage net/socket.c:3489 [inline] sock_sendpage+0xdf/0x140 net/socket.c:1007 pipe_to_sendpage+0x2ad/0x380 fs/splice.c:364 splice_from_pipe_feed fs/splice.c:418 [inline] __splice_from_pipe+0x43e/0x8a0 fs/splice.c:562 splice_from_pipe fs/splice.c:597 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:746 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x110/0x180 fs/splice.c:936 splice_direct_to_actor+0x34b/0x8c0 fs/splice.c:891 do_splice_direct+0x1a7/0x270 fs/splice.c:979 do_sendfile+0xae0/0x1240 fs/read_write.c:1246 __do_sys_sendfile64 fs/read_write.c:1311 [inline] __se_sys_sendfile64 fs/read_write.c:1297 [inline] __x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1297 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f1451889049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1452a84168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f145199bf60 RCX: 00007f1451889049 RDX: 0000000000000000 RSI: 000000000000000b RDI: 000000000000000c RBP: 00007f14518e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100000ea4 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdd6d03f0f R14: 00007f1452a84300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: e8 7f 6f 66 00 callq 0x666f88 9: be 04 00 00 00 mov $0x4,%esi e: 48 8d 7c 24 28 lea 0x28(%rsp),%rdi 13: e8 70 6f 66 00 callq 0x666f88 18: 8b 44 24 28 mov 0x28(%rsp),%eax 1c: ba 01 00 00 00 mov $0x1,%edx 21: 89 44 24 04 mov %eax,0x4(%rsp) 25: f0 0f b1 55 00 lock cmpxchg %edx,0x0(%rbp) * 2a: 0f 85 91 00 00 00 jne 0xc1 <-- trapping instruction 30: 65 44 8b 35 70 3e a4 mov %gs:0x7ea43e70(%rip),%r14d # 0x7ea43ea8 37: 7e 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax 3e: 00 fc add %bh,%ah