INFO: task syz-executor204:3648 blocked for more than 143 seconds.
Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor204 state:D stack:25744 pid: 3648 ppid: 3637 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6494
schedule+0xcb/0x190 kernel/sched/core.c:6570
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:180
nbd_add_socket+0x17b/0x8e0 drivers/block/nbd.c:1123
__nbd_ioctl drivers/block/nbd.c:1464 [inline]
nbd_ioctl+0x260/0xa40 drivers/block/nbd.c:1521
blkdev_ioctl+0x3a6/0x760 block/ioctl.c:614
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1aae47a399
RSP: 002b:00007ffe2471d988 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000077303 RCX: 00007f1aae47a399
RDX: 0000000000000003 RSI: 000000000000ab00 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007ffe2471db28 R09: 00007ffe2471db28
R10: 00007ffe2471db28 R11: 0000000000000246 R12: 00007ffe2471d99c
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
INFO: task udevd:3649 blocked for more than 143 seconds.
Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26184 pid: 3649 ppid: 2975 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6494
schedule+0xcb/0x190 kernel/sched/core.c:6570
io_schedule+0x83/0x100 kernel/sched/core.c:8714
folio_wait_bit_common+0x98a/0x14b0 mm/filemap.c:1298
folio_put_wait_locked mm/filemap.c:1472 [inline]
do_read_cache_folio+0xb9/0x790 mm/filemap.c:3501
read_mapping_folio include/linux/pagemap.h:762 [inline]
read_part_sector+0xcc/0x390 block/partitions/core.c:717
adfspart_check_ICS+0xd4/0x950 block/partitions/acorn.c:360
check_partition block/partitions/core.c:146 [inline]
blk_add_partitions block/partitions/core.c:602 [inline]
bdev_disk_changed+0x79d/0x1420 block/partitions/core.c:688
blkdev_get_whole+0x329/0x3b0 block/bdev.c:684
blkdev_get_by_dev+0x30b/0xa40 block/bdev.c:821
blkdev_open+0x128/0x2e0 block/fops.c:485
do_dentry_open+0x777/0x1180 fs/open.c:880
do_open fs/namei.c:3557 [inline]
path_openat+0x260e/0x2e00 fs/namei.c:3691
do_filp_open+0x275/0x500 fs/namei.c:3718
do_sys_openat2+0x13b/0x500 fs/open.c:1313
do_sys_open fs/open.c:1329 [inline]
__do_sys_openat fs/open.c:1345 [inline]
__se_sys_openat fs/open.c:1340 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1340
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb88ef25697
RSP: 002b:00007ffc846d6300 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000056490543a190 RCX: 00007fb88ef25697
RDX: 00000000000a0800 RSI: 000056490542b020 RDI: 00000000ffffff9c
RBP: 000056490542b020 R08: 0000000000000001 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000056490541db70 R14: 00007ffc846d63ac R15: 0000564905414910
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cd20a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8cd21270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/29:
#0: ffffffff8cd208a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3288:
#0: ffff8880272cd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177
1 lock held by syz-executor204/3648:
#0: ffff88801ec7c198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13e/0xa40 drivers/block/nbd.c:1514
1 lock held by udevd/3649:
#0: ffff8881474794c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa40 block/bdev.c:812
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcd5/0xd20 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9 Comm: kworker/u4:0 Not tainted 6.0.0-rc7-syzkaller-00239-gb357fd1c2afc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:mark_lock+0xe7/0x350 kernel/locking/lockdep.c:4610
Code: de fb 0f 10 00 74 4a 31 db eb 0f 48 8d 04 5b 48 c1 e0 06 48 8d 98 40 8f c9 8f 48 83 c3 50 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 3f 98 73 00 41 bc 01 00 00 00 44 85 33 74 56 44
RSP: 0018:ffffc900000e7698 EFLAGS: 00000046
RAX: 1ffffffff1f93282 RBX: ffffffff8fc99410 RCX: ffffffff8169b33a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffa3040
RBP: 0000000000000006 R08: dffffc0000000000 R09: fffffbfff1ff4609
R10: fffffbfff1ff4609 R11: 1ffffffff1ff4608 R12: ffff888012320b10
R13: dffffc0000000000 R14: 0000000000000040 R15: ffff888012320af0
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a9be95c680 CR3: 000000000ca8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks kernel/locking/lockdep.c:4234 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4260 [inline]
lockdep_hardirqs_on_prepare+0x3b0/0x7b0 kernel/locking/lockdep.c:4319
trace_hardirqs_on+0x34/0x40 kernel/trace/trace_preemptirq.c:49
__text_poke+0x7c4/0x9d0 arch/x86/kernel/alternative.c:1183
text_poke arch/x86/kernel/alternative.c:1208 [inline]
text_poke_bp_batch+0x1b7/0x970 arch/x86/kernel/alternative.c:1487
text_poke_flush arch/x86/kernel/alternative.c:1660 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1667
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate+0x3d8/0x470 mm/kfence/core.c:825
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306