INFO: task syz.5.2454:13507 blocked for more than 143 seconds.
Not tainted 6.10.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.2454 state:D stack:14584 pid:13507 tgid:13506 ppid:11922 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
io_schedule+0x8d/0x110 kernel/sched/core.c:9043
folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307
invalidate_inode_pages2_range+0x491/0x10e0 mm/truncate.c:648
bch2_write_invalidate_inode_pages_range+0xce/0x120 fs/bcachefs/fs-io-pagecache.c:68
bch2_direct_write+0x2d95/0x3050 fs/bcachefs/fs-io-direct.c:647
bch2_write_iter+0x206/0x2840 fs/bcachefs/fs-io-buffered.c:1135
iter_file_splice_write+0xbd9/0x14e0 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0x120/0x220 fs/splice.c:1164
splice_direct_to_actor+0x590/0xc90 fs/splice.c:1108
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x28c/0x3e0 fs/splice.c:1233
do_sendfile+0x56d/0xe20 fs/read_write.c:1295
__do_sys_sendfile64 fs/read_write.c:1362 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1348
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:0x7fb777b75bd9
RSP: 002b:00007fb7788d5048 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fb777d03f60 RCX: 00007fb777b75bd9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000006
RBP: 00007fb777be4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000100000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb777d03f60 R15: 00007ffdf318ddc8
INFO: task syz.5.2454:13531 blocked for more than 145 seconds.
Not tainted 6.10.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.2454 state:D stack:23416 pid:13531 tgid:13506 ppid:11922 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
__bch2_two_state_lock+0x171/0x200 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:56 [inline]
bch2_readahead+0xcad/0x1860 fs/bcachefs/fs-io-buffered.c:269
read_pages+0x180/0x840 mm/readahead.c:160
page_cache_ra_order+0xa9f/0xd00 mm/readahead.c:535
page_cache_sync_readahead include/linux/pagemap.h:1306 [inline]
filemap_get_pages+0x49d/0x2090 mm/filemap.c:2529
filemap_splice_read+0x654/0xeb0 mm/filemap.c:2894
do_splice_read fs/splice.c:985 [inline]
splice_direct_to_actor+0x4b9/0xc90 fs/splice.c:1089
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x28c/0x3e0 fs/splice.c:1233
vfs_copy_file_range+0xd37/0x1530 fs/read_write.c:1558
__do_sys_copy_file_range fs/read_write.c:1612 [inline]
__se_sys_copy_file_range+0x3f2/0x5d0 fs/read_write.c:1575
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:0x7fb777b75bd9
RSP: 002b:00007fb7788b4048 EFLAGS: 00000246 ORIG_RAX: 0000000000000146
RAX: ffffffffffffffda RBX: 00007fb777d04038 RCX: 00007fb777b75bd9
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007fb777be4e60 R08: 0000000000000006 R09: 0000000000000000
R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fb777d04038 R15: 00007ffdf318ddc8
Showing all locks held in the system:
4 locks held by kworker/u8:0/11:
1 lock held by rcu_exp_gp_kthr/19:
#0: ffff8880b953e798 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
1 lock held by khungtaskd/30:
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4846:
#0: ffff88802a8760a0 (&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+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
3 locks held by kworker/0:6/5174:
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc900030afd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc900030afd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
#2: ffff88802e9ff240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
3 locks held by kworker/u8:26/9367:
#0: ffff888029cff148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888029cff148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc90002defd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc90002defd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
#2: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193
1 lock held by syz.5.2454/13507:
#0: ffff888056cc8420 (sb_writers#34){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x220 fs/splice.c:1163
1 lock held by syz.5.2454/13531:
#0: ffff8880116f1928 (mapping.invalidate_lock#13){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:846 [inline]
#0: ffff8880116f1928 (mapping.invalidate_lock#13){.+.+}-{3:3}, at: page_cache_ra_order+0x3e1/0xd00 mm/readahead.c:514
3 locks held by syz-executor/14575:
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632
#1: ffff88806910d408 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x22d/0x420 drivers/net/wireguard/device.c:50
#2: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#2: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939
1 lock held by syz-executor/14596:
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632
1 lock held by syz-executor/14635:
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f5e6dc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
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+0xfde/0x1020 kernel/hung_task.c:379
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 14596 Comm: syz-executor Not tainted 6.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__lock_acquire+0xc0c/0x1fd0 kernel/locking/lockdep.c:5091
Code: 04 16 84 c0 0f 85 d3 0c 00 00 41 8b 07 a9 00 00 18 00 0f 84 d0 04 00 00 4c 89 ef 48 89 ee ba 08 00 00 00 e8 b6 5f 00 00 85 c0 <0f> 84 64 05 00 00 48 c7 c0 e0 f6 79 94 48 c1 e8 03 48 bf 00 00 00
RSP: 0018:ffffc90000a18ad0 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffffffff92c913c5 RCX: ffffffff8172da6a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fa7588
RBP: ffff888029fca980 R08: ffffffff92fa758f R09: 1ffffffff25f4eb1
R10: dffffc0000000000 R11: fffffbfff25f4eb2 R12: 0000000000000001
R13: ffff888029fc9e00 R14: 1ffff110053f9534 R15: ffff888029fca9a0
FS: 000055557fc53500(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3fca0d0ab8 CR3: 0000000071b10000 CR4: 0000000000350ef0
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:72
timekeeping_debug_get_ns kernel/time/timekeeping.c:256 [inline]
timekeeping_get_ns+0x5c/0x420 kernel/time/timekeeping.c:401
ktime_get_update_offsets_now+0x90/0x250 kernel/time/timekeeping.c:2323
hrtimer_update_base kernel/time/hrtimer.c:634 [inline]
hrtimer_interrupt+0x133/0x990 kernel/time/hrtimer.c:1797
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x112/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+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2010 [inline]
RIP: 0010:vprintk_emit+0x576/0x770 kernel/printk/printk.c:2347
Code: 08 20 00 4c 21 e3 0f 85 3a 01 00 00 e8 63 03 20 00 4d 89 ec 4d 85 ff 75 07 e8 56 03 20 00 eb 06 e8 4f 03 20 00 fb 44 8b 3c 24 <48> c7 c7 60 fa 20 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc90004a96900 EFLAGS: 00000293
RAX: ffffffff81762461 RBX: 0000000000000000 RCX: ffff888029fc9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004a969f0 R08: ffffffff8176243f R09: 1ffffffff25f4ec6
R10: dffffc0000000000 R11: fffffbfff25f4ec7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffff817622bf R15: 000000000000005d
_printk+0xd5/0x120 kernel/printk/printk.c:2373
batadv_check_known_mac_addr+0x2b1/0x410 net/batman-adv/hard-interface.c:526
batadv_hard_if_event+0x3a5/0x1620 net/batman-adv/hard-interface.c:998
notifier_call_chain+0x1a1/0x3e0 kernel/notifier.c:93
call_netdevice_notifiers_extack net/core/dev.c:2030 [inline]
call_netdevice_notifiers net/core/dev.c:2044 [inline]
dev_set_mac_address+0x3d9/0x510 net/core/dev.c:9044
dev_set_mac_address_user+0x31/0x50 net/core/dev.c:9058
do_setlink+0x8b3/0x41f0 net/core/rtnetlink.c:2855
__rtnl_newlink net/core/rtnetlink.c:3696 [inline]
rtnl_newlink+0x180b/0x20a0 net/core/rtnetlink.c:3743
rtnetlink_rcv_msg+0x89d/0x1180 net/core/rtnetlink.c:6635
netlink_rcv_skb+0x1e5/0x430 net/netlink/af_netlink.c:2564
netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
netlink_unicast+0x7ec/0x980 net/netlink/af_netlink.c:1361
netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg+0x223/0x270 net/socket.c:745
__sys_sendto+0x3a4/0x4f0 net/socket.c:2192
__do_sys_sendto net/socket.c:2204 [inline]
__se_sys_sendto net/socket.c:2200 [inline]
__x64_sys_sendto+0xde/0x100 net/socket.c:2200
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:0x7fc8a737796c
Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b
RSP: 002b:00007ffe2c7e7610 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fc8a8034620 RCX: 00007fc8a737796c
RDX: 000000000000002c RSI: 00007fc8a8034670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe2c7e7664 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007fc8a8034670 R15: 0000000000000000