INFO: task hwrng:761 blocked for more than 140 seconds. Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:hwrng state:D stack:28584 pid:761 tgid:761 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:484 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 5 locks held by kworker/0:1/9: 3 locks held by kworker/u8:1/12: #0: ffff88802a4b7148 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000117d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000117d00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4734 1 lock held by khungtaskd/30: #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e7377a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6620 3 locks held by kworker/1:1/47: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000b77d00 ((linkwatch_work).work){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 4 locks held by kworker/u8:3/53: #0: ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] ffff8880162e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bd7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ffffc90000bd7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa61110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: wg_destruct+0x25/0x2e0 drivers/net/wireguard/device.c:246 1 lock held by hwrng/761: #0: ffffffff8ef2f4e8 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0xf0/0x3c0 drivers/char/hw_random/core.c:484 1 lock held by dhcpcd/4884: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101 2 locks held by getty/4969: #0: ffff88802ad3b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 9 locks held by kworker/0:6/5267: 4 locks held by udevd/13074: #0: ffff88802cb680a0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88807f4d4888 (&of->mutex #2){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888064c23878 (kn->active#20){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88805cddf190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1014 [inline] ffff88805cddf190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 1 lock held by syz.4.2445/13408: 4 locks held by syz-executor/13434: #0: ffff88802fa00420 (sb_writers #8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] #8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff888071095888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022e3d968 (kn->active#51){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8f30aaa8 (nsim_bus_dev_list_lock ){+.+.}-{3:3} , at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166 8 locks held by syz-executor/13436: #0: ffff88802fa00420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff88806fa18088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022e3da58 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8f30aaa8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88805e5e80e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88805e5e80e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1094 [inline] #4: ffff88805e5e80e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1292 #5: ffff88805e5e9250 ( &devlink->lock_key#3){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773 #7: ffffffff8e5d1ad0 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:6022 [inline] #7: ffffffff8e5d1ad0 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many_notify+0x5c4/0x1c40 net/core/dev.c:11326 4 locks held by syz-executor/13438: #0: ffff88802fa00420 ( sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff888071091888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022e3da58 (kn->active#50){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8f30aaa8 ( nsim_bus_dev_list_lock ){+.+.}-{3:3} , at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/13441: #0: ffff88802fa00420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff88801217d488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022e3da58 (kn->active#50){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8f30aaa8 ( nsim_bus_dev_list_lock ){+.+.}-{3:3} , at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 4 locks held by syz-executor/13442: #0: ffff88802fa00420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2876 [inline] #0: ffff88802fa00420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff88802da7a488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022e3da58 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8f30aaa8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 1 lock held by syz-executor/13570: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/13572: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/13574: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/13576: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz-executor/13578: #0: ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8fa6dc88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: radio-si470x 4-1:0.0: non-zero urb status (-71) NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5267 Comm: kworker/0:6 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events free_obj_work RIP: 0010:preempt_count_add+0x2d/0x190 kernel/sched/core.c:5648 Code: fa 41 57 41 56 53 89 fb 48 c7 c0 80 49 ce 94 48 c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 ed 00 00 00 <83> 3d 3c 6b 6b 13 00 75 07 65 8b 05 bb f8 a0 7e 65 01 1d b4 f8 a0 RSP: 0018:ffffc900000069b8 EFLAGS: 00000097 RAX: 0000000000000004 RBX: 0000000000000001 RCX: ffffffff94ce4903 RDX: 00000000000001a2 RSI: ffffffff8c3f8820 RDI: 0000000000000001 RBP: 0000000000000800 R08: ffffffff8535993a R09: 1ffff11003fa7046 R10: dffffc0000000000 R11: ffffffff8ba90a60 R12: dffffc0000000000 R13: 00000000000026f7 R14: 0000000000000899 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3cfb7d CR3: 000000007c02c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000002 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: delay_tsc+0x66/0xe0 arch/x86/lib/delay.c:79 wait_for_lsr drivers/tty/serial/8250/8250_port.c:2074 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x104e/0x1770 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x865/0xfd0 kernel/printk/printk.c:3049 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4909 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4920 _dev_warn+0x122/0x170 drivers/base/core.c:4976 si470x_int_in_callback+0xba6/0x1590 drivers/media/radio/si470x/radio-si470x-usb.c:378 __usb_hcd_giveback_urb+0x42c/0x6e0 drivers/usb/core/hcd.c:1650 dummy_timer+0x830/0x45a0 drivers/usb/gadget/udc/dummy_hcd.c:1987 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x52/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x70 kernel/kcov.c:203 Code: 00 00 00 48 8b 3d 3c 7d 74 0c 48 89 de 5b e9 93 61 58 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa <48> 8b 04 24 65 48 8b 0c 25 00 d7 03 00 65 8b 15 20 71 70 7e f7 c2 RSP: 0018:ffffc90000007b38 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc9001b400000 RCX: ffff8880652c1e00 RDX: 0000000080000101 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000031 R08: ffffffff89b20c22 R09: fffff52000000f58 R10: dffffc0000000000 R11: fffff52000000f58 R12: dffffc0000000000 R13: ffffc9001b7469f4 R14: ffff88801c3742d0 R15: ffff88801c374328 fq_pie_timer+0x28d/0x590 net/sched/sch_fq_pie.c:397 call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__phys_addr+0x8/0x170 arch/x86/mm/physaddr.c:16 Code: e9 1b ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 <53> 49 89 fe e8 7f c3 50 00 48 bf ff ff ff 7f ff ff ff ff 4c 89 f6 RSP: 0018:ffffc90004187a40 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffff88801ee368c0 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: ffffffff8c3f8820 RDI: ffff88801ee368c0 RBP: ffffc90004187bb0 R08: ffffffff934ec897 R09: 1ffffffff269d912 R10: dffffc0000000000 R11: fffffbfff269d913 R12: 1ffff11003dc6d12 R13: ffff88801ee368c8 R14: ffff88801544f8c0 R15: ffffffff84af885f virt_to_folio include/linux/mm.h:1290 [inline] virt_to_slab mm/slab.h:206 [inline] kmem_cache_free+0x78/0x350 mm/slub.c:4548 free_obj_work+0x4ff/0x6d0 lib/debugobjects.c:332 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244