=============================
WARNING: suspicious RCU usage
6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0 Not tainted
-----------------------------
net/sched/sch_generic.c:1290 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/u32:9/1201:
#0: ffff88802f080148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90006577d80 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2937
stack backtrace:
CPU: 3 UID: 0 PID: 1201 Comm: kworker/u32:9 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120
lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6821
dev_deactivate_queue+0x167/0x190 net/sched/sch_generic.c:1290
netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline]
dev_deactivate_many+0xe7/0xb20 net/sched/sch_generic.c:1363
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1403
linkwatch_do_dev+0x11e/0x160 net/core/link_watch.c:175
linkwatch_sync_dev+0x181/0x210 net/core/link_watch.c:263
ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:62
bond_check_dev_link+0x197/0x490 drivers/net/bonding/bond_main.c:873
bond_miimon_inspect drivers/net/bonding/bond_main.c:2717 [inline]
bond_mii_monitor+0x3c1/0x2d90 drivers/net/bonding/bond_main.c:2939
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
=============================
WARNING: suspicious RCU usage
6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0 Not tainted
-----------------------------
include/linux/rtnetlink.h:100 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/u32:9/1201:
#0: ffff88802f080148 ((wq_completion)bond0#7){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90006577d80 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: bond_mii_monitor+0x140/0x2d90 drivers/net/bonding/bond_main.c:2937
stack backtrace:
CPU: 3 UID: 0 PID: 1201 Comm: kworker/u32:9 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120
lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6821
dev_ingress_queue include/linux/rtnetlink.h:100 [inline]
dev_deactivate_many+0x8af/0xb20 net/sched/sch_generic.c:1365
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1403
linkwatch_do_dev+0x11e/0x160 net/core/link_watch.c:175
linkwatch_sync_dev+0x181/0x210 net/core/link_watch.c:263
ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:62
bond_check_dev_link+0x197/0x490 drivers/net/bonding/bond_main.c:873
bond_miimon_inspect drivers/net/bonding/bond_main.c:2717 [inline]
bond_mii_monitor+0x3c1/0x2d90 drivers/net/bonding/bond_main.c:2939
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
==================================================================
BUG: KASAN: stack-out-of-bounds in dev_deactivate_queue+0x17e/0x190 net/sched/sch_generic.c:1290
Read of size 8 at addr ffffc90006237b20 by task kworker/u32:9/1201
CPU: 3 UID: 0 PID: 1201 Comm: kworker/u32:9 Not tainted 6.12.0-rc7-syzkaller-00070-g0a9b9d17f3a7 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: bond0 bond_mii_monitor
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:377 [inline]
print_report+0xc3/0x620 mm/kasan/report.c:488
kasan_report+0xd9/0x110 mm/kasan/report.c:601
dev_deactivate_queue+0x17e/0x190 net/sched/sch_generic.c:1290
netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline]
dev_deactivate_many+0xe7/0xb20 net/sched/sch_generic.c:1363
dev_deactivate+0xf9/0x1c0 net/sched/sch_generic.c:1403
linkwatch_do_dev+0x11e/0x160 net/core/link_watch.c:175
linkwatch_sync_dev+0x181/0x210 net/core/link_watch.c:263
ethtool_op_get_link+0x1d/0x70 net/ethtool/ioctl.c:62
bond_check_dev_link+0x197/0x490 drivers/net/bonding/bond_main.c:873
bond_miimon_inspect drivers/net/bonding/bond_main.c:2717 [inline]
bond_mii_monitor+0x3c1/0x2d90 drivers/net/bonding/bond_main.c:2939
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
The buggy address belongs to the virtual mapping at
[ffffc90006230000, ffffc90006239000) created by:
kernel_clone+0xfd/0x960 kernel/fork.c:2786
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x272bf
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000
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_NOWARN|__GFP_ZERO), pid 2, tgid 2 (kthreadd), ts 6849435574, free_ts 0
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x2d1/0x350 mm/page_alloc.c:1556
prep_new_page mm/page_alloc.c:1564 [inline]
get_page_from_freelist+0xfce/0x2f80 mm/page_alloc.c:3474
__alloc_pages_noprof+0x223/0x25a0 mm/page_alloc.c:4750
alloc_pages_mpol_noprof+0x2c9/0x610 mm/mempolicy.c:2265
vm_area_alloc_pages mm/vmalloc.c:3568 [inline]
__vmalloc_area_node mm/vmalloc.c:3646 [inline]
__vmalloc_node_range_noprof+0x724/0x15a0 mm/vmalloc.c:3828
alloc_thread_stack_node kernel/fork.c:315 [inline]
dup_task_struct kernel/fork.c:1116 [inline]
copy_process+0x3076/0x8cb0 kernel/fork.c:2204
kernel_clone+0xfd/0x960 kernel/fork.c:2786
kernel_thread+0xc0/0x100 kernel/fork.c:2848
create_kthread kernel/kthread.c:412 [inline]
kthreadd+0x4ef/0x7d0 kernel/kthread.c:767
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
page_owner free stack trace missing
Memory state around the buggy address:
ffffc90006237a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffffc90006237a80: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 f1 f1 00 f2
>ffffc90006237b00: f2 f2 00 00 f2 f2 00 00 f2 f2 00 00 00 00 00 f3
^
ffffc90006237b80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
ffffc90006237c00: 00 00 f1 f1 f1 f1 00 00 f2 f2 00 00 f3 f3 00 00
==================================================================