RAX: ffffffffffffffda RBX: 00007f7bfbf72c90 RCX: 0000000000457569 RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7bfbf736d4 R13: 00000000004bf5c9 R14: 00000000004cf460 R15: 0000000000000005 INFO: task syz-executor3:26094 blocked for more than 140 seconds. Not tainted 4.19.0-rc8+ #62 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23736 26094 5483 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] process_measurement+0x190f/0x1bf0 security/integrity/ima/ima_main.c:205 ima_file_check+0xe5/0x130 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3422 [inline] path_openat+0x134d/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007f8785505c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87855066d4 R13: 00000000004c2b12 R14: 00000000004d4140 R15: 00000000ffffffff INFO: task syz-executor3:26097 blocked for more than 140 seconds. Not tainted 4.19.0-rc8+ #62 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23752 26097 5483 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] process_measurement+0xc3e/0x1bf0 security/integrity/ima/ima_main.c:205 ima_file_check+0xe5/0x130 security/integrity/ima/ima_main.c:391 do_last fs/namei.c:3422 [inline] path_openat+0x134d/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 ksys_open include/linux/syscalls.h:1276 [inline] __do_sys_creat fs/open.c:1121 [inline] __se_sys_creat fs/open.c:1119 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1119 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007f87854e4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87854e56d4 R13: 00000000004bdb2f R14: 00000000004cc688 R15: 00000000ffffffff INFO: task syz-executor3:26098 blocked for more than 140 seconds. Not tainted 4.19.0-rc8+ #62 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D25496 26098 5483 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] ext4_fallocate+0x921/0x2300 fs/ext4/extents.c:4957 vfs_fallocate+0x4b4/0x940 fs/open.c:308 ksys_fallocate+0x56/0x90 fs/open.c:331 __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x97/0xf0 fs/open.c:337 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007f87854c3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000010000 R11: 0000000000000246 R12: 00007f87854c46d4 R13: 00000000004bdc08 R14: 00000000004cc868 R15: 00000000ffffffff INFO: task syz-executor3:26100 blocked for more than 140 seconds. Not tainted 4.19.0-rc8+ #62 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23624 26100 5483 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] ext4_fallocate+0x921/0x2300 fs/ext4/extents.c:4957 vfs_fallocate+0x4b4/0x940 fs/open.c:308 ksys_fallocate+0x56/0x90 fs/open.c:331 __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0x97/0xf0 fs/open.c:337 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007f87854a2c78 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000009edf RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000800 R11: 0000000000000246 R12: 00007f87854a36d4 R13: 00000000004bdc08 R14: 00000000004cc868 R15: 00000000ffffffff INFO: task syz-executor3:26101 blocked for more than 140 seconds. Not tainted 4.19.0-rc8+ #62 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23472 26101 5483 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0xbb9/0x1670 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] lock_two_nondirectories+0xfb/0x120 fs/inode.c:1007 ext4_move_extents+0x74f/0x3c20 fs/ext4/move_extent.c:599 ext4_ioctl+0x3154/0x4210 fs/ext4/ioctl.c:799 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007f8785481c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 000000000072c220 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f87854826d4 R13: 00000000004bf5c9 R14: 00000000004cf460 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 000000006b8e6200 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/5282: #0: 00000000b2b69fe7 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5373: #0: 00000000a4d06572 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c9fe9637 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5374: #0: 00000000f9f2f5f9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008d3f6a3e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5375: #0: 00000000f6758eae (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000067d20596 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5376: #0: 000000000a36ce62 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000937764bc (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5377: #0: 00000000b3778eb7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000353dd728 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5378: #0: 00000000fcefc5f2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000efd3c345 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5379: #0: 00000000b2fd8b2c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000220d20d2 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 5 locks held by syz-executor3/26037: 2 locks held by syz-executor3/26094: #0: 000000006dea4654 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 000000006dea4654 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: process_measurement+0x190f/0x1bf0 security/integrity/ima/ima_main.c:205 2 locks held by syz-executor3/26097: #0: 000000006dea4654 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 000000006dea4654 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 00000000a34db157 (&sb->s_type->i_mutex_key#9){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 00000000a34db157 (&sb->s_type->i_mutex_key#9){+.+.}, at: process_measurement+0xc3e/0x1bf0 security/integrity/ima/ima_main.c:205 2 locks held by syz-executor3/26098: #0: 000000006dea4654 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #0: 000000006dea4654 (sb_writers#3){.+.+}, at: vfs_fallocate+0x72a/0x940 fs/open.c:307 #1: 00000000a34db157 (&sb->s_type->i_mutex_key#9){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 00000000a34db157 (&sb->s_type->i_mutex_key#9){+.+.}, at: ext4_fallocate+0x921/0x2300 fs/ext4/extents.c:4957 2 locks held by syz-executor3/26100: #0: 000000006dea4654 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #0: 000000006dea4654 (sb_writers#3){.+.+}, at: vfs_fallocate+0x72a/0x940 fs/open.c:307 #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: ext4_fallocate+0x921/0x2300 fs/ext4/extents.c:4957 2 locks held by syz-executor3/26101: #0: 000000006dea4654 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 000000006dea4654 (sb_writers#3){.+.+}, at: mnt_want_write_file+0x68/0x110 fs/namespace.c:418 #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000001d5e20f0 (&sb->s_type->i_mutex_key#9){+.+.}, at: lock_two_nondirectories+0xfb/0x120 fs/inode.c:1007 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc8+ #62 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5411 Comm: syz-fuzzer Not tainted 4.19.0-rc8+ #62 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x412659 Code: 00 48 89 04 24 48 c7 44 24 08 22 00 00 00 e8 7e 92 01 00 0f 0b e8 07 79 04 00 e9 c2 fe ff ff cc cc 64 48 8b 0c 25 f8 ff ff ff <48> 3b 61 10 0f 86 7f 04 00 00 48 83 ec 50 48 89 6c 24 48 48 8d 6c RSP: 002b:000000c4203ede78 EFLAGS: 00000206 RAX: 000000c420000000 RBX: 000000c41f4aca60 RCX: 000000c420057800 RDX: 000000c43d860000 RSI: 000000c436a6b3c0 RDI: 0000000000000028 RBP: 000000c4203edf18 R08: 0000000000000001 R09: 0000000000007940 R10: 0000000000000040 R11: 000000c436a72d00 R12: 000000c43d78cf98 R13: 0000000000000007 R14: 0000000000b7e140 R15: 000000000000d0f3 FS: 000000c4200863e8 GS: 0000000000000000