FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 1 CPU: 1 PID: 4664 Comm: syz-executor.1 Not tainted 6.0.0-rc1-next-20220819 #1 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1521 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 4664, name: syz-executor.1 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 no locks held by syz-executor.1/4664. irq event stamp: 370 hardirqs last enabled at (369): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (370): [] dump_stack_lvl+0x2e/0xb3 softirqs last enabled at (364): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (355): [] __irq_exit_rcu+0x11b/0x180 CPU: 1 PID: 4664 Comm: syz-executor.1 Not tainted 6.0.0-rc1-next-20220819 #1 syz-executor.1[4664] cmdline: /syz-executor.1 exec 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 down_read_killable+0x75/0x490 __access_remote_vm+0xac/0x6f0 get_mm_cmdline.part.0+0x214/0x600 get_task_cmdline_kernel+0x1e9/0x230 dump_stack_print_cmdline.part.0+0x82/0x150 dump_stack_print_info+0x185/0x190 dump_stack_lvl+0x7f/0xb3 should_fail.cold+0x5/0xa _copy_from_user+0x2a/0x170 do_ip6t_get_ctl+0x4a0/0x980 nf_getsockopt+0x78/0xd0 ipv6_getsockopt+0x1c3/0x270 udpv6_getsockopt+0x5d/0xa0 __sys_getsockopt+0x14c/0x250 __x64_sys_getsockopt+0xba/0x160 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8c5a81ab19 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 loop7: RSP: 002b:00007f8c57d90188 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f8c5a92df60 RCX: 00007f8c5a81ab19 RDX: 0000000000000045 RSI: 0000000000000029 RDI: 0000000000000004 RBP: 00007f8c57d901d0 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffcf5af7cf R14: 00007f8c57d90300 R15: 0000000000022000 FAT-fs (loop7): Invalid FSINFO signature: 0x41615252, 0x00000000 (sector = 1) syz-executor.1[4664] cmdline: /syz-executor.1 exec 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 should_fail.cold+0x5/0xa _copy_from_user+0x2a/0x170 do_ip6t_get_ctl+0x4a0/0x980 nf_getsockopt+0x78/0xd0 tmpfs: Bad value for 'size' ipv6_getsockopt+0x1c3/0x270 udpv6_getsockopt+0x5d/0xa0 __sys_getsockopt+0x14c/0x250 __x64_sys_getsockopt+0xba/0x160 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8c5a81ab19 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:00007f8c57d90188 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f8c5a92df60 RCX: 00007f8c5a81ab19 netlink: 12 bytes leftover after parsing attributes in process `syz-executor.6'. RDX: 0000000000000045 RSI: 0000000000000029 RDI: 0000000000000004 RBP: 00007f8c57d901d0 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffcf5af7cf R14: 00007f8c57d90300 R15: 0000000000022000 tmpfs: Bad value for 'size' Process accounting resumed Process accounting resumed netlink: 12 bytes leftover after parsing attributes in process `syz-executor.6'. Process accounting resumed