=============================
WARNING: suspicious RCU usage
6.15.0-rc1-syzkaller-00065-g3b07108ada81 #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:7/2955:
#0: ffff88805f80d948 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88805f80d948 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000bb27c60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000bb27c60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffffffff8ed3dfe0 (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: 2955 Comm: kworker/u8:7 Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #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.15.0-rc1-syzkaller-00065-g3b07108ada81 #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:7/2955:
#0: ffff88805f80d948 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88805f80d948 ((wq_completion)bond0#3){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000bb27c60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000bb27c60 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffffffff8ed3dfe0 (rcu_read_lock){....}-{1:3}, at: bond_mii_monitor+0x17f/0x3170 drivers/net/bonding/bond_main.c:2954
stack backtrace:
CPU: 0 UID: 0 PID: 2955 Comm: kworker/u8:7 Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #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: 0 UID: 0 PID: 2955 Comm: kworker/u8:7 Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #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 ffffc9000fe67590 by task kworker/u8:7/2955
CPU: 0 UID: 0 PID: 2955 Comm: kworker/u8:7 Not tainted 6.15.0-rc1-syzkaller-00065-g3b07108ada81 #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
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
[ffffc9000fe60000, ffffc9000fe69000) created by:
copy_process+0x5dc/0x3d10 kernel/fork.c:2259
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888022751c80 pfn:0x22751
memcg:ffff888035fb0982
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000
raw: ffff888022751c80 0000000000000000 00000001ffffffff ffff888035fb0982
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 6353, tgid 6353 (syz.1.123), ts 128072216818, free_ts 127821602371
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f4/0x240 mm/page_alloc.c:1717
prep_new_page mm/page_alloc.c:1725 [inline]
get_page_from_freelist+0x352b/0x36c0 mm/page_alloc.c:3652
__alloc_frozen_pages_noprof+0x211/0x5b0 mm/page_alloc.c:4934
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:3844
__vmalloc_node_noprof+0x80/0xa0 mm/vmalloc.c:3907
alloc_thread_stack_node kernel/fork.c:314 [inline]
dup_task_struct+0x3f7/0x870 kernel/fork.c:1136
copy_process+0x5dc/0x3d10 kernel/fork.c:2259
kernel_clone+0x242/0x930 kernel/fork.c:2844
__do_sys_clone3 kernel/fork.c:3148 [inline]
__se_sys_clone3+0x348/0x380 kernel/fork.c:3127
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5213 tgid 5213 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1262 [inline]
__free_frozen_pages+0xde8/0x10a0 mm/page_alloc.c:2680
__slab_free+0x2c6/0x390 mm/slub.c:4557
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x9a/0x140 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x14f/0x170 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x23/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4151 [inline]
slab_alloc_node mm/slub.c:4200 [inline]
kmem_cache_alloc_noprof+0x1e1/0x390 mm/slub.c:4207
getname_flags+0xb6/0x530 fs/namei.c:146
getname include/linux/fs.h:2852 [inline]
__do_sys_unlink fs/namei.c:4654 [inline]
__se_sys_unlink fs/namei.c:4652 [inline]
__x64_sys_unlink+0x3a/0x50 fs/namei.c:4652
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffffc9000fe67480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffc9000fe67500: 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 f3
>ffffc9000fe67580: f3 f3 f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00
^
ffffc9000fe67600: 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1
ffffc9000fe67680: 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00
==================================================================