INFO: task syz-executor.0:16722 blocked for more than 143 seconds. Not tainted 5.14.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23696 pid:16722 ppid: 12298 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5940 schedule+0x14b/0x210 kernel/sched/core.c:6019 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 ima_file_check+0xdb/0x130 security/integrity/ima/ima_main.c:499 do_open fs/namei.c:3376 [inline] path_openat+0x284a/0x36b0 fs/namei.c:3507 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5b0f9b8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665e9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffc2fbbbe5f R14: 00007f5b0f9b8300 R15: 0000000000022000 INFO: task syz-executor.0:16723 blocked for more than 143 seconds. Not tainted 5.14.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24816 pid:16723 ppid: 12298 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5940 schedule+0x14b/0x210 kernel/sched/core.c:6019 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 ima_file_check+0xdb/0x130 security/integrity/ima/ima_main.c:499 do_open fs/namei.c:3376 [inline] path_openat+0x284a/0x36b0 fs/namei.c:3507 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5b0f997188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c260 RCX: 00000000004665e9 RDX: 000000000000275a RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c260 R13: 00007ffc2fbbbe5f R14: 00007f5b0f997300 R15: 0000000000022000 INFO: task syz-executor.0:16724 blocked for more than 144 seconds. Not tainted 5.14.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24976 pid:16724 ppid: 12298 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4683 [inline] __schedule+0xc07/0x11f0 kernel/sched/core.c:5940 schedule+0x14b/0x210 kernel/sched/core.c:6019 rwsem_down_write_slowpath+0xec7/0x14c0 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 ima_file_check+0xdb/0x130 security/integrity/ima/ima_main.c:499 do_open fs/namei.c:3376 [inline] path_openat+0x284a/0x36b0 fs/namei.c:3507 do_filp_open+0x253/0x4d0 fs/namei.c:3534 do_sys_openat2+0x124/0x460 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_openat fs/open.c:1236 [inline] __se_sys_openat fs/open.c:1231 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1231 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 RSP: 002b:00007f5b0f976188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056c318 RCX: 00000000004665e9 RDX: 0000000000007a05 RSI: 0000000020000340 RDI: ffffffffffffff9c RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001700 R11: 0000000000000246 R12: 000000000056c318 R13: 00007ffc2fbbbe5f R14: 00007f5b0f976300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1623: #0: ffffffff8c7177c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by systemd-journal/4856: 2 locks held by in:imklog/8119: #0: ffff88802334fc70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 #1: ffff8880b9c514d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:460 [inline] #1: ffff8880b9c514d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1307 [inline] #1: ffff8880b9c514d8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1610 [inline] #1: ffff8880b9c514d8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x150/0x11f0 kernel/sched/core.c:5854 2 locks held by agetty/8146: #0: ffff888028970098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90000fa82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1c30 drivers/tty/n_tty.c:2113 3 locks held by syz-executor.0/16691: #0: ffff888148848460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write_file+0x5a/0x1f0 fs/namespace.c:419 #1: ffff88807c17c058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff88807c17c058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: lock_two_nondirectories+0xdc/0x130 fs/inode.c:1038 #2: ffff888087c84058 (&sb->s_type->i_mutex_key#9/4){+.+.}-{3:3}, at: ext4_move_extents+0x347/0x16f0 fs/ext4/move_extent.c:603 2 locks held by syz-executor.0/16722: #0: ffff888148848460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff88807c17c058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff88807c17c058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 2 locks held by syz-executor.0/16723: #0: ffff888148848460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888087c84058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888087c84058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 2 locks held by syz-executor.0/16724: #0: ffff888148848460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff888087c84058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888087c84058 (&sb->s_type->i_mutex_key#9){++++}-{3:3}, at: process_measurement+0x3ad/0x1ba0 security/integrity/ima/ima_main.c:234 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1623 Comm: khungtaskd Not tainted 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1d3/0x29f lib/dump_stack.c:105 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xd06/0xd50 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14964 Comm: kworker/0:19 Not tainted 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:put_unaligned_le32 include/asm-generic/unaligned.h:47 [inline] RIP: 0010:chacha_block_generic+0x567/0x1300 lib/crypto/chacha.c:86 Code: 4d 8d 65 2f 48 89 d8 48 c1 e8 03 42 8a 04 38 84 c0 0f 85 a3 09 00 00 4c 89 e0 48 c1 e8 03 42 8a 04 38 84 c0 0f 85 bc 09 00 00 <44> 89 33 48 8d 7e 30 48 89 f8 48 c1 e8 03 42 8a 04 38 84 c0 0f 85 RSP: 0018:ffffc9000249f920 EFLAGS: 00000046 RAX: 1ffff92000493f00 RBX: ffffc9000249facc RCX: 00000000695add10 RDX: ffff8880111ace00 RSI: ffffc9000249f960 RDI: ffffc9000249f98c RBP: ffffc9000249fa10 R08: 00000000615c76ab R09: ffffc9000249f99c R10: 000000009ad19ca0 R11: 00000000b1ccfbf6 R12: ffffc9000249facf R13: ffffc9000249faa0 R14: 000000005dde814f R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f989dfce000 CR3: 0000000020ce1000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: chacha20_block include/crypto/chacha.h:36 [inline] _extract_crng+0x283/0x350 drivers/char/random.c:1000 extract_crng drivers/char/random.c:1016 [inline] _get_random_bytes+0x1b4/0x230 drivers/char/random.c:1538 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:691 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:721 [inline] nsim_dev_trap_report_work+0x688/0xb20 drivers/net/netdevsim/dev.c:762 process_one_work+0x833/0x10c0 kernel/workqueue.c:2276 worker_thread+0xac1/0x1320 kernel/workqueue.c:2422 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295