INFO: task udevd:10246 blocked in I/O wait for more than 143 seconds. Tainted: G L syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23784 pid:10246 tgid:10246 ppid:5139 task_flags:0x400140 flags:0x00080802 Call Trace: context_switch kernel/sched/core.c:5388 [inline] __schedule+0x1295/0x67a0 kernel/sched/core.c:7189 __schedule_loop kernel/sched/core.c:7268 [inline] schedule+0xdd/0x390 kernel/sched/core.c:7283 io_schedule+0x8a/0xf0 kernel/sched/core.c:8110 folio_wait_bit_common+0x414/0xa70 mm/filemap.c:1324 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x3bc/0x6b0 mm/filemap.c:4089 read_mapping_folio include/linux/pagemap.h:1017 [inline] read_part_sector+0xd1/0x370 block/partitions/core.c:724 adfspart_check_POWERTEC+0x8a/0x630 block/partitions/acorn.c:450 check_partition block/partitions/core.c:143 [inline] blk_add_partitions block/partitions/core.c:591 [inline] bdev_disk_changed+0x7a3/0x1250 block/partitions/core.c:695 blkdev_get_whole+0x187/0x290 block/bdev.c:756 bdev_open+0x2c7/0xe40 block/bdev.c:965 blkdev_open+0x34e/0x4f0 block/fops.c:697 do_dentry_open+0x6d8/0x1660 fs/open.c:947 vfs_open+0x82/0x3f0 fs/open.c:1079 do_open fs/namei.c:4699 [inline] path_openat+0x208c/0x31a0 fs/namei.c:4858 do_file_open+0x20e/0x430 fs/namei.c:4887 do_sys_openat2+0x10d/0x1e0 fs/open.c:1364 do_sys_open fs/open.c:1370 [inline] __do_sys_openat fs/open.c:1386 [inline] __se_sys_openat fs/open.c:1381 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1381 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x10b/0x860 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f33846a7407 RSP: 002b:00007ffc184b1620 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3384d5b880 RCX: 00007f33846a7407 RDX: 00000000000a0800 RSI: 00005600ada9f920 RDI: ffffffffffffff9c RBP: 00005600ad8552c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005600ada95040 R13: 00005600ada908d0 R14: 0000000000000000 R15: 00005600ada95040 Showing all locks held in the system: 1 lock held by khungtaskd/42: #0: ffffffff8e7e5620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8e7e5620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e7e5620 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x3d/0x184 kernel/locking/lockdep.c:6775 2 locks held by kworker/u33:0/62: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90000d07d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/R-nbd3-/972: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc900057dfc70 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:1/5091: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc9000c6bfd08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by getty/5532: #0: ffff88802afbc0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000eb2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x419/0x14f0 drivers/tty/n_tty.c:2211 2 locks held by kworker/u33:2/5730: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003877d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:3/5733: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003927d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:4/5739: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003947d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:5/5740: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003957d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:6/5741: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003967d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:7/5744: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc900039f7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:8/5746: #0: ffff8880294d7140 ((wq_completion)nbd1-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003a17d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:9/7844: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003b17d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:10/7866: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003397d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:11/8355: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003fbfd08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 4 locks held by kworker/u32:48/11484: 2 locks held by kworker/u33:12/11926: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90005337d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:13/8006: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003577d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:14/8009: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc900034e7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:15/8010: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc900034a7d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 2 locks held by kworker/u33:16/8011: #0: ffff888029571140 ((wq_completion)nbd3-recv){+.+.}-{0:0}, at: process_one_work+0x12d6/0x1980 kernel/workqueue.c:3289 #1: ffffc90003477d08 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x973/0x1980 kernel/workqueue.c:3290 1 lock held by udevd/10246: #0: ffff888029582350 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:953 ============================================= NMI backtrace for cpu 3 CPU: 3 UID: 0 PID: 42 Comm: khungtaskd Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x12d/0x151 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1d7/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] __sys_info lib/sys_info.c:157 [inline] sys_info+0x141/0x190 lib/sys_info.c:165 check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline] watchdog+0xcb1/0x1030 kernel/hung_task.c:561 kthread+0x370/0x450 kernel/kthread.c:436 ret_from_fork+0x72b/0xd50 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 3 to CPUs 0-2: NMI backtrace for cpu 2 CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:asm_sysvec_apic_timer_interrupt+0x0/0x20 arch/x86/include/asm/idtentry.h:697 Code: 16 21 8b 0a e9 81 06 00 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 31 05 00 00 48 89 c4 48 89 e7 e8 26 20 8b 0a e9 61 06 00 00 90 0f 1e fa 0f 01 ca fc 6a ff e8 11 05 00 00 48 89 c4 48 89 e7 e8 RSP: 0018:ffffc90000187dc8 EFLAGS: 00000002 RAX: 0000000007627be9 RBX: ffff88801ee94a00 RCX: ffffffff8b8b50b5 RDX: 0000000000000000 RSI: ffffffff8df24460 RDI: ffffffff8c1c4500 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100d4c67b5 R10: ffff88806a633dab R11: 0000000000000000 R12: 0000000000000002 R13: ffffed1003dd2940 R14: 0000000000000002 R15: ffffffff90d7e950 FS: 0000000000000000(0000) GS:ffff8880d656a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005572d38ce740 CR3: 000000002ede2000 CR4: 0000000000352ef0 Call Trace: RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63 Code: 56 92 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 43 41 20 00 fb f4 7c 42 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffc90000187df0 EFLAGS: 00000202 arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x464/0x590 kernel/sched/idle.c:352 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:451 start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x148 NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:asm_sysvec_apic_timer_interrupt+0x0/0x20 arch/x86/include/asm/idtentry.h:697 Code: 16 21 8b 0a e9 81 06 00 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 31 05 00 00 48 89 c4 48 89 e7 e8 26 20 8b 0a e9 61 06 00 00 90 0f 1e fa 0f 01 ca fc 6a ff e8 11 05 00 00 48 89 c4 48 89 e7 e8 RSP: 0018:ffffc90000177dc8 EFLAGS: 00000006 RAX: 0000000006651a5f RBX: ffff88801e6f2500 RCX: ffffffff8b8b50b5 RDX: 0000000000000000 RSI: ffffffff8df24460 RDI: ffffffff8c1c4500 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100d4a67b5 R10: ffff88806a533dab R11: 0000000000000000 R12: 0000000000000001 R13: ffffed1003cde4a0 R14: 0000000000000001 R15: ffffffff90d7e950 FS: 0000000000000000(0000) GS:ffff8880d646a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055730ae4e168 CR3: 0000000034c48000 CR4: 0000000000352ef0 Call Trace: RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63 Code: 56 92 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 43 41 20 00 fb f4 7c 42 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffc90000177df0 EFLAGS: 00000206 arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x464/0x590 kernel/sched/idle.c:352 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:451 start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x148 NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:63 Code: 56 92 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 43 41 20 00 fb f4 7c 42 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff8e407e00 EFLAGS: 00000202 RAX: 000000000103f875 RBX: ffffffff8e4955c0 RCX: ffffffff8b8b50b5 RDX: 0000000000000000 RSI: ffffffff8df24460 RDI: ffffffff8c1c4500 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed100d4867b5 R10: ffff88806a433dab R11: 0000000000000000 R12: 0000000000000000 R13: fffffbfff1c92ab8 R14: 0000000000000000 R15: ffffffff90d7e950 FS: 0000000000000000(0000) GS:ffff8880d636a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff4df1a450 CR3: 000000000e596000 CR4: 0000000000352ef0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:62 [inline] default_idle+0x9/0x10 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:199 [inline] do_idle+0x464/0x590 kernel/sched/idle.c:352 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:451 rest_init+0x251/0x260 init/main.c:762 start_kernel+0x484/0x490 init/main.c:1220 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x12b/0x130 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x148 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 21 8b 0a e9 81 06 and %ecx,0x681e90a(%rbx) 6: 00 00 add %al,(%rax) 8: 90 nop 9: f3 0f 1e fa endbr64 d: 0f 01 ca clac 10: fc cld 11: 6a ff push $0xffffffffffffffff 13: e8 31 05 00 00 call 0x549 18: 48 89 c4 mov %rax,%rsp 1b: 48 89 e7 mov %rsp,%rdi 1e: e8 26 20 8b 0a call 0xa8b2049 23: e9 61 06 00 00 jmp 0x689 28: 90 nop * 29: f3 0f 1e fa endbr64 <-- trapping instruction 2d: 0f 01 ca clac 30: fc cld 31: 6a ff push $0xffffffffffffffff 33: e8 11 05 00 00 call 0x549 38: 48 89 c4 mov %rax,%rsp 3b: 48 89 e7 mov %rsp,%rdi 3e: e8 .byte 0xe8