BUG: sleeping function called from invalid context at block/blk-sysfs.c:766
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3603, name: dhcpcd
preempt_count: 101, expected: 0
RCU nest depth: 0, expected: 0
INFO: lockdep is turned off.
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 1 PID: 3603 Comm: dhcpcd Tainted: G W 5.17.0-syzkaller-13430-g787af64d05cd #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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x38/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 9a ac fc f7 48 89 ef e8 e2 2b fd f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 a3 44 f0 f7 65 8b 05 3c bd a1 76 85 c0 74 0a 5b 5d c3 e8 d0 31
RSP: 0018:ffffc90003a4fb20 EFLAGS: 00000206
RAX: 0000000000000046 RBX: 0000000000000200 RCX: 1ffffffff1b6d5ed
RDX: 0000000000000000 RSI: ffffffff817ee4b1 RDI: 0000000000000001
RBP: ffff888010c7d050 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff817ee498 R11: 0000000000000000 R12: 0000000000000020
R13: dffffc0000000000 R14: ffff888078b463d0 R15: 0000000000000078
spin_unlock_irqrestore include/linux/spinlock.h:404 [inline]
unlock_page_lruvec_irqrestore include/linux/memcontrol.h:1550 [inline]
release_pages+0xa19/0x2290 mm/swap.c:916
tlb_batch_pages_flush mm/mmu_gather.c:50 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:243 [inline]
tlb_flush_mmu mm/mmu_gather.c:250 [inline]
tlb_finish_mmu+0x165/0x8c0 mm/mmu_gather.c:341
exit_mmap+0x1de/0x4a0 mm/mmap.c:3150
__mmput+0x122/0x4b0 kernel/fork.c:1183
mmput+0x56/0x60 kernel/fork.c:1205
exit_mm kernel/exit.c:510 [inline]
do_exit+0xa12/0x2a00 kernel/exit.c:782
do_group_exit+0xd2/0x2f0 kernel/exit.c:925
__do_sys_exit_group kernel/exit.c:936 [inline]
__se_sys_exit_group kernel/exit.c:934 [inline]
__x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934
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:0x7fed4cbb9309
Code: Unable to access opcode bytes at RIP 0x7fed4cbb92df.
RSP: 002b:00007ffcc68124b8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fed4cbb9309
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007ffcc6812528 R08: ffffffffffffff88 R09: 000055936c7b92c0
R10: 000000000000000b R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffcc6812ad8 R14: 0000000000000003 R15: 0000000000000000
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 24 10 and $0x10,%al
2: e8 9a ac fc f7 callq 0xf7fcaca1
7: 48 89 ef mov %rbp,%rdi
a: e8 e2 2b fd f7 callq 0xf7fd2bf1
f: 81 e3 00 02 00 00 and $0x200,%ebx
15: 75 25 jne 0x3c
17: 9c pushfq
18: 58 pop %rax
19: f6 c4 02 test $0x2,%ah
1c: 75 2d jne 0x4b
1e: 48 85 db test %rbx,%rbx
21: 74 01 je 0x24
23: fb sti
24: bf 01 00 00 00 mov $0x1,%edi
* 29: e8 a3 44 f0 f7 callq 0xf7f044d1 <-- trapping instruction
2e: 65 8b 05 3c bd a1 76 mov %gs:0x76a1bd3c(%rip),%eax # 0x76a1bd71
35: 85 c0 test %eax,%eax
37: 74 0a je 0x43
39: 5b pop %rbx
3a: 5d pop %rbp
3b: c3 retq
3c: e8 .byte 0xe8
3d: d0 31 shlb (%rcx)