INFO: task hung in new_device_store
From: cruise k
Date: Mon Jan 10 2022 - 21:46:59 EST
Hi,
Syzkaller found the following issue:
HEAD commit: 75acfdb Linux 5.16-rc8
git tree: upstream
console output: https://pastebin.com/raw/MDzqSYsC
kernel config: https://pastebin.com/raw/XsnKfdRt
And hope the report log can help you.
INFO: task syz-executor.14:6981 blocked for more than 143 seconds.
Not tainted 5.16.0-rc8+ #10
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.14 state:D stack:23984 pid: 6981 ppid: 1 flags:0x00000004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xcd9/0x2550 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xc48/0x1610 kernel/locking/mutex.c:740
new_device_store+0xe8/0x670 drivers/net/netdevsim/bus.c:174
bus_attr_store+0x72/0xa0 drivers/base/bus.c:122
sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x337/0x500 fs/kernfs/file.c:296
call_write_iter include/linux/fs.h:2162 [inline]
new_sync_write+0x432/0x660 fs/read_write.c:503
vfs_write+0x678/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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:0x7fee725d301f
RSP: 002b:00007fff81b63990 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fee725d301f
RDX: 0000000000000004 RSI: 00007fff81b639e0 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007fff81b63930
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fee7268fcc3
R13: 00007fff81b639e0 R14: 0000000000000000 R15: 00007fee7367b320
</TASK>