INFO: task udevd:9237 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:22816 pid: 9237 ppid: 3561 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5049 [inline]
__schedule+0x11bb/0x4390 kernel/sched/core.c:6395
schedule+0x11b/0x1e0 kernel/sched/core.c:6478
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
__mutex_lock_common+0xc71/0x2390 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
device_lock include/linux/device.h:764 [inline]
uevent_show+0x17a/0x330 drivers/base/core.c:2408
dev_attr_show+0x50/0xb0 drivers/base/core.c:2110
sysfs_kf_seq_show+0x316/0x4c0 fs/sysfs/file.c:61
seq_read_iter+0x49b/0xd50 fs/seq_file.c:230
call_read_iter include/linux/fs.h:2167 [inline]
new_sync_read fs/read_write.c:404 [inline]
vfs_read+0x725/0xcf0 fs/read_write.c:485
ksys_read+0x14d/0x250 fs/read_write.c:623
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f8d1f851407
RSP: 002b:00007fffdcd21ea0 EFLAGS: 00000202 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f8d1f763880 RCX: 00007f8d1f851407
RDX: 0000000000001000 RSI: 00005598e17b9e00 RDI: 0000000000000008
RBP: 00007f8d1f999ff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a
R13: 00007f8d1f999ea0 R14: 0000000000000000 R15: 00005598e170b7a0
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c11c760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3953:
#0: ffff88814c4c5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900025e62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
3 locks held by kworker/0:4/4230:
#0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc900031ffd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#2: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x320/0x6b0 kernel/rcu/tree_exp.h:845
6 locks held by kworker/0:7/4258:
#0: ffff8881425f7d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1
#1: ffffc900033bfd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285
#2: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#2: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1a7/0x5560 drivers/usb/core/hub.c:5827
#3: ffff88802ba3e220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#3: ffff88802ba3e220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954
#4: ffff8880583771a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#4: ffff8880583771a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954
#5: ffffffff8bfccfd0 (umhelper_sem){++++}-{3:3}, at: usermodehelper_read_trylock+0xe7/0x320 kernel/umh.c:217
4 locks held by udevd/9237:
#0: ffff888061487e80 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182
#1: ffff88805e98ec88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112
#2: ffff88805b9e1cb8 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113
#3: ffff88802ba3e220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#3: ffff88802ba3e220 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408
1 lock held by syz.9.1422/12901:
#0: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#0: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x16b/0x790 drivers/usb/core/devio.c:1040
1 lock held by syz.5.1490/13381:
2 locks held by syz-executor/13860:
#0: ffff888063f1c0e0 (&type->s_umount_key#55){++++}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:365
#1: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#1: ffffffff8c1211e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845
1 lock held by syz.4.1650/14246:
#0: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:764 [inline]
#0: ffff888147b8d220 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x16b/0x790 drivers/usb/core/devio.c:1040
3 locks held by syz.5.1676/14445:
#0: ffff888062d5cff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737
#1: ffff888062d5c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline]
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
3 locks held by syz.0.1706/14588:
#0: ffff888078c1cff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737
#1: ffff888078c1c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline]
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
3 locks held by syz-executor/14600:
#0: ffff88807e6a8ff0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1030 net/bluetooth/hci_core.c:1737
#1: ffff88807e6a8078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x3f4/0x1030 net/bluetooth/hci_core.c:1782
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1517 [inline]
#2: ffffffff8d37efa8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x163/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+0xe0f/0xe50 kernel/hung_task.c:369
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9390 Comm: kworker/u4:20 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x77/0x290 mm/kasan/generic.c:189
Code: 0c 03 48 8d 5c 37 ff 48 c1 eb 03 4e 8d 14 3b 4d 89 d6 4d 29 ce 49 83 fe 10 7f 26 4d 85 f6 0f 84 39 01 00 00 48 f7 d3 4c 01 db <41> 80 39 00 0f 85 c1 01 00 00 49 ff c1 48 ff c3 75 ee e9 1c 01 00
RSP: 0018:ffffc9000339f800 EFLAGS: 00000086
RAX: 0000000000000001 RBX: ffffffffffffffff RCX: ffffffff815c0fcf
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffbe1b0
RBP: ffffc9000339fa70 R08: dffffc0000000000 R09: fffffbfff1ff7c36
R10: fffffbfff1ff7c37 R11: 1ffffffff1ff7c36 R12: 00000000ce1a632c
R13: ffff8880295d1dc0 R14: 0000000000000001 R15: dffffc0000000001
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbe78a107d0 CR3: 0000000040bbb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
hlock_class kernel/locking/lockdep.c:197 [inline]
__lock_acquire+0x10af/0x7c60 kernel/locking/lockdep.c:5008
lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313
rcu_read_lock include/linux/rcupdate.h:740 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0xc9/0x5c0 net/batman-adv/network-coding.c:723
process_one_work+0x863/0x1000 kernel/workqueue.c:2310
worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
kthread+0x436/0x520 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287