loop0: detected capacity change from 0 to 32768 ialloc: diAlloc returned -5! FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 1 CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 fail_dump lib/fault-inject.c:73 [inline] should_fail_ex+0x40c/0x560 lib/fault-inject.c:174 _inline_copy_to_user include/linux/uaccess.h:198 [inline] _copy_to_user+0x31/0xb0 lib/usercopy.c:24 copy_to_user include/linux/uaccess.h:230 [inline] copy_siginfo_to_user+0x22/0xc0 kernel/signal.c:3513 x64_setup_rt_frame+0x764/0xc50 arch/x86/kernel/signal_64.c:194 setup_rt_frame arch/x86/kernel/signal.c:250 [inline] handle_signal arch/x86/kernel/signal.c:294 [inline] arch_do_signal_or_restart+0x456/0x860 arch/x86/kernel/signal.c:339 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x2ba/0x8f0 kernel/entry/common.c:165 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x7fab4e97cdd8 Code: 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 89 f8 62 a1 fd 00 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 28 01 00 00 <62> f1 7d 20 74 07 c5 fb 93 c0 85 c0 74 1a 0f bc c0 c3 66 0f 1f 44 RSP: 002b:00007fab4adf4e18 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 00007fab4adf4ea0 RCX: 0000000000000000 RDX: 00000000000001ff RSI: 0000200000000800 RDI: 0000000000000000 RBP: 0000200000000080 R08: 0000200000000140 R09: 0000000000000000 R10: 0000200000000080 R11: 0000000000000246 R12: 0000200000000800 R13: 00007fab4adf4e60 R14: 0000000000000000 R15: 0000000000000000 ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_imap.c:2105:2 index 8592359 is out of range for type 'struct iagctl[128]' CPU: 0 UID: 0 PID: 5332 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xe8/0xf0 lib/ubsan.c:455 diAllocBit+0xb88/0xd30 fs/jfs/jfs_imap.c:2105 diAllocIno fs/jfs/jfs_imap.c:1844 [inline] diAllocAG+0x13f7/0x1de0 fs/jfs/jfs_imap.c:1676 diAlloc+0x1e2/0x16b0 fs/jfs/jfs_imap.c:1590 ialloc+0x8c/0x8e0 fs/jfs/jfs_inode.c:56 jfs_create+0x1d8/0xae0 fs/jfs/namei.c:93 lookup_open fs/namei.c:4508 [inline] open_last_lookups fs/namei.c:4608 [inline] path_openat+0x133a/0x3830 fs/namei.c:4860 do_file_open+0x23e/0x4a0 fs/namei.c:4892 file_open_name fs/open.c:1326 [inline] filp_open+0x16d/0x1d0 fs/open.c:1343 coredump_file fs/coredump.c:934 [inline] do_coredump fs/coredump.c:1104 [inline] vfs_coredump+0x2022/0x44b0 fs/coredump.c:1200 get_signal+0x1094/0x12c0 kernel/signal.c:3031 arch_do_signal_or_restart+0xbb/0x860 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop kernel/entry/common.c:101 [inline] __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] irqentry_exit_to_user_mode_prepare include/linux/irq-entry-common.h:244 [inline] irqentry_exit_to_user_mode include/linux/irq-entry-common.h:315 [inline] irqentry_exit+0x2ba/0x8f0 kernel/entry/common.c:165 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0033:0x7fab4e97cdd8 Code: 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 89 f8 62 a1 fd 00 ef c0 25 ff 0f 00 00 3d e0 0f 00 00 0f 87 28 01 00 00 <62> f1 7d 20 74 07 c5 fb 93 c0 85 c0 74 1a 0f bc c0 c3 66 0f 1f 44 RSP: 002b:00007fab4adf4e18 EFLAGS: 00010283 RAX: 0000000000000000 RBX: 00007fab4adf4ea0 RCX: 0000000000000000 RDX: 00000000000001ff RSI: 0000200000000800 RDI: 0000000000000000 RBP: 0000200000000080 R08: 0000200000000140 R09: 0000000000000000 R10: 0000200000000080 R11: 0000000000000246 R12: 0000200000000800 R13: 00007fab4adf4e60 R14: 0000000000000000 R15: 0000000000000000 ---[ end trace ]---