INFO: task syz-executor.4:25393 blocked for more than 143 seconds.
Not tainted 5.17.0-rc4-syzkaller-00020-g705d84a366cf #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28240 pid:25393 ppid: 3622 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0x926/0x1080 kernel/sched/core.c:6296
schedule+0x12b/0x1f0 kernel/sched/core.c:6369
rwsem_down_read_slowpath+0x572/0xa60 kernel/locking/rwsem.c:1032
__down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1214
inode_lock_shared include/linux/fs.h:787 [inline]
lookup_slow fs/namei.c:1723 [inline]
walk_component+0x508/0x790 fs/namei.c:2020
lookup_last fs/namei.c:2475 [inline]
path_lookupat+0x19d/0x6c0 fs/namei.c:2499
filename_lookup+0x270/0x640 fs/namei.c:2528
do_linkat+0x190/0xa80 fs/namei.c:4478
__do_sys_link fs/namei.c:4532 [inline]
__se_sys_link fs/namei.c:4530 [inline]
__x64_sys_link+0x82/0x90 fs/namei.c:4530
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9aeefaf059
RSP: 002b:00007f9aed903168 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 00007f9aef0c2030 RCX: 00007f9aeefaf059
RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000020000280
RBP: 00007f9aef00908d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed146f4af R14: 00007f9aed903300 R15: 0000000000022000
INFO: task syz-executor.4:25394 blocked for more than 143 seconds.
Not tainted 5.17.0-rc4-syzkaller-00020-g705d84a366cf #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:28688 pid:25394 ppid: 3622 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4987 [inline]
__schedule+0x926/0x1080 kernel/sched/core.c:6296
schedule+0x12b/0x1f0 kernel/sched/core.c:6369
rwsem_down_write_slowpath+0xdb7/0x1480 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write_nested+0x16f/0x180 kernel/locking/rwsem.c:1625
inode_lock_nested include/linux/fs.h:812 [inline]
do_unlinkat+0x274/0xa10 fs/namei.c:4201
__do_sys_unlink fs/namei.c:4266 [inline]
__se_sys_unlink fs/namei.c:4264 [inline]
__x64_sys_unlink+0x45/0x50 fs/namei.c:4264
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f9aeefaf059
RSP: 002b:00007f9aed8e2168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f9aef0c2100 RCX: 00007f9aeefaf059
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 00007f9aef00908d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed146f4af R14: 00007f9aed8e2300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1d460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by syslogd/2945:
#0: ffff8880b9b39798 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:489
2 locks held by getty/3272:
#0: ffff88807e969098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2077
3 locks held by syz-executor.4/25392:
1 lock held by syz-executor.4/25393:
#0: ffff88802ca576b0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline]
#0: ffff88802ca576b0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline]
#0: ffff88802ca576b0 (&type->i_mutex_dir_key#9){++++}-{3:3}, at: walk_component+0x508/0x790 fs/namei.c:2020
2 locks held by syz-executor.4/25394:
#0: ffff88802755a460 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff88802ca576b0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:812 [inline]
#1: ffff88802ca576b0 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_unlinkat+0x274/0xa10 fs/namei.c:4201
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc4-syzkaller-00020-g705d84a366cf #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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc82/0xcd0 kernel/hung_task.c:369
kthread+0x2a3/0x2d0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3699 Comm: kworker/1:8 Not tainted 5.17.0-rc4-syzkaller-00020-g705d84a366cf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:__alloc_skb+0x46/0x5a0
Code: 3f 65 f9 41 89 dd 41 83 e5 01 48 c7 c0 c8 f6 5e 8c 48 c7 c5 d0 f6 5e 8c 48 0f 44 e8 31 ff 44 89 ee e8 4e 43 65 f9 48 8b 45 00 <48> 89 44 24 08 b0 01 e9 35 05 00 00 45 89 e7 41 81 cf 00 00 02 00
RSP: 0018:ffffc90003b0fb08 EFLAGS: 00000293
RAX: ffff8881447d1640 RBX: 0000000000000000 RCX: ffff88801b8a9d00
RDX: ffff88801b8a9d00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8c5ef6c8 R08: ffffffff88207a22 R09: fffffbfff1ffb7e2
R10: fffffbfff1ffb7e2 R11: 0000000000000000 R12: 0000000000000a20
R13: 0000000000000000 R14: 0000000000000ec0 R15: 000000000000000c
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c010b16578 CR3: 000000007435b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
alloc_skb include/linux/skbuff.h:1158 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:745 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline]
nsim_dev_trap_report_work+0x264/0xaf0 drivers/net/netdevsim/dev.c:843
process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
worker_thread+0xab1/0x1300 kernel/workqueue.c:2454
kthread+0x2a3/0x2d0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 65 f9 gs stc
2: 41 89 dd mov %ebx,%r13d
5: 41 83 e5 01 and $0x1,%r13d
9: 48 c7 c0 c8 f6 5e 8c mov $0xffffffff8c5ef6c8,%rax
10: 48 c7 c5 d0 f6 5e 8c mov $0xffffffff8c5ef6d0,%rbp
17: 48 0f 44 e8 cmove %rax,%rbp
1b: 31 ff xor %edi,%edi
1d: 44 89 ee mov %r13d,%esi
20: e8 4e 43 65 f9 callq 0xf9654373
25: 48 8b 45 00 mov 0x0(%rbp),%rax
* 29: 48 89 44 24 08 mov %rax,0x8(%rsp) <-- trapping instruction
2e: b0 01 mov $0x1,%al
30: e9 35 05 00 00 jmpq 0x56a
35: 45 89 e7 mov %r12d,%r15d
38: 41 81 cf 00 00 02 00 or $0x20000,%r15d