INFO: task syz-executor.2:5929 blocked for more than 143 seconds.
Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28304 pid: 5929 ppid: 5904 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
rwsem_down_read_slowpath+0x589/0xa70 kernel/locking/rwsem.c:1032
__down_read_common kernel/locking/rwsem.c:1214 [inline]
__down_read kernel/locking/rwsem.c:1223 [inline]
down_read+0xe2/0x440 kernel/locking/rwsem.c:1463
inode_lock_shared include/linux/fs.h:787 [inline]
lookup_slow fs/namei.c:1723 [inline]
walk_component+0x400/0x6a0 fs/namei.c:2020
lookup_last fs/namei.c:2475 [inline]
path_lookupat+0x1bb/0x860 fs/namei.c:2499
filename_lookup+0x1c6/0x590 fs/namei.c:2528
user_path_at_empty+0x42/0x60 fs/namei.c:2851
user_path_at include/linux/namei.h:57 [inline]
__do_sys_chdir fs/open.c:490 [inline]
__se_sys_chdir fs/open.c:484 [inline]
__x64_sys_chdir+0xb7/0x260 fs/open.c:484
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:0x7fad6ef1d049
RSP: 002b:00007fad6d82f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050
RAX: ffffffffffffffda RBX: 00007fad6f0301d0 RCX: 00007fad6ef1d049
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007fad6ef7708d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf6e0040f R14: 00007fad6d82f300 R15: 0000000000022000
INFO: task syz-executor.2:5930 blocked for more than 143 seconds.
Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:28464 pid: 5930 ppid: 5904 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
inode_lock include/linux/fs.h:777 [inline]
open_last_lookups fs/namei.c:3397 [inline]
path_openat+0x94b/0x2940 fs/namei.c:3606
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_open fs/open.c:1238 [inline]
__se_sys_open fs/open.c:1234 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1234
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:0x7fad6ef1d049
RSP: 002b:00007fad6d80e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fad6f0302a0 RCX: 00007fad6ef1d049
RDX: 0000000000000000 RSI: 0000000000141842 RDI: 00000000200000c0
RBP: 00007fad6ef7708d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf6e0040f R14: 00007fad6d80e300 R15: 0000000000022000
INFO: task syz-executor.2:5931 blocked for more than 144 seconds.
Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:29240 pid: 5931 ppid: 5904 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xa94/0x4910 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
rwsem_down_write_slowpath+0x634/0x1110 kernel/locking/rwsem.c:1142
__down_write_common kernel/locking/rwsem.c:1259 [inline]
__down_write_common kernel/locking/rwsem.c:1256 [inline]
__down_write kernel/locking/rwsem.c:1268 [inline]
down_write+0x135/0x150 kernel/locking/rwsem.c:1515
inode_lock include/linux/fs.h:777 [inline]
open_last_lookups fs/namei.c:3397 [inline]
path_openat+0x94b/0x2940 fs/namei.c:3606
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_creat fs/open.c:1306 [inline]
__se_sys_creat fs/open.c:1300 [inline]
__x64_sys_creat+0xc9/0x120 fs/open.c:1300
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:0x7fad6ef1d049
RSP: 002b:00007fad6d7ed168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007fad6f030370 RCX: 00007fad6ef1d049
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000280
RBP: 00007fad6ef7708d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdf6e0040f R14: 00007fad6d7ed300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:1/10:
#0: ffff8880b9c39cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489
#1: ffff8880b9c27948 (&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/27:
#0: ffffffff8bb81ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3284:
#0: ffff88807f08c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b5e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075
5 locks held by kworker/u4:13/4646:
#0: ffff8880b9c39cd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489
#1: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:882
#2: ffff8880b9c28498 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946
#3: ffffffff907a1ef0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661
#4: ffffffff8ba498c8 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0xe/0x20 arch/x86/kernel/jump_label.c:145
2 locks held by syz-executor.2/5927:
1 lock held by syz-executor.2/5929:
#0: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline]
#0: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline]
#0: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020
2 locks held by syz-executor.2/5930:
#0: ffff88807ad6c460 (sb_writers#15){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3389 [inline]
#0: ffff88807ad6c460 (sb_writers#15){.+.+}-{0:0}, at: path_openat+0x28d1/0x2940 fs/namei.c:3606
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3397 [inline]
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x94b/0x2940 fs/namei.c:3606
2 locks held by syz-executor.2/5931:
#0: ffff88807ad6c460 (sb_writers#15){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3389 [inline]
#0: ffff88807ad6c460 (sb_writers#15){.+.+}-{0:0}, at: path_openat+0x28d1/0x2940 fs/namei.c:3606
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:777 [inline]
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3397 [inline]
#1: ffff888030e6ec30 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x94b/0x2940 fs/namei.c:3606
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #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:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
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: 3681 Comm: kworker/0:4 Not tainted 5.17.0-rc6-syzkaller-00048-g575115360652 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:deref_stack_reg+0xe/0x150 arch/x86/kernel/unwind_orc.c:351
Code: 8a 00 48 8b 14 24 e9 48 ff ff ff 48 89 0c 24 e8 68 73 8a 00 48 8b 0c 24 eb 9d 66 90 48 b8 00 00 00 00 00 fc ff df 41 55 41 54 <49> 89 fc 55 48 89 f5 53 48 89 d3 48 89 fa 48 c1 ea 03 48 83 ec 08
RSP: 0018:ffffc90002bc7738 EFLAGS: 00000283
RAX: dffffc0000000000 RBX: 1ffff92000578ef2 RCX: 0000000000000000
RDX: ffffc90002bc7868 RSI: ffffc90002bc7b70 RDI: ffffc90002bc7828
RBP: 0000000000000001 R08: ffffffff8e1b3502 R09: 0000000000000001
R10: fffff52000578f10 R11: 0000000000088078 R12: ffffc90002bc7b90
R13: ffffc90002bc785d R14: ffffc90002bc7828 R15: ffffc90002bc785c
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f380700 CR3: 000000002678f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x13f9/0x1ce0 arch/x86/kernel/unwind_orc.c:600
arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38
kasan_set_track mm/kasan/common.c:45 [inline]
set_alloc_info mm/kasan/common.c:436 [inline]
____kasan_kmalloc mm/kasan/common.c:515 [inline]
____kasan_kmalloc mm/kasan/common.c:474 [inline]
__kasan_kmalloc+0xa6/0xd0 mm/kasan/common.c:524
kasan_kmalloc include/linux/kasan.h:270 [inline]
kmem_cache_alloc_node_trace+0x208/0x5b0 mm/slab.c:3611
__do_kmalloc_node mm/slab.c:3631 [inline]
__kmalloc_node_track_caller+0x38/0x60 mm/slab.c:3646
kmalloc_reserve net/core/skbuff.c:354 [inline]
__alloc_skb+0xde/0x340 net/core/skbuff.c:426
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+0x29a/0xbc0 drivers/net/netdevsim/dev.c:843
process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
worker_thread+0x657/0x1110 kernel/workqueue.c:2454
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 8a 00 mov (%rax),%al
2: 48 8b 14 24 mov (%rsp),%rdx
6: e9 48 ff ff ff jmpq 0xffffff53
b: 48 89 0c 24 mov %rcx,(%rsp)
f: e8 68 73 8a 00 callq 0x8a737c
14: 48 8b 0c 24 mov (%rsp),%rcx
18: eb 9d jmp 0xffffffb7
1a: 66 90 xchg %ax,%ax
1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
23: fc ff df
26: 41 55 push %r13
28: 41 54 push %r12
* 2a: 49 89 fc mov %rdi,%r12 <-- trapping instruction
2d: 55 push %rbp
2e: 48 89 f5 mov %rsi,%rbp
31: 53 push %rbx
32: 48 89 d3 mov %rdx,%rbx
35: 48 89 fa mov %rdi,%rdx
38: 48 c1 ea 03 shr $0x3,%rdx
3c: 48 83 ec 08 sub $0x8,%rsp