bisecting fixing commit since 6500aa436df40a46998f7a56a32e8199a3513e6d building syzkaller on 442206d76b974cca2d83ec763d4cf5ee829eb7d6 testing commit 6500aa436df40a46998f7a56a32e8199a3513e6d with gcc (GCC) 8.1.0 kernel signature: 04e4de4dc83cd9e68c5aad3692d963ae6ad161d7 all runs: crashed: INFO: task hung in __fuse_request_send testing current HEAD dcd888983542055210f5e68f1b1f1f8fe11a369a testing commit dcd888983542055210f5e68f1b1f1f8fe11a369a with gcc (GCC) 8.1.0 kernel signature: 8b6f3786da9c1ea8483f2e43e0f5d068e1469e9d all runs: crashed: INFO: task hung in __fuse_request_send revisions tested: 2, total time: 29m32.585588685s (build: 17m16.372143277s, test: 11m42.397816964s) the crash still happens on HEAD commit msg: Linux 4.19.95 crash: INFO: task hung in __fuse_request_send IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready 8021q: adding VLAN 0 to HW filter on device batadv0 INFO: task syz-executor.2:7179 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27416 7179 7151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 request_wait_answer+0x2fe/0x620 fs/fuse/dev.c:485 __fuse_request_send+0xff/0x190 fs/fuse/dev.c:505 fuse_request_send+0x41/0x80 fs/fuse/dev.c:518 fuse_simple_request+0x2b4/0x610 fs/fuse/dev.c:576 fuse_lookup_name+0x244/0x590 fs/fuse/dir.c:330 fuse_lookup+0xf3/0x3b0 fs/fuse/dir.c:368 __lookup_slow+0x216/0x400 fs/namei.c:1671 lookup_slow+0x51/0x70 fs/namei.c:1688 walk_component+0x694/0x2320 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.44+0x180/0x850 fs/namei.c:2318 filename_lookup.part.58+0x160/0x360 fs/namei.c:2348 filename_lookup fs/namei.c:2341 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3128 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007ff4aba29c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4aba2a6d4 R13: 00000000004e52fb R14: 00000000004de648 R15: 00000000ffffffff INFO: task syz-executor.2:7180 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28616 7180 7151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 fuse_notify_delete fs/fuse/dev.c:1568 [inline] fuse_notify fs/fuse/dev.c:1802 [inline] fuse_dev_do_write+0xb7d/0x2350 fs/fuse/dev.c:1877 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1961 call_write_iter include/linux/fs.h:1820 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007ff4aba08c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4aba096d4 R13: 00000000004c8aa3 R14: 00000000004df6e0 R15: 00000000ffffffff INFO: task syz-executor.2:7181 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28696 7181 7151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] lock_mount+0x82/0x290 fs/namespace.c:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007ff4ab9e7c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007ff4ab9e86d4 R13: 00000000004c570b R14: 00000000004d9aa0 R15: 00000000ffffffff INFO: task syz-executor.2:7193 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27720 7193 7151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] lock_mount+0x82/0x290 fs/namespace.c:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007ff4ab9a5c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 000000000075c1c0 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4ab9a66d4 R13: 00000000004c56df R14: 00000000004d9b60 R15: 00000000ffffffff INFO: task syz-executor.2:7194 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29144 7194 7151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21c/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:757 [inline] lookup_slow+0x43/0x70 fs/namei.c:1687 walk_component+0x694/0x2320 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.44+0x180/0x850 fs/namei.c:2318 filename_lookup.part.58+0x160/0x360 fs/namei.c:2348 filename_lookup fs/namei.c:2341 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3128 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007ff4ab984c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075c268 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff4ab9856d4 R13: 00000000004e52fb R14: 00000000004de648 R15: 00000000ffffffff INFO: task syz-executor.1:7184 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27784 7184 7152 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 request_wait_answer+0x2fe/0x620 fs/fuse/dev.c:485 __fuse_request_send+0xff/0x190 fs/fuse/dev.c:505 fuse_request_send+0x41/0x80 fs/fuse/dev.c:518 fuse_simple_request+0x2b4/0x610 fs/fuse/dev.c:576 fuse_lookup_name+0x244/0x590 fs/fuse/dir.c:330 fuse_lookup+0xf3/0x3b0 fs/fuse/dir.c:368 __lookup_slow+0x216/0x400 fs/namei.c:1671 lookup_slow+0x51/0x70 fs/namei.c:1688 walk_component+0x694/0x2320 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.44+0x180/0x850 fs/namei.c:2318 filename_lookup.part.58+0x160/0x360 fs/namei.c:2348 filename_lookup fs/namei.c:2341 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3128 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007f6fc0154c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fc01556d4 R13: 00000000004e52fb R14: 00000000004de648 R15: 00000000ffffffff INFO: task syz-executor.1:7185 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28920 7185 7152 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 fuse_notify_delete fs/fuse/dev.c:1568 [inline] fuse_notify fs/fuse/dev.c:1802 [inline] fuse_dev_do_write+0xb7d/0x2350 fs/fuse/dev.c:1877 fuse_dev_write+0x12a/0x1b0 fs/fuse/dev.c:1961 call_write_iter include/linux/fs.h:1820 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x443/0x890 fs/read_write.c:487 vfs_write+0x150/0x4d0 fs/read_write.c:549 ksys_write+0x103/0x260 fs/read_write.c:599 __do_sys_write fs/read_write.c:611 [inline] __se_sys_write fs/read_write.c:608 [inline] __x64_sys_write+0x6e/0xb0 fs/read_write.c:608 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007f6fc0133c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9 RDX: 000000000000002e RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fc01346d4 R13: 00000000004c8aa3 R14: 00000000004df6e0 R15: 00000000ffffffff INFO: task syz-executor.1:7186 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28824 7186 7152 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] lock_mount+0x82/0x290 fs/namespace.c:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007f6fc0112c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9 RDX: 0000000020000000 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 00007f6fc01136d4 R13: 00000000004c570b R14: 00000000004d9aa0 R15: 00000000ffffffff INFO: task syz-executor.1:7208 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26312 7208 7152 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x5c6/0xbf0 kernel/locking/rwsem-xadd.c:618 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+0x53/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:747 [inline] lock_mount+0x82/0x290 fs/namespace.c:2039 do_add_mount+0x22/0x310 fs/namespace.c:2416 do_new_mount fs/namespace.c:2483 [inline] do_mount+0x1290/0x2410 fs/namespace.c:2799 ksys_mount+0xba/0xe0 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3026 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007f6fc00f1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00000000004592c9 RDX: 0000000020000240 RSI: 0000000020000200 RDI: 0000000000000000 RBP: 000000000075c118 R08: 0000000020000400 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fc00f26d4 R13: 00000000004c56df R14: 00000000004d9b60 R15: 00000000ffffffff INFO: task syz-executor.1:7209 blocked for more than 140 seconds. Not tainted 4.19.95-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29144 7209 7152 0x00000004 Call Trace: context_switch kernel/sched/core.c:2826 [inline] __schedule+0x78c/0x1c10 kernel/sched/core.c:3515 schedule+0x7f/0x1b0 kernel/sched/core.c:3559 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x21c/0x3e0 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x49/0xb0 kernel/locking/rwsem.c:26 inode_lock_shared include/linux/fs.h:757 [inline] lookup_slow+0x43/0x70 fs/namei.c:1687 walk_component+0x694/0x2320 fs/namei.c:1810 lookup_last fs/namei.c:2273 [inline] path_lookupat.isra.44+0x180/0x850 fs/namei.c:2318 filename_lookup.part.58+0x160/0x360 fs/namei.c:2348 filename_lookup fs/namei.c:2341 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2608 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xbe/0x150 fs/stat.c:185 vfs_stat include/linux/fs.h:3128 [inline] __do_sys_newstat+0x85/0xe0 fs/stat.c:337 __se_sys_newstat fs/stat.c:333 [inline] __x64_sys_newstat+0x4f/0x70 fs/stat.c:333 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4592c9 Code: Bad RIP value. RSP: 002b:00007f6fc00d0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00000000004592c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000580 RBP: 000000000075c1c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6fc00d16d4 R13: 00000000004e52fb R14: 00000000004de648 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1037: #0: 0000000047272851 (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4438 1 lock held by rsyslogd/6911: #0: 0000000068d4f60d (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xa7/0xd0 fs/file.c:767 2 locks held by getty/7033: #0: 000000008ffcf9f3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000001d2186c1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7034: #0: 000000005b829476 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000aa894feb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7035: #0: 000000004c308112 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000a543f442 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7036: #0: 00000000ffb51a07 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 000000009af066d8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7037: #0: 00000000336a2253 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000ab5e177a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7038: #0: 000000008214793d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000f1f457ff (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by getty/7039: #0: 000000004388f07f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x2d/0x40 drivers/tty/tty_ldsem.c:362 #1: 00000000d6d27f37 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x1ee/0x1910 drivers/tty/n_tty.c:2154 2 locks held by syz-executor.2/7179: #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 0000000050c39dda (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.2/7180: #0: 00000000d3d0f026 (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 00000000d3d0f026 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 00000000d3d0f026 (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.2/7181: #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.2/7193: #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.2/7194: #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000067d921be (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 2 locks held by syz-executor.1/7184: #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 0000000090a6b2ef (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.1/7185: #0: 00000000ef46a3fd (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 00000000ef46a3fd (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 00000000ef46a3fd (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.1/7186: #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.1/7208: #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.1/7209: #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 0000000089fcdc56 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 2 locks held by syz-executor.0/7189: #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 0000000076558033 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.0/7190: #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.0/7191: #0: 00000000b47eb840 (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 00000000b47eb840 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 00000000b47eb840 (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.0/7215: #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.0/7216: #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000b0347bdb (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 2 locks held by syz-executor.3/7198: #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 000000002aa3e060 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.3/7199: #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.3/7200: #0: 000000000d1fec79 (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 000000000d1fec79 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 000000000d1fec79 (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.3/7219: #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.3/7220: #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000412244d1 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 2 locks held by syz-executor.5/7203: #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 0000000042a8621d (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 2 locks held by syz-executor.5/7207: #0: 00000000461e22c1 (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 00000000461e22c1 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 00000000461e22c1 (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.5/7213: #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.5/7224: #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.5/7225: #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 000000002fe14570 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 2 locks held by syz-executor.4/7206: #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 #1: 0000000074c0d526 (&fi->mutex){+.+.}, at: fuse_lock_inode+0x9a/0xc0 fs/fuse/inode.c:365 1 lock held by syz-executor.4/7212: #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 2 locks held by syz-executor.4/7214: #0: 00000000646e6105 (&fc->killsb){++++}, at: fuse_notify_delete fs/fuse/dev.c:1565 [inline] #0: 00000000646e6105 (&fc->killsb){++++}, at: fuse_notify fs/fuse/dev.c:1802 [inline] #0: 00000000646e6105 (&fc->killsb){++++}, at: fuse_dev_do_write+0x19c5/0x2350 fs/fuse/dev.c:1877 #1: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #1: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: fuse_reverse_inval_entry+0x9a/0x5d0 fs/fuse/dir.c:987 1 lock held by syz-executor.4/7227: #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock include/linux/fs.h:747 [inline] #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: lock_mount+0x82/0x290 fs/namespace.c:2039 1 lock held by syz-executor.4/7228: #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: inode_lock_shared include/linux/fs.h:757 [inline] #0: 00000000ad02f2d6 (&type->i_mutex_dir_key#8){++++}, at: lookup_slow+0x43/0x70 fs/namei.c:1687 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1037 Comm: khungtaskd Not tainted 4.19.95-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+0x123/0x177 lib/dump_stack.c:118 nmi_cpu_backtrace.cold.4+0x3e/0x76 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0xe6/0x11a 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x5c3/0xb40 kernel/hung_task.c:287 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.95-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+0x1f8/0x4980 kernel/locking/lockdep.c:3293 Code: c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 28 32 00 00 49 81 7d 00 60 a1 ea 88 0f 84 4a ff ff ff <83> fe 01 0f 87 4d ff ff ff 48 b8 00 00 00 00 00 fc ff df 89 f3 49 RSP: 0018:ffff8880a98dfa90 EFLAGS: 00000006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 1ffffffff0ff33d4 RSI: 0000000000000000 RDI: ffffffff87f20740 RBP: ffff8880a98dfc80 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1015d64732 R11: ffff8880aeb23993 R12: 0000000000000000 R13: ffffffff87f99ea0 R14: ffff8880a98cc600 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000ebb000 CR3: 00000000a5af4000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x173/0x3d0 kernel/locking/lockdep.c:3903 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+0xec/0x630 net/batman-adv/network-coding.c:730 process_one_work+0x830/0x1670 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415