BUG: sleeping function called from invalid context at mm/vmalloc.c:2696 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 84259, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz-executor.1/84259: #0: ffff8880395b0130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x156/0x3cc0 Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 84259 Comm: syz-executor.1 Not tainted 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __might_resched.cold+0x222/0x26b __vunmap+0x7aa/0xc10 __vfree+0x3c/0xd0 __vmalloc_node_range+0x1065/0x1410 __vmalloc_node+0xb5/0x100 packet_set_ring+0xb60/0x1b20 packet_setsockopt+0x1b56/0x3cc0 __sys_setsockopt+0x180/0x2a0 __x64_sys_setsockopt+0xba/0x150 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f06c45d7b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06c1b4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f06c46eaf60 RCX: 00007f06c45d7b19 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f06c4631f6d R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed3e86b5f R14: 00007f06c1b4d300 R15: 0000000000022000 BUG: scheduling while atomic: syz-executor.1/84259/0x00000002 no locks held by syz-executor.1/84259. Modules linked in: Preemption disabled at: [] free_unref_page+0x1e5/0x440 CPU: 0 PID: 84259 Comm: syz-executor.1 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 exit_to_user_mode_prepare+0x114/0x1a0 syscall_exit_to_user_mode+0x19/0x40 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f06c45d7b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06c1b4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: fffffffffffffff4 RBX: 00007f06c46eaf60 RCX: 00007f06c45d7b19 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f06c4631f6d R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed3e86b5f R14: 00007f06c1b4d300 R15: 0000000000022000 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium BUG: sleeping function called from invalid context at mm/vmalloc.c:2980 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 84385, name: syz-executor.1 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 1 lock held by syz-executor.1/84385: #0: ffff888034e76130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_setsockopt+0x156/0x3cc0 Preemption disabled at: [] get_page_from_freelist+0x426/0x2ad0 CPU: 0 PID: 84385 Comm: syz-executor.1 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __might_resched.cold+0x222/0x26b __vmalloc_node_range+0x680/0x1410 __vmalloc_node+0xb5/0x100 packet_set_ring+0xb60/0x1b20 packet_setsockopt+0x1b56/0x3cc0 __sys_setsockopt+0x180/0x2a0 __x64_sys_setsockopt+0xba/0x150 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f06c45d7b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06c1b4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f06c46eaf60 RCX: 00007f06c45d7b19 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f06c4631f6d R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed3e86b5f R14: 00007f06c1b4d300 R15: 0000000000022000 BUG: scheduling while atomic: syz-executor.1/84385/0x00000002 no locks held by syz-executor.1/84385. Modules linked in: Preemption disabled at: [] get_page_from_freelist+0x426/0x2ad0 CPU: 0 PID: 84385 Comm: syz-executor.1 Tainted: G W 5.19.0-rc2-next-20220614 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 __schedule_bug.cold+0x133/0x143 __schedule+0x18e6/0x2470 schedule+0xd2/0x1f0 exit_to_user_mode_prepare+0x114/0x1a0 syscall_exit_to_user_mode+0x19/0x40 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f06c45d7b19 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f06c1b4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: fffffffffffffff4 RBX: 00007f06c46eaf60 RCX: 00007f06c45d7b19 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003 RBP: 00007f06c4631f6d R08: 0000000000000010 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed3e86b5f R14: 00007f06c1b4d300 R15: 0000000000022000 mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium mac80211_hwsim: wmediumd released netlink socket, switching to perfect channel medium cgroup: fork rejected by pids controller in /syz2 netlink: 28 bytes leftover after parsing attributes in process `syz-executor.6'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.6'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.6'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.6'. loop1: detected capacity change from 0 to 256 FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) loop1: detected capacity change from 0 to 256 FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) loop1: detected capacity change from 0 to 256 FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) loop1: detected capacity change from 0 to 256 FAT-fs (loop1): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)