syzbot


INFO: task hung in filename_create

Status: upstream: reported on 2024/04/19 18:22
Reported-by: syzbot+238b833d8da442497ae9@syzkaller.appspotmail.com
First crash: 56d, last: 31d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in filename_create 6 1670d 1770d 0/1 auto-closed as invalid on 2020/03/17 23:03
upstream INFO: task hung in filename_create (2) fs 11 1654d 1758d 0/27 auto-closed as invalid on 2020/03/04 11:54
android-49 INFO: task hung in filename_create C 44 2119d 1890d 0/3 public: reported C repro on 2019/04/13 00:00
upstream INFO: task hung in filename_create (3) fs 16 1119d 1275d 0/27 auto-closed as invalid on 2021/08/20 18:08
linux-4.19 INFO: task hung in filename_create (3) 3 947d 1010d 0/1 auto-closed as invalid on 2022/03/11 04:15
android-44 INFO: task hung in filename_create 1 2252d 2252d 0/2 auto-closed as invalid on 2019/02/22 14:19
linux-4.19 INFO: task hung in filename_create (2) 1 1211d 1211d 0/1 auto-closed as invalid on 2021/06/20 16:38
linux-4.14 INFO: task hung in filename_create 2 1643d 1647d 0/1 auto-closed as invalid on 2020/04/14 04:42
linux-4.19 INFO: task hung in filename_create (4) 2 580d 644d 0/1 auto-obsoleted due to no activity on 2023/03/13 04:19
linux-5.15 INFO: task hung in filename_create 18 19d 61d 0/3 upstream: reported on 2024/04/15 05:31
android-44 INFO: task hung in filename_create (2) 1 1873d 1873d 0/2 auto-closed as invalid on 2019/10/25 08:49
upstream INFO: task hung in filename_create (4) fs C error error 909 1d11h 906d 0/27 upstream: reported C repro on 2021/12/21 22:55
upstream INFO: task hung in filename_create fs 121 1963d 2249d 0/27 closed as dup on 2018/09/08 15:39

Sample crash report:
INFO: task syz-executor.3:6436 blocked for more than 143 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28880 pid:6436  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock_nested include/linux/fs.h:793 [inline]
 filename_create+0x25c/0x530 fs/namei.c:3878
 do_mkdirat+0xba/0x360 fs/namei.c:4123
 __do_sys_mkdirat fs/namei.c:4148 [inline]
 __se_sys_mkdirat fs/namei.c:4146 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ece590c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fa6ec1ac050 RCX: 00007fa6ec07dd69
RDX: 0000000000000000 RSI: 0000000020000340 RDI: ffffffffffffff9c
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac050 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6437 blocked for more than 144 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:29096 pid:6437  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock_nested include/linux/fs.h:793 [inline]
 filename_create+0x25c/0x530 fs/namei.c:3878
 do_mkdirat+0xba/0x360 fs/namei.c:4123
 __do_sys_mkdir fs/namei.c:4153 [inline]
 __se_sys_mkdir fs/namei.c:4151 [inline]
 __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4151
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ece380c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007fa6ec1ac120 RCX: 00007fa6ec07dd69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac120 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6439 blocked for more than 144 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28080 pid:6439  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
 __down_read_common kernel/locking/rwsem.c:1261 [inline]
 __down_read kernel/locking/rwsem.c:1274 [inline]
 down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
 inode_lock_shared include/linux/fs.h:768 [inline]
 open_last_lookups fs/namei.c:3551 [inline]
 path_openat+0x7a7/0x2e60 fs/namei.c:3782
 do_filp_open+0x230/0x480 fs/namei.c:3812
 do_sys_openat2+0x13b/0x500 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_open fs/open.c:1342 [inline]
 __se_sys_open fs/open.c:1338 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1338
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ece170c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fa6ec1ac1f0 RCX: 00007fa6ec07dd69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac1f0 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6440 blocked for more than 145 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28320 pid:6440  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
 __down_read_common kernel/locking/rwsem.c:1261 [inline]
 __down_read kernel/locking/rwsem.c:1274 [inline]
 down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
 inode_lock_shared include/linux/fs.h:768 [inline]
 open_last_lookups fs/namei.c:3551 [inline]
 path_openat+0x7a7/0x2e60 fs/namei.c:3782
 do_filp_open+0x230/0x480 fs/namei.c:3812
 do_sys_openat2+0x13b/0x500 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1345
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ecdf60c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fa6ec1ac2c0 RCX: 00007fa6ec07dd69
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac2c0 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6441 blocked for more than 146 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28552 pid:6441  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock_nested include/linux/fs.h:793 [inline]
 filename_create+0x25c/0x530 fs/namei.c:3878
 do_mkdirat+0xba/0x360 fs/namei.c:4123
 __do_sys_mkdirat fs/namei.c:4148 [inline]
 __se_sys_mkdirat fs/namei.c:4146 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07c867
RSP: 002b:00007fa6ecdd4ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fa6ecdd4f80 RCX: 00007fa6ec07c867
RDX: 00000000000001ff RSI: 0000000020000100 RDI: 00000000ffffff9c
RBP: 0000000020000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000020000100
R13: 00007fa6ecdd4f40 R14: 0000000000000000 R15: 0000000020000200
 </TASK>
INFO: task syz-executor.3:6442 blocked for more than 146 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28008 pid:6442  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
 __down_read_common kernel/locking/rwsem.c:1261 [inline]
 __down_read kernel/locking/rwsem.c:1274 [inline]
 down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
 inode_lock_shared include/linux/fs.h:768 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1706
 walk_component+0x2d0/0x400 fs/namei.c:1998
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2479
 filename_lookup+0x251/0x600 fs/namei.c:2508
 user_path_at_empty+0x3e/0x60 fs/namei.c:2907
 user_path_at include/linux/namei.h:57 [inline]
 do_mount fs/namespace.c:3391 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount+0x296/0x3c0 fs/namespace.c:3579
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ecdb40c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa6ec1ac460 RCX: 00007fa6ec07dd69
RDX: 0000000020000080 RSI: 00000000200000c0 RDI: 0000000000000000
RBP: 00007fa6ec0ca49e R08: 0000000020000240 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac460 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6444 blocked for more than 147 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28984 pid:6444  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
 __down_read_common kernel/locking/rwsem.c:1261 [inline]
 __down_read kernel/locking/rwsem.c:1274 [inline]
 down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
 inode_lock_shared include/linux/fs.h:768 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1706
 walk_component+0x2d0/0x400 fs/namei.c:1998
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2479
 filename_lookup+0x251/0x600 fs/namei.c:2508
 user_path_at_empty+0x3e/0x60 fs/namei.c:2907
 user_path_at include/linux/namei.h:57 [inline]
 path_setxattr+0xae/0x2a0 fs/xattr.c:631
 __do_sys_setxattr fs/xattr.c:652 [inline]
 __se_sys_setxattr fs/xattr.c:648 [inline]
 __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:648
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ecd930c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007fa6ec1ac530 RCX: 00007fa6ec07dd69
RDX: 0000000020000400 RSI: 00000000200005c0 RDI: 0000000020000940
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac530 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6446 blocked for more than 147 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:29096 pid:6446  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock_nested include/linux/fs.h:793 [inline]
 filename_create+0x25c/0x530 fs/namei.c:3878
 do_mkdirat+0xba/0x360 fs/namei.c:4123
 __do_sys_mkdirat fs/namei.c:4148 [inline]
 __se_sys_mkdirat fs/namei.c:4146 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ecd720c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fa6ec1ac600 RCX: 00007fa6ec07dd69
RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c
RBP: 00007fa6ec0ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac600 R15: 00007fff8bab5518
 </TASK>
INFO: task syz-executor.3:6451 blocked for more than 147 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:28552 pid:6451  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock_nested include/linux/fs.h:793 [inline]
 filename_create+0x25c/0x530 fs/namei.c:3878
 do_mkdirat+0xba/0x360 fs/namei.c:4123
 __do_sys_mkdirat fs/namei.c:4148 [inline]
 __se_sys_mkdirat fs/namei.c:4146 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4146
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07c867
RSP: 002b:00007fa6ecd50ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fa6ecd50f80 RCX: 00007fa6ec07c867
RDX: 00000000000001ff RSI: 0000000020001040 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020001040
R13: 00007fa6ecd50f40 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
INFO: task syz-executor.3:6454 blocked for more than 147 seconds.
      Not tainted 6.1.90-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:29016 pid:6454  ppid:6203   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline]
 __down_read_common kernel/locking/rwsem.c:1261 [inline]
 __down_read kernel/locking/rwsem.c:1274 [inline]
 down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522
 inode_lock_shared include/linux/fs.h:768 [inline]
 lookup_slow+0x45/0x70 fs/namei.c:1706
 walk_component+0x2d0/0x400 fs/namei.c:1998
 lookup_last fs/namei.c:2455 [inline]
 path_lookupat+0x16f/0x450 fs/namei.c:2479
 filename_lookup+0x251/0x600 fs/namei.c:2508
 user_path_at_empty+0x3e/0x60 fs/namei.c:2907
 user_path_at include/linux/namei.h:57 [inline]
 do_mount fs/namespace.c:3391 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount+0x296/0x3c0 fs/namespace.c:3579
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa6ec07dd69
RSP: 002b:00007fa6ecd300c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fa6ec1ac7a0 RCX: 00007fa6ec07dd69
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007fa6ec0ca49e R08: 00000000200002c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa6ec1ac7a0 R15: 00007fff8bab5518
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/7:
 #0: ffff888012470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
 #1: ffffc900000c7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
 #2: ffff88807e37e240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1489
1 lock held by rcu_tasks_kthre/12:
 #0: ffffffff8d12ae50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
 #0: ffffffff8d12b650 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
 #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
 #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494
2 locks held by getty/3305:
 #0: ffff888029253098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188
5 locks held by kworker/u4:12/3849:
2 locks held by syz-executor.3/6434:
2 locks held by syz-executor.3/6436:
 #0: ffff888052a18460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878
2 locks held by syz-executor.3/6437:
 #0: ffff888052a18460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878
1 lock held by syz-executor.3/6439:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: open_last_lookups fs/namei.c:3551 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: path_openat+0x7a7/0x2e60 fs/namei.c:3782
1 lock held by syz-executor.3/6440:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: open_last_lookups fs/namei.c:3551 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: path_openat+0x7a7/0x2e60 fs/namei.c:3782
2 locks held by syz-executor.3/6441:
 #0: ffff888052a18460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878
1 lock held by syz-executor.3/6442:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
1 lock held by syz-executor.3/6444:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
2 locks held by syz-executor.3/6446:
 #0: ffff888052a18460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878
2 locks held by syz-executor.3/6451:
 #0: ffff888052a18460 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
 #1: ffff888053ba8188 (&type->i_mutex_dir_key#14/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3878
1 lock held by syz-executor.3/6454:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
1 lock held by syz-executor.3/6457:
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline]
 #0: ffff888053ba8188 (&type->i_mutex_dir_key#14){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706
1 lock held by syz-executor.1/8456:
 #0: ffffffff8d130140 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4018

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.90-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
 watchdog+0xf88/0xfd0 kernel/hung_task.c:377
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8432 Comm: syz-executor.1 Not tainted 6.1.90-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:lock_acquire+0x1ea/0x5a0 kernel/locking/lockdep.c:5662
Code: fc 15 98 7e 45 31 c9 41 f7 c7 00 02 00 00 41 0f 94 c1 48 8b 7c 24 20 44 89 f6 8b 54 24 1c 48 8b 4c 24 30 4c 8b 44 24 38 6a 00 <6a> 00 ff 75 10 ff 74 24 40 e8 e8 04 00 00 48 83 c4 20 48 c7 c7 40
RSP: 0018:ffffc900047af878 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffc900047af8e0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff91ec6290
RBP: ffffc900047af9c8 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920008f5f18
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000046
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f857877efe0 CR3: 0000000072f42000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162
 __debug_check_no_obj_freed lib/debugobjects.c:967 [inline]
 debug_check_no_obj_freed+0xd8/0x4e0 lib/debugobjects.c:1008
 __vunmap+0x27e/0x9a0 mm/vmalloc.c:2699
 kcov_put kernel/kcov.c:428 [inline]
 kcov_close+0x27/0x50 kernel/kcov.c:524
 __fput+0x3b7/0x890 fs/file_table.c:320
 task_work_run+0x246/0x300 kernel/task_work.c:179
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa73/0x26a0 kernel/exit.c:869
 do_group_exit+0x202/0x2b0 kernel/exit.c:1019
 __do_sys_exit_group kernel/exit.c:1030 [inline]
 __se_sys_exit_group kernel/exit.c:1028 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f857867dd69
Code: Unable to access opcode bytes at 0x7f857867dd3f.
RSP: 002b:00007ffc1554ac18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000043 RCX: 00007f857867dd69
RDX: 00007f857867ca70 RSI: 000000000000000c RDI: 0000000000000043
RBP: 00007ffc1554ad10 R08: 00007ffc155489b6 R09: 00007ffc1554b2f8
R10: 000000000000001a R11: 0000000000000246 R12: 00007ffc1554b2f8
R13: 0000000000000003 R14: 00007f85787ac9d8 R15: 000000000000000c
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/15 04:30 linux-6.1.y 909ba1f1b414 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in filename_create
2024/04/22 07:54 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in filename_create
2024/04/19 18:21 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in filename_create
2024/05/15 01:42 linux-6.1.y 909ba1f1b414 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in filename_create
2024/05/13 15:07 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in filename_create
2024/04/21 16:54 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in filename_create
* Struck through repros no longer work on HEAD.