R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fb8a876c000 R15: 0000000000000000 CPU: 1 PID: 23259 Comm: syz-executor.3 Not tainted 5.10.49 #1 ====================================================== WARNING: possible circular locking dependency detected 5.10.49 #1 Not tainted ------------------------------------------------------ syz-executor.0/23254 is trying to acquire lock: ffffffff84d0a6c0 (console_owner){-.-.}-{0:0}, at: console_trylock_spinning kernel/printk/printk.c:1831 [inline] ffffffff84d0a6c0 (console_owner){-.-.}-{0:0}, at: vprintk_emit+0x2c6/0x4d0 kernel/printk/printk.c:2051 but task is already holding lock: ffff88800f2f2518 (&sighand->siglock){-.-.}-{2:2}, at: force_sig_info_to_task+0x6c/0x3a0 kernel/signal.c:1317 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&sighand->siglock){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 __lock_task_sighand+0x108/0x2e0 kernel/signal.c:1391 lock_task_sighand include/linux/sched/signal.h:688 [inline] task_work_add+0x1db/0x2b0 kernel/task_work.c:58 io_req_task_work_add fs/io_uring.c:2048 [inline] __io_async_wake+0x443/0x8d0 fs/io_uring.c:4961 __wake_up_common+0x14c/0x4c0 kernel/sched/wait.c:93 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 tty_ldisc_lock+0x40/0xb0 drivers/tty/tty_ldisc.c:335 tty_ldisc_hangup+0x204/0x690 drivers/tty/tty_ldisc.c:744 __tty_hangup.part.0+0x50d/0x9b0 drivers/tty/tty_io.c:624 __tty_hangup drivers/tty/tty_io.c:574 [inline] tty_vhangup drivers/tty/tty_io.c:697 [inline] tty_ioctl+0x103e/0x17c0 drivers/tty/tty_io.c:2683 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #3 (&tty->read_wait){....}-{2:2}: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x27/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] io_poll_double_wake+0x1f8/0x550 fs/io_uring.c:5074 __wake_up_common+0x14c/0x4c0 kernel/sched/wait.c:93 __wake_up_common_lock+0xd0/0x130 kernel/sched/wait.c:123 tty_ldisc_lock+0x55/0xb0 drivers/tty/tty_ldisc.c:336 tty_ldisc_hangup+0x204/0x690 drivers/tty/tty_ldisc.c:744 __tty_hangup.part.0+0x50d/0x9b0 drivers/tty/tty_io.c:624 __tty_hangup drivers/tty/tty_io.c:574 [inline] tty_vhangup drivers/tty/tty_io.c:697 [inline] tty_ioctl+0x103e/0x17c0 drivers/tty/tty_io.c:2683 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x196/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #2 (&tty->write_wait){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 __wake_up_common_lock+0xb4/0x130 kernel/sched/wait.c:122 tty_port_default_wakeup+0x26/0x40 drivers/tty/tty_port.c:50 serial8250_tx_chars+0x516/0xb40 drivers/tty/serial/8250/8250_port.c:1844 serial8250_handle_irq.part.0+0x3f1/0x4c0 drivers/tty/serial/8250/8250_port.c:1931 serial8250_handle_irq drivers/tty/serial/8250/8250_port.c:1904 [inline] serial8250_default_handle_irq+0xb8/0x230 drivers/tty/serial/8250/8250_port.c:1947 serial8250_interrupt+0xf4/0x1a0 drivers/tty/serial/8250/8250_core.c:126 __handle_irq_event_percpu+0x2ef/0x810 kernel/irq/handle.c:156 handle_irq_event_percpu kernel/irq/handle.c:196 [inline] handle_irq_event+0x102/0x290 kernel/irq/handle.c:213 handle_edge_irq+0x249/0xd00 kernel/irq/chip.c:819 asm_call_irq_on_stack+0x12/0x20 __run_irq_on_irqstack arch/x86/include/asm/irq_stack.h:48 [inline] run_irq_on_irqstack_cond arch/x86/include/asm/irq_stack.h:101 [inline] handle_irq arch/x86/kernel/irq.c:230 [inline] __common_interrupt arch/x86/kernel/irq.c:249 [inline] common_interrupt+0xe6/0x190 arch/x86/kernel/irq.c:239 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:635 native_restore_fl arch/x86/include/asm/irqflags.h:41 [inline] arch_local_irq_restore arch/x86/include/asm/irqflags.h:84 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x25/0x40 kernel/locking/spinlock.c:191 spin_unlock_irqrestore include/linux/spinlock.h:409 [inline] uart_write+0x304/0x580 drivers/tty/serial/serial_core.c:615 do_output_char+0x5e4/0x860 drivers/tty/n_tty.c:442 process_output drivers/tty/n_tty.c:509 [inline] n_tty_write+0x487/0xf90 drivers/tty/n_tty.c:2361 do_tty_write drivers/tty/tty_io.c:1028 [inline] file_tty_write.constprop.0+0x4f8/0x8d0 drivers/tty/tty_io.c:1118 redirected_tty_write+0xa1/0xc0 drivers/tty/tty_io.c:1125 call_write_iter include/linux/fs.h:1903 [inline] do_iter_readv_writev+0x476/0x750 fs/read_write.c:740 do_iter_write+0x18d/0x670 fs/read_write.c:866 vfs_writev+0x1aa/0x5d0 fs/read_write.c:939 do_writev+0x139/0x300 fs/read_write.c:982 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 -> #1 (&port_lock_key){-.-.}-{2:2}: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x36/0x50 kernel/locking/spinlock.c:159 serial8250_console_write+0x87a/0xa90 drivers/tty/serial/8250/8250_port.c:3304 call_console_drivers kernel/printk/printk.c:1909 [inline] console_unlock+0x826/0xb30 kernel/printk/printk.c:2523 register_console kernel/printk/printk.c:2864 [inline] register_console+0x53d/0x800 kernel/printk/printk.c:2754 univ8250_console_init+0x3a/0x46 drivers/tty/serial/8250/8250_core.c:690 console_init+0x361/0x4fa kernel/printk/printk.c:2974 start_kernel+0x2f9/0x4a2 init/main.c:988 secondary_startup_64_no_verify+0xc2/0xcb -> #0 (console_owner){-.-.}-{0:0}: check_prev_add kernel/locking/lockdep.c:2871 [inline] check_prevs_add kernel/locking/lockdep.c:2996 [inline] validate_chain kernel/locking/lockdep.c:3611 [inline] __lock_acquire+0x2a48/0x5a80 kernel/locking/lockdep.c:4836 lock_acquire kernel/locking/lockdep.c:5446 [inline] lock_acquire+0x197/0x490 kernel/locking/lockdep.c:5411 console_trylock_spinning kernel/printk/printk.c:1852 [inline] vprintk_emit+0x303/0x4d0 kernel/printk/printk.c:2051 vprintk_func+0x8b/0x140 kernel/printk/printk_safe.c:401 printk+0xba/0xed kernel/printk/printk.c:2100 fail_dump lib/fault-inject.c:45 [inline] should_fail+0x472/0x5a0 lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 __sigqueue_alloc+0x23f/0x550 kernel/signal.c:435 __send_signal+0x5db/0x1030 kernel/signal.c:1116 force_sig_info_to_task+0x2a0/0x3a0 kernel/signal.c:1334 force_sig_fault_to_task kernel/signal.c:1673 [inline] force_sig_fault+0xb0/0xf0 kernel/signal.c:1680 __bad_area_nosemaphore+0x270/0x320 arch/x86/mm/fault.c:832 do_user_addr_fault+0x89c/0xc30 arch/x86/mm/fault.c:1342 handle_page_fault arch/x86/mm/fault.c:1436 [inline] exc_page_fault+0xa2/0x1a0 arch/x86/mm/fault.c:1492 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580 other info that might help us debug this: Chain exists of: console_owner --> &tty->read_wait --> &sighand->siglock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&sighand->siglock); lock(&tty->read_wait); lock(&sighand->siglock); lock(console_owner); *** DEADLOCK *** 1 lock held by syz-executor.0/23254: #0: ffff88800f2f2518 (&sighand->siglock){-.-.}-{2:2}, at: force_sig_info_to_task+0x6c/0x3a0 kernel/signal.c:1317 stack backtrace: CPU: 0 PID: 23254 Comm: syz-executor.0 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 check_noncircular+0x25f/0x2e0 kernel/locking/lockdep.c:2120 check_prev_add kernel/locking/lockdep.c:2871 [inline] check_prevs_add kernel/locking/lockdep.c:2996 [inline] validate_chain kernel/locking/lockdep.c:3611 [inline] __lock_acquire+0x2a48/0x5a80 kernel/locking/lockdep.c:4836 lock_acquire kernel/locking/lockdep.c:5446 [inline] lock_acquire+0x197/0x490 kernel/locking/lockdep.c:5411 console_trylock_spinning kernel/printk/printk.c:1852 [inline] vprintk_emit+0x303/0x4d0 kernel/printk/printk.c:2051 vprintk_func+0x8b/0x140 kernel/printk/printk_safe.c:401 printk+0xba/0xed kernel/printk/printk.c:2100 fail_dump lib/fault-inject.c:45 [inline] should_fail+0x472/0x5a0 lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 __sigqueue_alloc+0x23f/0x550 kernel/signal.c:435 __send_signal+0x5db/0x1030 kernel/signal.c:1116 force_sig_info_to_task+0x2a0/0x3a0 kernel/signal.c:1334 force_sig_fault_to_task kernel/signal.c:1673 [inline] force_sig_fault+0xb0/0xf0 kernel/signal.c:1680 __bad_area_nosemaphore+0x270/0x320 arch/x86/mm/fault.c:832 do_user_addr_fault+0x89c/0xc30 arch/x86/mm/fault.c:1342 handle_page_fault arch/x86/mm/fault.c:1436 [inline] exc_page_fault+0xa2/0x1a0 arch/x86/mm/fault.c:1492 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580 RIP: 0033:0x456651 Code: c1 e1 20 48 09 ca 48 0f bc d2 48 01 d0 48 29 f8 c3 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 1f fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 20 83 e1 RSP: 002b:00007fb8a876bfa8 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000000000000 RBP: 00007fb8a876c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fb8a876c000 R15: 0000000000000000 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 prepare_alloc_pages mm/page_alloc.c:4899 [inline] __alloc_pages_nodemask+0x182/0x680 mm/page_alloc.c:4941 alloc_pages_vma+0xbb/0x410 mm/mempolicy.c:2234 shmem_alloc_page+0x10f/0x1e0 mm/shmem.c:1565 shmem_alloc_and_acct_page mm/shmem.c:1590 [inline] shmem_getpage_gfp.constprop.0+0x50e/0x1920 mm/shmem.c:1893 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc4d6cb1f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000002020 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 0000000000000016 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000002000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 CPU: 0 PID: 23258 Comm: syz-executor.6 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 prepare_alloc_pages mm/page_alloc.c:4899 [inline] __alloc_pages_nodemask+0x182/0x680 mm/page_alloc.c:4941 alloc_pages_vma+0xbb/0x410 mm/mempolicy.c:2234 shmem_alloc_page+0x10f/0x1e0 mm/shmem.c:1565 shmem_alloc_and_acct_page mm/shmem.c:1590 [inline] shmem_getpage_gfp.constprop.0+0x50e/0x1920 mm/shmem.c:1893 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f6b1ea7af20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010c00 RDI: 0000000000000004 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000051400 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002a8 R15: 0000000000000007 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23262 Comm: syz-executor.2 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 xas_alloc+0x332/0x440 lib/xarray.c:374 xas_expand lib/xarray.c:581 [inline] xas_create+0x602/0x1030 lib/xarray.c:652 xas_create_range+0x194/0x5d0 lib/xarray.c:716 shmem_add_to_page_cache+0x760/0x1110 mm/shmem.c:705 shmem_getpage_gfp.constprop.0+0x646/0x1920 mm/shmem.c:1927 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f58ab1eff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000820 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 000000000000001d R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000c00 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 23266 Comm: syz-executor.4 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f96a482bf20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000001020 RSI: 0000000020010400 RDI: 0000000000000004 RBP: 0000000000000018 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000001000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000260 R15: 0000000000000004 ext4 filesystem being mounted at /syzkaller-testdir825157788/syzkaller.XrYiNg/98/file0 supports timestamps until 2038 (0x7fffffff) EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23286 Comm: syz-executor.0 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:535 [inline] slab_alloc_node mm/slub.c:2889 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x159/0x350 mm/slub.c:2902 __sigqueue_alloc+0x23f/0x550 kernel/signal.c:435 __send_signal+0x5db/0x1030 kernel/signal.c:1116 force_sig_info_to_task+0x2a0/0x3a0 kernel/signal.c:1334 force_sig_fault_to_task kernel/signal.c:1673 [inline] force_sig_fault+0xb0/0xf0 kernel/signal.c:1680 __bad_area_nosemaphore+0x270/0x320 arch/x86/mm/fault.c:832 do_user_addr_fault+0x89c/0xc30 arch/x86/mm/fault.c:1342 handle_page_fault arch/x86/mm/fault.c:1436 [inline] exc_page_fault+0xa2/0x1a0 arch/x86/mm/fault.c:1492 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580 RIP: 0033:0x456651 Code: c1 e1 20 48 09 ca 48 0f bc d2 48 01 d0 48 29 f8 c3 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 1f fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 20 83 e1 RSP: 002b:00007fb8a876bfa8 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000000000000 RBP: 00007fb8a876c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fb8a876c000 R15: 0000000000000000 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /syzkaller-testdir825157788/syzkaller.XrYiNg/99/file0 supports timestamps until 2038 (0x7fffffff) FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 23284 Comm: syz-executor.7 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc03f228f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000020 RSI: 0000000020010d00 RDI: 0000000000000004 RBP: 000000000000000a R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000004800 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002c0 R15: 0000000000000008 CPU: 1 PID: 23290 Comm: syz-executor.0 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 __copy_to_user include/linux/uaccess.h:144 [inline] save_xstate_epilog arch/x86/kernel/fpu/signal.c:95 [inline] copy_fpstate_to_sigframe+0x869/0xa80 arch/x86/kernel/fpu/signal.c:208 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 get_sigframe arch/x86/kernel/signal.c:274 [inline] __setup_rt_frame arch/x86/kernel/signal.c:450 [inline] setup_rt_frame arch/x86/kernel/signal.c:702 [inline] handle_signal arch/x86/kernel/signal.c:746 [inline] arch_do_signal+0xf8a/0x1a90 arch/x86/kernel/signal.c:791 exit_to_user_mode_loop kernel/entry/common.c:161 [inline] exit_to_user_mode_prepare+0xf7/0x160 kernel/entry/common.c:191 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:279 exc_page_fault+0xca/0x1a0 arch/x86/mm/fault.c:1495 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580 RIP: 0033:0x456651 Code: c1 e1 20 48 09 ca 48 0f bc d2 48 01 d0 48 29 f8 c3 0f 1f 84 00 00 00 00 00 89 f9 48 89 fa c5 f9 ef c0 83 e1 3f 83 f9 20 77 1f fd 74 0f c5 fd d7 c1 85 c0 0f 85 df 00 00 00 48 83 c7 20 83 e1 RSP: 002b:00007fb8a876bfa8 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000000000000 RBP: 00007fb8a876c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007fb8a876c000 R15: 0000000000000000 CPU: 0 PID: 23291 Comm: syz-executor.2 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:535 [inline] slab_alloc_node mm/slub.c:2889 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x159/0x350 mm/slub.c:2902 xas_alloc+0x332/0x440 lib/xarray.c:374 xas_expand lib/xarray.c:581 [inline] xas_create+0x602/0x1030 lib/xarray.c:652 xas_create_range+0x194/0x5d0 lib/xarray.c:716 shmem_add_to_page_cache+0x760/0x1110 mm/shmem.c:705 shmem_getpage_gfp.constprop.0+0x646/0x1920 mm/shmem.c:1927 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f58ab1eff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000820 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 000000000000001d R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000c00 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /syzkaller-testdir825157788/syzkaller.XrYiNg/100/file0 supports timestamps until 2038 (0x7fffffff) EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23314 Comm: syz-executor.7 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 prepare_alloc_pages mm/page_alloc.c:4899 [inline] __alloc_pages_nodemask+0x182/0x680 mm/page_alloc.c:4941 alloc_pages_vma+0xbb/0x410 mm/mempolicy.c:2234 shmem_alloc_page+0x10f/0x1e0 mm/shmem.c:1565 shmem_alloc_and_acct_page mm/shmem.c:1590 [inline] shmem_getpage_gfp.constprop.0+0x50e/0x1920 mm/shmem.c:1893 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc03f228f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010e00 RDI: 0000000000000004 RBP: 000000000000000a R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000007800 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002d8 R15: 0000000000000009 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23313 Comm: syz-executor.6 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 xas_alloc+0x332/0x440 lib/xarray.c:374 xas_expand lib/xarray.c:581 [inline] xas_create+0x602/0x1030 lib/xarray.c:652 xas_create_range+0x194/0x5d0 lib/xarray.c:716 shmem_add_to_page_cache+0x760/0x1110 mm/shmem.c:705 shmem_getpage_gfp.constprop.0+0x646/0x1920 mm/shmem.c:1927 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f6b1ea7af20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010c00 RDI: 0000000000000004 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000051400 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002a8 R15: 0000000000000007 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23324 Comm: syz-executor.2 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f58ab1eff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000820 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 000000000000001d R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000000c00 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23328 Comm: syz-executor.3 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc4d6cb1f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000002020 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 0000000000000016 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000002000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 CPU: 0 PID: 23331 Comm: syz-executor.4 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f96a482bf20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000040 RSI: 0000000020011500 RDI: 0000000000000004 RBP: 0000000000000018 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000002200 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 CPU: 1 PID: 23335 Comm: syz-executor.6 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:535 [inline] slab_alloc_node mm/slub.c:2889 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x159/0x350 mm/slub.c:2902 xas_alloc+0x332/0x440 lib/xarray.c:374 xas_expand lib/xarray.c:581 [inline] xas_create+0x602/0x1030 lib/xarray.c:652 xas_create_range+0x194/0x5d0 lib/xarray.c:716 shmem_add_to_page_cache+0x760/0x1110 mm/shmem.c:705 FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 shmem_getpage_gfp.constprop.0+0x646/0x1920 mm/shmem.c:1927 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f6b1ea7af20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010c00 RDI: 0000000000000004 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000051400 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002a8 R15: 0000000000000007 CPU: 0 PID: 23332 Comm: syz-executor.7 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc03f228f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010e00 RDI: 0000000000000004 RBP: 000000000000000a R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000007800 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002d8 R15: 0000000000000009 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23352 Comm: syz-executor.2 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f58ab1eff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000040 RSI: 0000000020010e00 RDI: 0000000000000004 RBP: 000000000000001d R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000001600 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000290 R15: 0000000000000006 CPU: 0 PID: 23355 Comm: syz-executor.6 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 should_failslab+0x5/0x10 mm/slab_common.c:1193 slab_pre_alloc_hook mm/slab.h:516 [inline] slab_alloc_node mm/slub.c:2814 [inline] slab_alloc mm/slub.c:2897 [inline] kmem_cache_alloc+0x5b/0x350 mm/slub.c:2902 xas_alloc+0x332/0x440 lib/xarray.c:374 xas_create+0x382/0x1030 lib/xarray.c:676 xas_create_range+0x194/0x5d0 lib/xarray.c:716 shmem_add_to_page_cache+0x760/0x1110 mm/shmem.c:705 shmem_getpage_gfp.constprop.0+0x646/0x1920 mm/shmem.c:1927 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /syzkaller-testdir825157788/syzkaller.XrYiNg/101/file0 supports timestamps until 2038 (0x7fffffff) __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f6b1ea7af20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000080 RSI: 0000000020010c00 RDI: 0000000000000004 RBP: 0000000000000008 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000051400 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002a8 R15: 0000000000000007 EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23361 Comm: syz-executor.3 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 prepare_alloc_pages mm/page_alloc.c:4899 [inline] __alloc_pages_nodemask+0x182/0x680 mm/page_alloc.c:4941 alloc_pages_vma+0xbb/0x410 mm/mempolicy.c:2234 shmem_alloc_page+0x10f/0x1e0 mm/shmem.c:1565 shmem_alloc_and_acct_page mm/shmem.c:1590 [inline] shmem_getpage_gfp.constprop.0+0x50e/0x1920 mm/shmem.c:1893 shmem_getpage mm/shmem.c:155 [inline] shmem_write_begin+0xf7/0x1d0 mm/shmem.c:2529 generic_perform_write+0x1fe/0x4d0 mm/filemap.c:3333 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007fc4d6cb1f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000002020 RSI: 0000000020010500 RDI: 0000000000000004 RBP: 0000000000000016 R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000002000 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 0000000020000278 R15: 0000000000000005 EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 0 CPU: 1 PID: 23377 Comm: syz-executor.2 Not tainted 5.10.49 #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 lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 fail_dump lib/fault-inject.c:52 [inline] should_fail.cold+0x5/0xa lib/fault-inject.c:146 copyin lib/iov_iter.c:155 [inline] iov_iter_copy_from_user_atomic+0x49b/0xc60 lib/iov_iter.c:1007 generic_perform_write+0x26d/0x4d0 mm/filemap.c:3341 __generic_file_write_iter+0x399/0x5d0 mm/filemap.c:3462 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 call_write_iter include/linux/fs.h:1903 [inline] new_sync_write+0x42c/0x660 fs/read_write.c:518 vfs_write+0x77f/0xa20 fs/read_write.c:605 ksys_pwrite64 fs/read_write.c:712 [inline] __do_sys_pwrite64 fs/read_write.c:722 [inline] __se_sys_pwrite64 fs/read_write.c:719 [inline] __x64_sys_pwrite64+0x1fd/0x250 fs/read_write.c:719 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x419777 Code: 08 89 3c 24 48 89 4c 24 18 e8 e5 f8 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 48 8b 74 24 08 8b 3c 24 b8 12 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 04 24 e8 15 f9 ff ff 48 8b RSP: 002b:00007f58ab1eff20 EFLAGS: 00000293 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 00000000004afcc0 RCX: 0000000000419777 RDX: 0000000000000020 RSI: 0000000020010f00 RDI: 0000000000000004 RBP: 000000000000001d R08: 0000000000000000 R09: ffffffffffffffff R10: 0000000000001680 R11: 0000000000000293 R12: 0000000000000004 R13: 0000000000000004 R14: 00000000200002a8 R15: 0000000000000007 EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue EXT4-fs (loop1): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /syzkaller-testdir825157788/syzkaller.XrYiNg/102/file0 supports timestamps until 2038 (0x7fffffff) EXT4-fs (loop2): mounted filesystem without journal. Opts: ,errors=continue