INFO: task syz-executor.4:30478 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27088 pid:30478 ppid: 8411 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178
nbd_add_socket+0x17b/0x8e0 drivers/block/nbd.c:1109
__nbd_ioctl drivers/block/nbd.c:1454 [inline]
nbd_ioctl+0x263/0xb80 drivers/block/nbd.c:1511
blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
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:0x7fe275ab6ae9
RSP: 002b:00007fe27302c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe275bc9f60 RCX: 00007fe275ab6ae9
RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004
RBP: 00007fe275b10f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef22ddabf R14: 00007fe27302c300 R15: 0000000000022000
INFO: task syz-executor.4:30480 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25760 pid:30480 ppid: 8411 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
nbd_disconnect_and_put+0x2e/0x1f0 drivers/block/nbd.c:2082
nbd_genl_disconnect+0x3f7/0x670 drivers/block/nbd.c:2129
genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline]
genl_family_rcv_msg net/netlink/genetlink.c:775 [inline]
genl_rcv_msg+0x1032/0x1480 net/netlink/genetlink.c:792
netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2491
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0xa20/0xe40 net/netlink/af_netlink.c:1916
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x5b9/0x910 net/socket.c:2409
___sys_sendmsg net/socket.c:2463 [inline]
__sys_sendmsg+0x280/0x370 net/socket.c:2492
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:0x7fe275ab6ae9
RSP: 002b:00007fe27300b188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe275bca020 RCX: 00007fe275ab6ae9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000007
RBP: 00007fe275b10f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef22ddabf R14: 00007fe27300b300 R15: 0000000000022000
INFO: task syz-executor.4:30514 blocked for more than 144 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:26912 pid:30514 ppid: 8411 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504
blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
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:0x7fe275ab6ae9
RSP: 002b:00007fe272fea188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe275bca0e0 RCX: 00007fe275ab6ae9
RDX: 0000000000000005 RSI: 000000000000ab00 RDI: 0000000000000004
RBP: 00007fe275b10f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef22ddabf R14: 00007fe272fea300 R15: 0000000000022000
INFO: task syz-executor.4:30515 blocked for more than 144 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:26992 pid:30515 ppid: 8411 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2491
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0xa20/0xe40 net/netlink/af_netlink.c:1916
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
____sys_sendmsg+0x5b9/0x910 net/socket.c:2409
___sys_sendmsg net/socket.c:2463 [inline]
__sys_sendmsg+0x280/0x370 net/socket.c:2492
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:0x7fe275ab6ae9
RSP: 002b:00007fe272fc9188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe275bca1a0 RCX: 00007fe275ab6ae9
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000007
RBP: 00007fe275b10f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffef22ddabf R14: 00007fe272fc9300 R15: 0000000000022000
INFO: task syz-executor.4:30516 blocked for more than 144 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27376 pid:30516 ppid: 8411 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2491
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0xa20/0xe40 net/netlink/af_netlink.c:1916
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
__sys_sendto+0x42e/0x5b0 net/socket.c:2036
__do_sys_sendto net/socket.c:2048 [inline]
__se_sys_sendto net/socket.c:2044 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2044
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:0x7fe275a698ac
RSP: 002b:00007fe272fa7020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fe272fa7110 RCX: 00007fe275a698ac
RDX: 000000000000001c RSI: 00007fe272fa7160 RDI: 0000000000000008
RBP: 0000000000000000 R08: 00007fe272fa7074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fe272fa70c8
R13: 00007fe272fa7160 R14: 0000000000000008 R15: 0000000000000000
INFO: task syz-executor.1:30492 blocked for more than 145 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27280 pid:30492 ppid: 6514 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
genl_lock net/netlink/genetlink.c:33 [inline]
genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2491
genl_rcv+0x24/0x40 net/netlink/genetlink.c:803
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1345
netlink_sendmsg+0xa20/0xe40 net/netlink/af_netlink.c:1916
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg net/socket.c:724 [inline]
__sys_sendto+0x42e/0x5b0 net/socket.c:2036
__do_sys_sendto net/socket.c:2048 [inline]
__se_sys_sendto net/socket.c:2044 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2044
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:0x7fa6c5c9a8ac
RSP: 002b:00007fa6c325c020 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fa6c325c110 RCX: 00007fa6c5c9a8ac
RDX: 0000000000000020 RSI: 00007fa6c325c160 RDI: 0000000000000004
RBP: 0000000000000000 R08: 00007fa6c325c074 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fa6c325c0c8
R13: 00007fa6c325c160 R14: 0000000000000004 R15: 0000000000000000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cd1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by in:imklog/6203:
#0: ffff888078d834f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
1 lock held by syz-executor.4/30478:
#0: ffff88801b6ea198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504
3 locks held by syz-executor.4/30480:
#0: ffffffff8dde1350 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
#2: ffff88801b6ea198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_disconnect_and_put+0x2e/0x1f0 drivers/block/nbd.c:2082
1 lock held by syz-executor.4/30514:
#0: ffff88801b6ea198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x148/0xb80 drivers/block/nbd.c:1504
2 locks held by syz-executor.4/30515:
#0: ffffffff8dde1350 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
2 locks held by syz-executor.4/30516:
#0: ffffffff8dde1350 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
2 locks held by syz-executor.1/30492:
#0: ffffffff8dde1350 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline]
#1: ffffffff8dde1208 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #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:210 [inline]
watchdog+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2960 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_preemption_disabled+0x9/0x1c0 lib/smp_processor_id.c:13
Code: cc 0f 1f 44 00 00 48 c7 c7 60 49 f5 8a 48 c7 c6 a0 49 f5 8a eb 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54 <53> 48 83 ec 10 49 89 f6 49 89 ff 65 48 8b 04 25 28 00 00 00 48 89
RSP: 0018:ffffc90001a6f0f0 EFLAGS: 00000246
RAX: 1ffffffff197d8c3 RBX: ffffffff8cbec618 RCX: 000000008a908805
RDX: ffffffff8191f315 RSI: ffffffff8af549a0 RDI: ffffffff8af54960
RBP: ffffc90001a6f230 R08: dffffc0000000000 R09: fffffbfff1c3d246
R10: fffffbfff1c3d246 R11: 0000000000000000 R12: ffffffff8cd1dc00
R13: 0000607f46231878 R14: ffffffff8cbec5a0 R15: dffffc0000000000
FS: 00007fcd973298c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd94a12000 CR3: 000000001c298000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
perf_trace_lock+0x137/0x440 include/trace/events/lock.h:39
trace_lock_release+0x128/0x150 include/trace/events/lock.h:58
lock_release+0x82/0x810 kernel/locking/lockdep.c:5648
rcu_read_unlock include/linux/rcupdate.h:721 [inline]
is_bpf_text_address+0x253/0x270 kernel/bpf/core.c:717
kernel_text_address+0x9e/0xd0 kernel/extable.c:124
__kernel_text_address+0x9/0x40 kernel/extable.c:78
unwind_get_return_address+0x48/0x80 arch/x86/kernel/unwind_orc.c:318
arch_stack_walk+0xf8/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0xb6/0xf0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc+0x1c9/0x310 mm/slub.c:3247
kmem_cache_zalloc include/linux/slab.h:714 [inline]
__alloc_file+0x26/0x2f0 fs/file_table.c:101
alloc_empty_file+0xa9/0x1b0 fs/file_table.c:150
path_openat+0x111/0x3660 fs/namei.c:3545
do_filp_open+0x277/0x4f0 fs/namei.c:3586
do_sys_openat2+0x13b/0x500 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_open fs/open.c:1236 [inline]
__se_sys_open fs/open.c:1232 [inline]
__x64_sys_open+0x221/0x270 fs/open.c:1232
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:0x7fcd968b8840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffcda995668 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffcda995970 RCX: 00007fcd968b8840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000560568c7ded0
RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000560568c72040 R14: 00007ffcda995930 R15: 0000560568c7dcf0
----------------
Code disassembly (best guess):
0: cc int3
1: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
6: 48 c7 c7 60 49 f5 8a mov $0xffffffff8af54960,%rdi
d: 48 c7 c6 a0 49 f5 8a mov $0xffffffff8af549a0,%rsi
14: eb 0b jmp 0x21
16: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
1d: 00 00 00
20: 90 nop
21: 55 push %rbp
22: 41 57 push %r15
24: 41 56 push %r14
26: 41 55 push %r13
28: 41 54 push %r12
* 2a: 53 push %rbx <-- trapping instruction
2b: 48 83 ec 10 sub $0x10,%rsp
2f: 49 89 f6 mov %rsi,%r14
32: 49 89 ff mov %rdi,%r15
35: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
3c: 00 00
3e: 48 rex.W
3f: 89 .byte 0x89