INFO: task syz-executor.5:18460 blocked for more than 143 seconds. Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28288 pid:18460 tgid:18436 ppid:5116 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0x539/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:802 [inline] process_measurement+0x39e/0x2260 security/integrity/ima/ima_main.c:248 ima_file_check+0xc1/0x100 security/integrity/ima/ima_main.c:557 do_open fs/namei.c:3624 [inline] path_openat+0x779/0x2c40 fs/namei.c:3779 do_filp_open+0x1dc/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fb75b67cae9 RSP: 002b:00007fb75a1fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb75b79c050 RCX: 00007fb75b67cae9 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fb75b6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb75b79c050 R15: 00007fff450961d8 INFO: task syz-executor.5:18466 blocked for more than 144 seconds. Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28288 pid:18466 tgid:18436 ppid:5116 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0x539/0x1290 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:802 [inline] process_measurement+0x39e/0x2260 security/integrity/ima/ima_main.c:248 ima_file_check+0xc1/0x100 security/integrity/ima/ima_main.c:557 do_open fs/namei.c:3624 [inline] path_openat+0x779/0x2c40 fs/namei.c:3779 do_filp_open+0x1dc/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_openat fs/open.c:1471 [inline] __se_sys_openat fs/open.c:1466 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1466 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7fb75b67cae9 RSP: 002b:00007fb75a1dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb75b79c120 RCX: 00007fb75b67cae9 RDX: 0b00000000065808 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007fb75b6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fb75b79c120 R15: 00007fff450961d8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfad060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 1 lock held by udevd/4522: 2 locks held by getty/4824: #0: ffff888029eca0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc4/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.3/5112: 4 locks held by kworker/1:3/22473: #0: ffff888013071538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x78a/0x15e0 kernel/workqueue.c:2605 #1: ffffc90005e27d80 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7f4/0x15e0 kernel/workqueue.c:2606 #2: ffff88803f5380e0 (&type->s_umount_key#25){++++}-{3:3}, at: flush_old_commits+0x79/0x1f0 fs/reiserfs/super.c:97 #3: ffff888085010090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x78/0x100 fs/reiserfs/lock.c:27 2 locks held by kworker/0:0/6313: #0: ffff888013072938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x15e0 kernel/workqueue.c:2605 #1: ffffc90004dcfd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7f4/0x15e0 kernel/workqueue.c:2606 2 locks held by kworker/u4:5/12910: 4 locks held by syz-executor.5/18440: 2 locks held by syz-executor.5/18460: #0: ffff88803f538418 (sb_writers#14){.+.+}-{0:0}, at: do_open fs/namei.c:3615 [inline] #0: ffff88803f538418 (sb_writers#14){.+.+}-{0:0}, at: path_openat+0x1f8d/0x2c40 fs/namei.c:3779 #1: ffff8880863f82e0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff8880863f82e0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: process_measurement+0x39e/0x2260 security/integrity/ima/ima_main.c:248 1 lock held by syz-executor.5/18466: #0: ffff8880863f82e0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff8880863f82e0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: process_measurement+0x39e/0x2260 security/integrity/ima/ima_main.c:248 5 locks held by syz-executor.5/18474: #0: ffff888029b4fc48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x170 fs/file.c:1177 #1: ffff88803f538418 (sb_writers#14){.+.+}-{0:0}, at: ksys_write+0x12f/0x250 fs/read_write.c:637 #2: ffff8880863ffa20 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #2: ffff8880863ffa20 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: generic_file_write_iter+0x92/0x350 mm/filemap.c:4036 #3: ffff8880863ff7f8 (&ei->tailpack){+.+.}-{3:3}, at: reiserfs_vfs_truncate_file+0x1f/0x40 fs/reiserfs/file.c:132 #4: ffff888085010090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x78/0x100 fs/reiserfs/lock.c:27 1 lock held by syz-executor.5/20298: 5 locks held by syz-executor.3/20314: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 16880 Comm: kworker/0:1 Not tainted 6.6.0-rc7-next-20231027-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:__sanitizer_cov_trace_pc+0x33/0x60 kernel/kcov.c:207 Code: bf 7a 7e 65 8b 05 c5 bf 7a 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 fc 15 00 00 85 c0 74 2b 8b 82 d8 15 00 00 <83> f8 02 75 20 48 8b 8a e0 15 00 00 8b 92 dc 15 00 00 48 8b 01 48 RSP: 0018:ffffc90003937778 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81328869 RDX: ffff888024fa8000 RSI: ffffffff81328872 RDI: 0000000000000005 RBP: ffffc90003937818 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 1cc414bb2cb58dda R12: ffffc90003937788 R13: ffffffff81765810 R14: ffffc90003937848 R15: ffff888024fa8000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002002a000 CR3: 000000007e4ea000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x112/0x170 arch/x86/kernel/stacktrace.c:22 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x24/0x30 mm/kasan/common.c:52 __kasan_slab_alloc+0x81/0x90 mm/kasan/common.c:328 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook mm/slab.h:763 [inline] slab_alloc_node mm/slub.c:3478 [inline] kmem_cache_alloc_node+0x180/0x3d0 mm/slub.c:3523 __alloc_skb+0x287/0x330 net/core/skbuff.c:641 alloc_skb include/linux/skbuff.h:1286 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x29e/0xc70 drivers/net/netdevsim/dev.c:850 process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242