INFO: task syz-executor287:3646 blocked for more than 143 seconds.
Not tainted 6.0.0-rc7-syzkaller-00250-ga962b54e162c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor287 state:D stack:25744 pid: 3646 ppid: 3636 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:0x7feb05d98399
RSP: 002b:00007fffd8e74888 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000007936f RCX: 00007feb05d98399
RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007fffd8e74a28 R09: 00007fffd8e74a28
R10: 00007fffd8e74a28 R11: 0000000000000246 R12: 00007fffd8e7489c
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
INFO: task udevd:3647 blocked for more than 143 seconds.
Not tainted 6.0.0-rc7-syzkaller-00250-ga962b54e162c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25712 pid: 3647 ppid: 2974 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:0x7f653d325697
RSP: 002b:00007ffd56ded450 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055746bee15c0 RCX: 00007f653d325697
RDX: 00000000000a0800 RSI: 000055746beb6810 RDI: 00000000ffffff9c
RBP: 000055746beb6810 R08: 0000000000000001 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055746bed9280 R14: 00007ffd56ded4fc R15: 000055746beb5910
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8cd20d70 (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: ffffffff8cd21570 (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: ffffffff8cd20ba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3283:
#0: ffff888027c1f098 (&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-executor287/3646:
#0: ffff88801e51e998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x13e/0xa40 drivers/block/nbd.c:1514
1 lock held by udevd/3647:
#0: ffff88801e67a4c8 (&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-00250-ga962b54e162c #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: 12 Comm: kworker/u4:1 Not tainted 6.0.0-rc7-syzkaller-00250-ga962b54e162c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:native_write_cr3 arch/x86/include/asm/special_insns.h:54 [inline]
RIP: 0010:write_cr3 arch/x86/include/asm/special_insns.h:174 [inline]
RIP: 0010:load_new_mm_cr3 arch/x86/mm/tlb.c:293 [inline]
RIP: 0010:switch_mm_irqs_off+0x4dc/0x8f0 arch/x86/mm/tlb.c:628
Code: 04 00 00 e8 d6 f4 ff ff 41 0f b7 cc 81 f9 ff 0f 00 00 48 8b 5c 24 10 0f 83 ac 01 00 00 41 ff c4 41 0f b7 cc 48 09 c8 0f 22 d8 <48> c7 c6 ff ff ff ff e9 ae 00 00 00 49 8d 5f 50 48 89 d8 48 c1 e8
RSP: 0018:ffffc900001176e0 EFLAGS: 00000093
RAX: 0000000140133000 RBX: ffffffff8cdf7e60 RCX: ffff88801230d880
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900001177d0 R08: ffffffff813debc7 R09: ffffed1002465085
R10: ffffed1002465085 R11: 1ffff11002465084 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888012328000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056295a43a680 CR3: 0000000140133000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
use_temporary_mm arch/x86/kernel/alternative.c:1033 [inline]
__text_poke+0x5c2/0x9d0 arch/x86/kernel/alternative.c:1144
text_poke arch/x86/kernel/alternative.c:1208 [inline]
text_poke_bp_batch+0x431/0x850 arch/x86/kernel/alternative.c:1506
text_poke_flush arch/x86/kernel/alternative.c:1661 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1668
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