FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 1 CPU: 0 PID: 5139 Comm: syz-executor.4 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: 5139, name: syz-executor.4 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 no locks held by syz-executor.4/5139. irq event stamp: 440 hardirqs last enabled at (439): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (440): [] dump_stack_lvl+0x2e/0xb3 softirqs last enabled at (434): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (411): [] __irq_exit_rcu+0x11b/0x180 CPU: 0 PID: 5139 Comm: syz-executor.4 Not tainted 6.0.0-rc1-next-20220819 #1 syz-executor.4[5139] cmdline: /syz-executor.4 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 set_selection_user+0x73/0x190 loop5: detected capacity change from 0 to 4096 tioclinux+0x35b/0x5b0 vt_ioctl+0x1edd/0x2ca0 tty_ioctl+0x7c4/0x1700 __x64_sys_ioctl+0x19a/0x210 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1c73937b19 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:00007f1c70ead188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1c73a4af60 RCX: 00007f1c73937b19 RDX: 0000000020000000 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00007f1c70ead1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcdd19081f R14: 00007f1c70ead300 R15: 0000000000022000 Quota error (device loop5): v2_read_file_info: Free block number too big (0 >= 0). EXT4-fs warning (device loop5): ext4_enable_quotas:6818: Failed to enable quota tracking (type=1, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed syz-executor.4[5139] cmdline: /syz-executor.4 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 set_selection_user+0x73/0x190 tioclinux+0x35b/0x5b0 vt_ioctl+0x1edd/0x2ca0 tty_ioctl+0x7c4/0x1700 __x64_sys_ioctl+0x19a/0x210 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1c73937b19 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:00007f1c70ead188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1c73a4af60 RCX: 00007f1c73937b19 RDX: 0000000020000000 RSI: 000000000000541c RDI: 0000000000000003 RBP: 00007f1c70ead1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcdd19081f R14: 00007f1c70ead300 R15: 0000000000022000 loop7: detected capacity change from 0 to 4 EXT4-fs (loop7): invalid first ino: 0 netlink: 'syz-executor.3': attribute type 12 has an invalid length. SELinux: security_context_str_to_sid (staff_u) failed with errno=-22 loop2: detected capacity change from 0 to 4096 loop7: detected capacity change from 0 to 4 EXT4-fs warning (device loop2): ext4_enable_quotas:6818: Failed to enable quota tracking (type=1, err=-22). Please run e2fsck to fix. EXT4-fs (loop2): mount failed EXT4-fs (loop7): invalid first ino: 0 loop5: detected capacity change from 0 to 4096 Quota error (device loop5): v2_read_file_info: Free block number too big (0 >= 0). EXT4-fs warning (device loop5): ext4_enable_quotas:6818: Failed to enable quota tracking (type=1, err=-117). Please run e2fsck to fix. EXT4-fs (loop5): mount failed loop2: detected capacity change from 0 to 4096 EXT4-fs warning (device loop2): ext4_enable_quotas:6818: Failed to enable quota tracking (type=1, err=-22). Please run e2fsck to fix. EXT4-fs (loop2): mount failed