INFO: task syz.1.1084:11568 blocked for more than 143 seconds.
Not tainted 6.14.0-rc4-syzkaller-00073-g5394eea10651 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1084 state:D stack:23840 pid:11568 tgid:11567 ppid:7681 task_flags:0x400040 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914
rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
i_mmap_lock_read include/linux/fs.h:564 [inline]
rmap_walk_file+0x69c/0x780 mm/rmap.c:2694
remove_migration_ptes mm/migrate.c:365 [inline]
unmap_and_move_huge_page mm/migrate.c:1518 [inline]
migrate_hugetlbs mm/migrate.c:1640 [inline]
migrate_pages+0xd7d/0x3680 mm/migrate.c:2070
do_mbind mm/mempolicy.c:1394 [inline]
kernel_mbind mm/mempolicy.c:1537 [inline]
__do_sys_mbind mm/mempolicy.c:1611 [inline]
__se_sys_mbind+0x1489/0x1950 mm/mempolicy.c:1607
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcab958d169
RSP: 002b:00007fcaba328038 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 00007fcab97a5fa0 RCX: 00007fcab958d169
RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000400000001000
RBP: 00007fcab960e2a0 R08: 0000000000000040 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fcab97a5fa0 R15: 00007fcab98cfa28
INFO: task syz.1.1084:11608 blocked for more than 144 seconds.
Not tainted 6.14.0-rc4-syzkaller-00073-g5394eea10651 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1084 state:D stack:25040 pid:11608 tgid:11567 ppid:7681 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x190e/0x4c90 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
io_schedule+0x8d/0x110 kernel/sched/core.c:7690
folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1318
__folio_lock mm/filemap.c:1665 [inline]
folio_lock include/linux/pagemap.h:1163 [inline]
__filemap_get_folio+0x14e/0xae0 mm/filemap.c:1918
filemap_lock_folio include/linux/pagemap.h:800 [inline]
filemap_lock_hugetlb_folio include/linux/hugetlb.h:790 [inline]
hugetlbfs_zero_partial_page+0xb0/0x590 fs/hugetlbfs/inode.c:656
hugetlbfs_punch_hole fs/hugetlbfs/inode.c:710 [inline]
hugetlbfs_fallocate+0xbd2/0x11a0 fs/hugetlbfs/inode.c:743
vfs_fallocate+0x623/0x7a0 fs/open.c:338
madvise_remove mm/madvise.c:1034 [inline]
madvise_vma_behavior mm/madvise.c:1269 [inline]
madvise_walk_vmas mm/madvise.c:1511 [inline]
do_madvise+0x23c1/0x4db0 mm/madvise.c:1698
__do_sys_madvise mm/madvise.c:1714 [inline]
__se_sys_madvise mm/madvise.c:1712 [inline]
__x64_sys_madvise+0xa6/0xc0 mm/madvise.c:1712
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcab958d169
RSP: 002b:00007fcaba307038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 00007fcab97a6080 RCX: 00007fcab958d169
RDX: 0000000000000009 RSI: 0000000000600002 RDI: 0000400000000000
RBP: 00007fcab960e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fcab97a6080 R15: 00007fcab98cfa28
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8eb38f60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
2 locks held by kworker/u8:4/62:
3 locks held by kworker/u8:5/1097:
#0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline]
#0: ffff88801b089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3317
#1: ffffc90003f0fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
#1: ffffc90003f0fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3317
#2: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:285
1 lock held by dhcpcd/5501:
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:129 [inline]
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bc0 net/ipv4/devinet.c:987
2 locks held by getty/5588:
#0: ffff88803161c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211
1 lock held by syz.6.380/8017:
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517
1 lock held by syz.1.1084/11568:
#0: ffff88807ebeec98 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: i_mmap_lock_read include/linux/fs.h:564 [inline]
#0: ffff88807ebeec98 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: rmap_walk_file+0x69c/0x780 mm/rmap.c:2694
3 locks held by syz.1.1084/11608:
#0: ffff8880222ee420 (sb_writers#15){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline]
#0: ffff8880222ee420 (sb_writers#15){.+.+}-{0:0}, at: vfs_fallocate+0x59d/0x7a0 fs/open.c:337
#1: ffff88807ebee9c8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline]
#1: ffff88807ebee9c8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: hugetlbfs_punch_hole fs/hugetlbfs/inode.c:685 [inline]
#1: ffff88807ebee9c8 (&sb->s_type->i_mutex_key#21){+.+.}-{4:4}, at: hugetlbfs_fallocate+0x408/0x11a0 fs/hugetlbfs/inode.c:743
#2: ffff88807ebeec98 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: i_mmap_lock_write include/linux/fs.h:544 [inline]
#2: ffff88807ebeec98 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: hugetlbfs_punch_hole fs/hugetlbfs/inode.c:693 [inline]
#2: ffff88807ebeec98 (&hugetlbfs_i_mmap_rwsem_key){++++}-{4:4}, at: hugetlbfs_fallocate+0x4ce/0x11a0 fs/hugetlbfs/inode.c:743
3 locks held by syz-executor/12960:
#0: ffff88805ed88d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline]
#0: ffff88805ed88d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2677
#1: ffff88805ed88078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60d/0x1260 net/bluetooth/hci_sync.c:5185
#2: ffffffff8eb3e438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline]
#2: ffffffff8eb3e438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:996
1 lock held by syz-executor/13454:
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517
3 locks held by syz-executor/13978:
#0: ffff88802d4f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline]
#0: ffff88802d4f0d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2677
#1: ffff88802d4f0078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x60d/0x1260 net/bluetooth/hci_sync.c:5185
#2: ffffffff8eb3e438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:302 [inline]
#2: ffffffff8eb3e438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x820 kernel/rcu/tree_exp.h:996
1 lock held by syz-executor/13996:
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fed5208 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.14.0-rc4-syzkaller-00073-g5394eea10651 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:236 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:399
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 1097 Comm: kworker/u8:5 Not tainted 6.14.0-rc4-syzkaller-00073-g5394eea10651 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lockdep_softirqs_off+0x1c/0x440 kernel/locking/lockdep.c:4563
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec 80 00 00 00 <48> 89 7c 24 18 65 48 8b 04 25 28 00 00 00 48 89 44 24 60 49 bd 00
RSP: 0018:ffffc90003f0f860 EFLAGS: 00000086
RAX: 0000000080000000 RBX: ffffc90003f0f960 RCX: 0000000000000036
RDX: 1ffff110067129c9 RSI: 0000000000000201 RDI: ffffffff8bd43518
RBP: ffffc90003f0f910 R08: ffffffff9454992f R09: 1ffffffff28a9325
R10: dffffc0000000000 R11: fffffbfff28a9326 R12: dffffc0000000000
R13: 1ffff920007e1f28 R14: 0000000000000246 R15: 0000000000000201
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005575ca268bf0 CR3: 000000000e938000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__local_bh_disable_ip+0xfb/0x220 kernel/softirq.c:329
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline]
_raw_spin_lock_bh+0x1c/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x365/0x610 net/batman-adv/network-coding.c:722
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xabe/0x18e0 kernel/workqueue.c:3317
worker_thread+0x870/0xd30 kernel/workqueue.c:3398
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244