INFO: task syz-executor.1:20153 can't die for more than 143 seconds. task:syz-executor.1 state:D stack:26888 pid:20153 ppid: 3629 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:511 fuse_getxattr+0x235/0x420 fs/fuse/xattr.c:82 fuse_xattr_get+0x79/0xb0 fs/fuse/xattr.c:188 vfs_getxattr_alloc+0x1bc/0x350 fs/xattr.c:372 ima_read_xattr+0x31/0x70 security/integrity/ima/ima_appraise.c:221 process_measurement+0xcae/0x1920 security/integrity/ima/ima_main.c:319 ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:516 do_open fs/namei.c:3478 [inline] path_openat+0x1647/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fda33cc1059 RSP: 002b:00007fda32c36168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda33dd3f60 RCX: 00007fda33cc1059 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007fda33d1b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed4ce419f R14: 00007fda32c36300 R15: 0000000000022000 INFO: task syz-executor.1:20153 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26888 pid:20153 ppid: 3629 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:511 fuse_getxattr+0x235/0x420 fs/fuse/xattr.c:82 fuse_xattr_get+0x79/0xb0 fs/fuse/xattr.c:188 vfs_getxattr_alloc+0x1bc/0x350 fs/xattr.c:372 ima_read_xattr+0x31/0x70 security/integrity/ima/ima_appraise.c:221 process_measurement+0xcae/0x1920 security/integrity/ima/ima_main.c:319 ima_file_check+0xac/0x100 security/integrity/ima/ima_main.c:516 do_open fs/namei.c:3478 [inline] path_openat+0x1647/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fda33cc1059 RSP: 002b:00007fda32c36168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda33dd3f60 RCX: 00007fda33cc1059 RDX: 0000000000000000 RSI: 0000000020000180 RDI: ffffffffffffff9c RBP: 00007fda33d1b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed4ce419f R14: 00007fda32c36300 R15: 0000000000022000 INFO: task syz-executor.1:20161 can't die for more than 144 seconds. task:syz-executor.1 state:D stack:28344 pid:20161 ppid: 3629 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:511 fuse_send_open+0x200/0x2a0 fs/fuse/file.c:48 fuse_file_open+0x31f/0x630 fs/fuse/file.c:145 fuse_do_open fs/fuse/file.c:172 [inline] fuse_open_common+0x29c/0x500 fs/fuse/file.c:254 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fda33cc1059 RSP: 002b:00007fda32bf4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda33dd4100 RCX: 00007fda33cc1059 RDX: 0000000000080101 RSI: 000000002000c380 RDI: ffffffffffffff9c RBP: 00007fda33d1b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed4ce419f R14: 00007fda32bf4300 R15: 0000000000022000 INFO: task syz-executor.1:20161 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28344 pid:20161 ppid: 3629 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:407 __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:511 fuse_send_open+0x200/0x2a0 fs/fuse/file.c:48 fuse_file_open+0x31f/0x630 fs/fuse/file.c:145 fuse_do_open fs/fuse/file.c:172 [inline] fuse_open_common+0x29c/0x500 fs/fuse/file.c:254 do_dentry_open+0x4b9/0x1240 fs/open.c:957 do_open fs/namei.c:3476 [inline] path_openat+0x1c9e/0x2940 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1347 do_sys_open fs/open.c:1363 [inline] __do_sys_openat fs/open.c:1379 [inline] __se_sys_openat fs/open.c:1374 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fda33cc1059 RSP: 002b:00007fda32bf4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fda33dd4100 RCX: 00007fda33cc1059 RDX: 0000000000080101 RSI: 000000002000c380 RDI: ffffffffffffff9c RBP: 00007fda33d1b08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffed4ce419f R14: 00007fda32bf4300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: #0: ffff8880b9d39e58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:490 #1: ffff8880b9d27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 1 lock held by khungtaskd/26: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463 2 locks held by getty/3275: #0: ffff888023b49098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by syz-executor.1/20153: #0: ffff888073397500 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x3c6/0x1920 security/integrity/ima/ima_main.c:260 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220204-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:377 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: 4803 Comm: kworker/u4:17 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0xc/0x12 Code: 56 57 41 50 41 51 41 52 41 53 e8 af 15 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 90 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 02 5a c3 56 0f b6 f0 e8 c5 ff ff ff 5e 5a c3 66 90 48 b8 RSP: 0018:ffffc90004727bd8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff815dcb60 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88807afd4740 RBP: ffff88807afd4740 R08: 0000000000000000 R09: ffff88807afd4743 R10: ffffed100f5fa8e8 R11: 0000000000000000 R12: ffff88807afd4748 R13: ffff88807afd4750 R14: dffffc0000000000 R15: ffffffff88f30a70 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a5d3c9990 CR3: 000000007f4a9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 00000000b8fecd19 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:596 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:57 [inline] do_raw_spin_unlock+0x171/0x230 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:166 [inline] _raw_spin_unlock_bh+0x1a/0x30 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x930/0xfa0 net/batman-adv/network-coding.c:722 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 57 push %rdi 2: 41 50 push %r8 4: 41 51 push %r9 6: 41 52 push %r10 8: 41 53 push %r11 a: e8 af 15 00 00 callq 0x15be f: 41 5b pop %r11 11: 41 5a pop %r10 13: 41 59 pop %r9 15: 41 58 pop %r8 17: 5f pop %rdi 18: 5e pop %rsi 19: 5a pop %rdx 1a: 59 pop %rcx 1b: c3 retq 1c: 66 90 xchg %ax,%ax 1e: 52 push %rdx 1f: b8 01 00 00 00 mov $0x1,%eax 24: 31 d2 xor %edx,%edx 26: f0 0f b0 17 lock cmpxchg %dl,(%rdi) * 2a: 3c 01 cmp $0x1,%al <-- trapping instruction 2c: 75 02 jne 0x30 2e: 5a pop %rdx 2f: c3 retq 30: 56 push %rsi 31: 0f b6 f0 movzbl %al,%esi 34: e8 c5 ff ff ff callq 0xfffffffe 39: 5e pop %rsi 3a: 5a pop %rdx 3b: c3 retq 3c: 66 90 xchg %ax,%ax 3e: 48 rex.W 3f: b8 .byte 0xb8