=============================
WARNING: suspicious RCU usage
6.14.0-syzkaller-11125-g609706855d90 #0 Not tainted
-----------------------------
net/sched/sch_generic.c:1285 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
3 locks held by kworker/u8:5/305:
#0: ffff88805e88a948 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88805e88a948 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc900030cfc60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900030cfc60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x17f/0x3170 drivers/net/bonding/bond_main.c:2954
stack backtrace:
CPU: 1 UID: 0 PID: 305 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
lockdep_rcu_suspicious+0x175/0x200 kernel/locking/lockdep.c:6865
dev_deactivate_queue+0x8f/0x1b0 net/sched/sch_generic.c:1285
netdev_for_each_tx_queue include/linux/netdevice.h:2650 [inline]
dev_deactivate_many+0x14c/0xca0 net/sched/sch_generic.c:1361
dev_deactivate+0x186/0x280 net/sched/sch_generic.c:1398
linkwatch_do_dev+0x10a/0x170 net/core/link_watch.c:184
ethtool_op_get_link+0x15/0x60 net/ethtool/ioctl.c:63
bond_check_dev_link+0x1fb/0x4b0 drivers/net/bonding/bond_main.c:864
bond_miimon_inspect drivers/net/bonding/bond_main.c:2734 [inline]
bond_mii_monitor+0x49d/0x3170 drivers/net/bonding/bond_main.c:2956
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
=============================
WARNING: suspicious RCU usage
6.14.0-syzkaller-11125-g609706855d90 #0 Not tainted
-----------------------------
./include/linux/rtnetlink.h:163 suspicious rcu_dereference_protected() usage!
other info that might help us debug this:
rcu_scheduler_active = 2, debug_locks = 1
3 locks held by kworker/u8:5/305:
#0: ffff88805e88a948 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88805e88a948 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc900030cfc60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc900030cfc60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffffffff8ed3b560 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x17f/0x3170 drivers/net/bonding/bond_main.c:2954
stack backtrace:
CPU: 1 UID: 0 PID: 305 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
lockdep_rcu_suspicious+0x175/0x200 kernel/locking/lockdep.c:6865
dev_ingress_queue include/linux/rtnetlink.h:163 [inline]
dev_deactivate_many+0x228/0xca0 net/sched/sch_generic.c:1363
dev_deactivate+0x186/0x280 net/sched/sch_generic.c:1398
linkwatch_do_dev+0x10a/0x170 net/core/link_watch.c:184
ethtool_op_get_link+0x15/0x60 net/ethtool/ioctl.c:63
bond_check_dev_link+0x1fb/0x4b0 drivers/net/bonding/bond_main.c:864
bond_miimon_inspect drivers/net/bonding/bond_main.c:2734 [inline]
bond_mii_monitor+0x49d/0x3170 drivers/net/bonding/bond_main.c:2956
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 UID: 0 PID: 305 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
assign_lock_key+0x135/0x150 kernel/locking/lockdep.c:986
register_lock_class+0xd6/0x330 kernel/locking/lockdep.c:1300
__lock_acquire+0x80/0xd80 kernel/locking/lockdep.c:5110
lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
netif_tx_lock+0x31/0x1f0 net/sched/sch_generic.c:468
netif_tx_lock_bh include/linux/netdevice.h:4724 [inline]
netdev_watchdog_down net/sched/sch_generic.c:569 [inline]
dev_deactivate_many+0x2fc/0xca0 net/sched/sch_generic.c:1367
dev_deactivate+0x186/0x280 net/sched/sch_generic.c:1398
linkwatch_do_dev+0x10a/0x170 net/core/link_watch.c:184
ethtool_op_get_link+0x15/0x60 net/ethtool/ioctl.c:63
bond_check_dev_link+0x1fb/0x4b0 drivers/net/bonding/bond_main.c:864
bond_miimon_inspect drivers/net/bonding/bond_main.c:2734 [inline]
bond_mii_monitor+0x49d/0x3170 drivers/net/bonding/bond_main.c:2956
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
==================================================================
BUG: KASAN: stack-out-of-bounds in timer_is_static_object+0x35/0x80 kernel/time/timer.c:733
Read of size 8 at addr ffffc900054ff510 by task kworker/u8:5/305
CPU: 1 UID: 0 PID: 305 Comm: kworker/u8:5 Not tainted 6.14.0-syzkaller-11125-g609706855d90 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:408 [inline]
print_report+0x16e/0x5b0 mm/kasan/report.c:521
kasan_report+0x143/0x180 mm/kasan/report.c:634
timer_is_static_object+0x35/0x80 kernel/time/timer.c:733
lookup_object_or_alloc lib/debugobjects.c:679 [inline]
debug_object_assert_init+0x24d/0x4d0 lib/debugobjects.c:1008
debug_timer_assert_init kernel/time/timer.c:845 [inline]
debug_assert_init kernel/time/timer.c:890 [inline]
__timer_delete+0x32/0x390 kernel/time/timer.c:1408
del_timer include/linux/timer.h:202 [inline]
netdev_watchdog_down net/sched/sch_generic.c:570 [inline]
dev_deactivate_many+0x308/0xca0 net/sched/sch_generic.c:1367
dev_deactivate+0x186/0x280 net/sched/sch_generic.c:1398
linkwatch_do_dev+0x10a/0x170 net/core/link_watch.c:184
ethtool_op_get_link+0x15/0x60 net/ethtool/ioctl.c:63
bond_check_dev_link+0x1fb/0x4b0 drivers/net/bonding/bond_main.c:864
bond_miimon_inspect drivers/net/bonding/bond_main.c:2734 [inline]
bond_mii_monitor+0x49d/0x3170 drivers/net/bonding/bond_main.c:2956
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address belongs to the virtual mapping at
[ffffc900054f8000, ffffc90005501000) created by:
copy_process+0x5dc/0x3d10 kernel/fork.c:2229
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88803401cd80 pfn:0x3401c
memcg:ffff888034ebed82
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000
raw: ffff88803401cd80 0000000000000000 00000001ffffffff ffff888034ebed82
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 7934, tgid 7934 (syz.1.686), ts 213563827551, free_ts 213335533615
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1585
prep_new_page mm/page_alloc.c:1593 [inline]
get_page_from_freelist+0x3ac1/0x3c60 mm/page_alloc.c:3538
__alloc_frozen_pages_noprof+0x266/0x580 mm/page_alloc.c:4806
alloc_pages_mpol+0x339/0x690 mm/mempolicy.c:2301
alloc_frozen_pages_noprof mm/mempolicy.c:2372 [inline]
alloc_pages_noprof+0x121/0x190 mm/mempolicy.c:2392
vm_area_alloc_pages mm/vmalloc.c:3591 [inline]
__vmalloc_area_node mm/vmalloc.c:3669 [inline]
__vmalloc_node_range_noprof+0x9cb/0x1390 mm/vmalloc.c:3846
alloc_thread_stack_node kernel/fork.c:314 [inline]
dup_task_struct+0x444/0x8c0 kernel/fork.c:1131
copy_process+0x5dc/0x3d10 kernel/fork.c:2229
kernel_clone+0x242/0x930 kernel/fork.c:2814
__do_sys_clone3 kernel/fork.c:3118 [inline]
__se_sys_clone3+0x348/0x380 kernel/fork.c:3097
do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
do_int80_emulation+0x11f/0x200 arch/x86/entry/syscall_32.c:172
asm_int80_emulation+0x1a/0x20 arch/x86/include/asm/idtentry.h:626
page last free pid 23 tgid 23 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1130 [inline]
__free_frozen_pages+0xd85/0x1030 mm/page_alloc.c:2707
pagetable_free include/linux/mm.h:2913 [inline]
pagetable_dtor_free include/linux/mm.h:3011 [inline]
__tlb_remove_table+0x36b/0x460 include/asm-generic/tlb.h:216
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x79/0xf0 mm/mmu_gather.c:282
rcu_do_batch kernel/rcu/tree.c:2568 [inline]
rcu_core+0xaac/0x17a0 kernel/rcu/tree.c:2824
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
run_ksoftirqd+0xcf/0x130 kernel/softirq.c:968
smpboot_thread_fn+0x576/0xaa0 kernel/smpboot.c:164
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Memory state around the buggy address:
ffffc900054ff400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffc900054ff480: 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 f3
>ffffc900054ff500: f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00
^
ffffc900054ff580: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
ffffc900054ff600: 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00
==================================================================