INFO: task syz-executor.5:18402 blocked for more than 140 seconds. Not tainted 4.19.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28712 18402 8127 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 request_wait_answer+0x3dc/0x750 fs/fuse/dev.c:485 __fuse_request_send+0x123/0x1c0 fs/fuse/dev.c:505 fuse_simple_request+0x2e6/0x820 fs/fuse/dev.c:576 fuse_access+0x21b/0x2f0 fs/fuse/dir.c:1092 fuse_permission+0x33c/0x5a0 fs/fuse/dir.c:1164 do_inode_permission fs/namei.c:386 [inline] inode_permission.part.0+0x276/0x450 fs/namei.c:451 inode_permission+0x35/0x140 fs/namei.c:406 ksys_chdir+0xc9/0x1d0 fs/open.c:462 __do_sys_chdir fs/open.c:480 [inline] __se_sys_chdir fs/open.c:478 [inline] __x64_sys_chdir+0x2d/0x40 fs/open.c:478 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: Bad RIP value. RSP: 002b:00007f7dd64a6188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd7815c8cf R14: 00007f7dd64a6300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 00000000903dde5e (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by systemd-journal/4694: #0: 00000000b442e6dc (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1824 [inline] #0: 00000000b442e6dc (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 1 lock held by in:imklog/7737: #0: 0000000088622533 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/7805: ISO 9660 Extensions: Microsoft Joliet Level 3 #0: 00000000b011ec68 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 000000006f15aa35 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 3 locks held by kworker/u4:1/13525: 2 locks held by syz-executor.5/16901: #0: 000000005b3e123a (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #0: 000000005b3e123a (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #1: 000000007044cfb1 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 3 locks held by syz-executor.5/17201: #0: 00000000e83f96d3 (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000e83f96d3 (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000008e337237 (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 000000008e337237 (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 00000000b5d1a164 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. 3 locks held by syz-executor.5/17337: #0: 000000001468020c (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000001468020c (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. #1: 0000000062e08281 (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000062e08281 (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 0000000023b6341e (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 3 locks held by syz-executor.5/17501: #0: 000000007fa1eea0 (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000007fa1eea0 (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000043309a7b (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 0000000043309a7b (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 0000000082b472e8 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 3 locks held by syz-executor.5/18262: #0: 000000004f926e8a (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000004f926e8a (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000897b9916 (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000897b9916 (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 00000000c48e35e4 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 3 locks held by syz-executor.5/18668: #0: 000000002f585d4f (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000002f585d4f (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000009b6c51d4 (&type->i_mutex_dir_key#9/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 000000009b6c51d4 (&type->i_mutex_dir_key#9/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 000000000b693f70 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 3 locks held by syz-executor.3/27939: #0: 00000000815722d1 (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000815722d1 (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000dd1f327a (&type->i_mutex_dir_key#10){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #1: 00000000dd1f327a (&type->i_mutex_dir_key#10){++++}, at: do_last fs/namei.c:3326 [inline] #1: 00000000dd1f327a (&type->i_mutex_dir_key#10){++++}, at: path_openat+0x17ec/0x2df0 fs/namei.c:3537 #2: 00000000f754f49f (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 2 locks held by syz-executor.3/28200: #0: 000000007496dfd3 (&type->i_mutex_dir_key#10){++++}, at: inode_lock_shared include/linux/fs.h:758 [inline] #0: 000000007496dfd3 (&type->i_mutex_dir_key#10){++++}, at: lookup_slow fs/namei.c:1688 [inline] #0: 000000007496dfd3 (&type->i_mutex_dir_key#10){++++}, at: walk_component+0x798/0xda0 fs/namei.c:1811 #1: 00000000e23d0133 (&fi->mutex){+.+.}, at: fuse_lock_inode+0xaf/0xe0 fs/fuse/inode.c:365 2 locks held by syz-executor.3/28250: #0: 00000000b343ee7e (sb_writers#23){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000b343ee7e (sb_writers#23){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000c85cbb32 (&type->i_mutex_dir_key#10){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000c85cbb32 (&type->i_mutex_dir_key#10){++++}, at: chown_common+0x2d0/0x550 fs/open.c:648 1 lock held by syz-executor.3/28817: #0: 00000000591ed38d (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: 00000000591ed38d (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.203-syzkaller #0 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+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ISO 9660 Extensions: Microsoft Joliet Level 3 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9719 Comm: kworker/u4:8 Not tainted 4.19.203-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x19f/0x3ff0 kernel/locking/lockdep.c:3275 Code: 4c 89 f7 e8 c3 92 ff ff 48 85 c0 0f 85 b5 00 00 00 45 31 ff 48 b8 00 00 00 00 00 fc ff df 48 03 44 24 08 48 c7 00 00 00 00 00 <48> c7 40 08 00 00 00 00 c7 40 18 00 00 00 00 48 8b 84 24 90 01 00 RSP: 0018:ffff88804883fa68 EFLAGS: 00000086 RAX: ffffed1009107f60 RBX: 2dd150d81d9d9e89 RCX: 9c1f49bc7908dbe0 RDX: 1ffff11009106160 RSI: 0000000005498b2d RDI: 0000000000000000 RBP: 0000000000000000 R08: 000000005f736fb7 R09: 0000000000000002 R10: ffff888048830b58 R11: 0000000000000000 R12: 9c1f49bc7908dbe0 R13: ffff888048830280 R14: ffff888048830b70 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff30f529028 CR3: 000000009672e000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x12d/0xd50 net/batman-adv/network-coding.c:730 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 ---------------- Code disassembly (best guess): 0: 4c 89 f7 mov %r14,%rdi 3: e8 c3 92 ff ff callq 0xffff92cb 8: 48 85 c0 test %rax,%rax b: 0f 85 b5 00 00 00 jne 0xc6 11: 45 31 ff xor %r15d,%r15d 14: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1b: fc ff df 1e: 48 03 44 24 08 add 0x8(%rsp),%rax 23: 48 c7 00 00 00 00 00 movq $0x0,(%rax) 2a: 48 c7 40 08 00 00 00 movq $0x0,0x8(%rax) <-- trapping instruction 31: 00 32: c7 40 18 00 00 00 00 movl $0x0,0x18(%rax) 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 84 24 90 test %ah,(%rax,%rdx,4) 3e: 01 00 add %eax,(%rax)