INFO: task udevd:12800 blocked for more than 143 seconds.
Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25024 pid:12800 ppid:4483 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0xee1/0x5a10 kernel/sched/core.c:6695
schedule+0xe7/0x1b0 kernel/sched/core.c:6771
io_schedule+0xbe/0x130 kernel/sched/core.c:9026
folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301
__folio_lock mm/filemap.c:1629 [inline]
folio_lock include/linux/pagemap.h:1042 [inline]
folio_lock include/linux/pagemap.h:1038 [inline]
__filemap_get_folio+0x69e/0xbc0 mm/filemap.c:1882
truncate_inode_pages_range+0x3ad/0x1030 mm/truncate.c:376
kill_bdev block/bdev.c:76 [inline]
blkdev_flush_mapping+0x156/0x320 block/bdev.c:630
blkdev_put_whole+0xb9/0xe0 block/bdev.c:661
blkdev_put+0x40f/0x8e0 block/bdev.c:898
blkdev_release+0x82/0xa0 block/fops.c:604
__fput+0x3f7/0xa70 fs/file_table.c:384
__fput_sync+0x47/0x50 fs/file_table.c:465
__do_sys_close fs/open.c:1572 [inline]
__se_sys_close fs/open.c:1557 [inline]
__x64_sys_close+0x87/0xf0 fs/open.c:1557
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4cff3890a8
RSP: 002b:00007ffde7d807c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 00007f4cff2b2ae0 RCX: 00007f4cff3890a8
RDX: 0000000003938700 RSI: 000000000aba9500 RDI: 0000000000000008
RBP: 0000563e00356fa0 R08: 0000000000000001 R09: 8e45e3d518361038
R10: 00000000000001b6 R11: 0000000000000246 R12: 0000000000000002
R13: 0000563e0036e9c0 R14: 0000000000000008 R15: 0000563e0030b2c0
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline]
#0: ffffffff8cba7920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613
2 locks held by getty/4792:
#0: ffff88814bbbd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900020582f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206
1 lock held by udevd/12800:
#0: ffff88801cd614c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xb0/0x8e0 block/bdev.c:884
1 lock held by syz-executor.0/19209:
#0: ffff88801cd614c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:786
3 locks held by syz-executor.2/20611:
#0: ffff8880b98297d8 (&base->lock){-.-.}-{2:2}, at: call_timer_fn+0x123/0x580 kernel/time/timer.c:1697
#1: ffff88801f9fb1e8 (rlock-AF_UNIX){+.+.}-{2:2}, at: __skb_try_recv_datagram+0x141/0x4f0 net/core/datagram.c:262
#2: ffff8880136d7df8 (ptlock_ptr(ptdesc)#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#2: ffff8880136d7df8 (ptlock_ptr(ptdesc)#2){+.+.}-{2:2}, at: __pte_offset_map_lock+0xf1/0x2f0 mm/pgtable-generic.c:373
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf87/0x1210 kernel/hung_task.c:379
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19198 Comm: kworker/u4:1 Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_wait_context kernel/locking/lockdep.c:5167 [inline]
RIP: 0010:__lock_acquire+0x10c6/0x5de0 kernel/locking/lockdep.c:5086
Code: 8b 84 24 08 01 00 00 65 48 2b 04 25 28 00 00 00 0f 85 9f 33 00 00 48 81 c4 10 01 00 00 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <45> 31 e4 e9 35 f5 ff ff 8b 4c 24 10 4d 8d 65 22 85 c9 0f 85 e2 f7
RSP: 0018:ffffc90004617958 EFLAGS: 00000046
RAX: 0000000000000007 RBX: 0000000000000020 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff888076e90100
RBP: 0000000000000002 R08: dffffc0000000000 R09: fffffbfff233cfd0
R10: ffffffff919e7e87 R11: 0000000000000000 R12: ffff888076e90bc1
R13: ffff888076e90c18 R14: ffff888076e90bc8 R15: 00000000ffffffff
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020f4f030 CR3: 000000000c976000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire kernel/locking/lockdep.c:5753 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5718
rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
rcu_read_lock include/linux/rcupdate.h:749 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x16e/0x10e0 net/batman-adv/network-coding.c:719
process_one_work+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304