INFO: task syz-executor3:24081 blocked for more than 140 seconds. Not tainted 4.19.0+ #276 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23544 24081 5446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474 schedule+0xfe/0x460 kernel/sched/core.c:3518 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0x134a/0x5150 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:00007f267a254c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 000000000000275a RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a2556d4 R13: 00000000004c2b12 R14: 00000000004d4140 R15: 00000000ffffffff INFO: task syz-executor3:24110 blocked for more than 140 seconds. Not tainted 4.19.0+ #276 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24936 24110 5446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474 schedule+0xfe/0x460 kernel/sched/core.c:3518 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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_file_write_iter+0x30b/0x1420 fs/ext4/file.c:235 call_write_iter include/linux/fs.h:1808 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_pwrite64+0x181/0x1b0 fs/read_write.c:652 __do_sys_pwrite64 fs/read_write.c:662 [inline] __se_sys_pwrite64 fs/read_write.c:659 [inline] __x64_sys_pwrite64+0x97/0xf0 fs/read_write.c:659 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:00007f267a233c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000000001 RSI: 00000000200005c0 RDI: 0000000000000003 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a2346d4 R13: 00000000004c3189 R14: 00000000004d4c38 R15: 00000000ffffffff INFO: task syz-executor3:24111 blocked for more than 140 seconds. Not tainted 4.19.0+ #276 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D23544 24111 5446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474 schedule+0xfe/0x460 kernel/sched/core.c:3518 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0x134a/0x5150 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:00007f267a212c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 000000000000275a RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a2136d4 R13: 00000000004c2b12 R14: 00000000004d4140 R15: 00000000ffffffff INFO: task syz-executor3:24112 blocked for more than 140 seconds. Not tainted 4.19.0+ #276 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24936 24112 5446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474 schedule+0xfe/0x460 kernel/sched/core.c:3518 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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_file_write_iter+0x30b/0x1420 fs/ext4/file.c:235 call_write_iter include/linux/fs.h:1808 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 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:00007f267a1f1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000012 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a1f26d4 R13: 00000000004c5560 R14: 00000000004d8e98 R15: 00000000ffffffff INFO: task syz-executor3:24113 blocked for more than 140 seconds. Not tainted 4.19.0+ #276 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24680 24113 5446 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3474 schedule+0xfe/0x460 kernel/sched/core.c:3518 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 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+0x31b/0x2300 fs/ext4/extents.c:4957 vfs_fallocate+0x4b4/0x940 fs/open.c:308 ioctl_preallocate+0x1e8/0x300 fs/ioctl.c:482 file_ioctl fs/ioctl.c:498 [inline] do_vfs_ioctl+0x1435/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:00007f267a1d0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000380 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 000000000072c220 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a1d16d4 R13: 00000000004bf738 R14: 00000000004cf658 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/976: #0: 00000000b4f7676c (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5267: #0: 0000000089b46a8a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5357: #0: 00000000c1e3b48e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000008f0f16c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5358: #0: 00000000bda4243a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000ede03ec6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5359: #0: 00000000824b0542 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000686d40fe (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5360: #0: 000000000596679a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000468d0a0e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5361: #0: 000000005b2a3359 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000003ef5a38b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5362: #0: 00000000605c0099 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000bdf0daa6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5363: #0: 00000000f17153e8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000003a1329a7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 5 locks held by syz-executor3/24076: 2 locks held by syz-executor3/24081: #0: 00000000f385c088 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f385c088 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 000000004f298704 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000004f298704 (&sb->s_type->i_mutex_key#10){++++}, at: process_measurement+0x190f/0x1bf0 security/integrity/ima/ima_main.c:205 2 locks held by syz-executor3/24110: #0: 00000000f385c088 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #0: 00000000f385c088 (sb_writers#3){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #1: 000000004f298704 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 000000004f298704 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_file_write_iter+0x30b/0x1420 fs/ext4/file.c:235 2 locks held by syz-executor3/24111: #0: 00000000f385c088 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f385c088 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: process_measurement+0x190f/0x1bf0 security/integrity/ima/ima_main.c:205 3 locks held by syz-executor3/24112: #0: 0000000009514207 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 00000000f385c088 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #1: 00000000f385c088 (sb_writers#3){.+.+}, at: vfs_write+0x42a/0x560 fs/read_write.c:548 #2: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:738 [inline] #2: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_file_write_iter+0x30b/0x1420 fs/ext4/file.c:235 2 locks held by syz-executor3/24113: #0: 00000000f385c088 (sb_writers#3){.+.+}, at: file_start_write include/linux/fs.h:2761 [inline] #0: 00000000f385c088 (sb_writers#3){.+.+}, at: vfs_fallocate+0x72a/0x940 fs/open.c:307 #1: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 0000000097b8e114 (&sb->s_type->i_mutex_key#10){++++}, at: ext4_fallocate+0x31b/0x2300 fs/ext4/extents.c:4957 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 976 Comm: khungtaskd Not tainted 4.19.0+ #276 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.1+0x5c/0xa1 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:350 Sending NMI from CPU 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.128 msecs NMI backtrace for cpu 0 CPU: 0 PID: 24076 Comm: syz-executor3 Not tainted 4.19.0+ #276 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:179 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x26/0x50 kernel/kcov.c:101 Code: 5d c3 66 90 55 48 89 e5 48 8b 75 08 65 48 8b 04 25 40 ee 01 00 65 8b 15 a8 64 82 7e 81 e2 00 01 1f 00 75 2b 8b 90 d0 12 00 00 <83> fa 02 75 20 48 8b 88 d8 12 00 00 8b 80 d4 12 00 00 48 8b 11 48 RSP: 0018:ffff88019547f1b0 EFLAGS: 00000246 RAX: ffff88019ab66380 RBX: 00000000fffffff1 RCX: ffffffff821f537b RDX: 0000000000000002 RSI: ffffffff821f5389 RDI: 0000000000000004 RBP: ffff88019547f1b0 R08: ffff88019ab66380 R09: ffffed003b5c5b57 R10: ffffed003b5c5b57 R11: ffff8801dae2dabb R12: 0000000000008100 R13: 00000000a82230f0 R14: ffff8801cbe8d6b0 R15: ffff88019547f3e0 FS: 00007f267a276700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000da8978 CR3: 00000001c1223000 CR4: 00000000001406f0 Call Trace: get_ext_path fs/ext4/move_extent.c:31 [inline] mext_check_coverage.constprop.13+0x299/0x510 fs/ext4/move_extent.c:98 move_extent_per_page fs/ext4/move_extent.c:323 [inline] ext4_move_extents+0x2784/0x3c20 fs/ext4/move_extent.c:669 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: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f267a275c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000020000300 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f267a2766d4 R13: 00000000004bf5c9 R14: 00000000004cf460 R15: 00000000ffffffff