============================= WARNING: suspicious RCU usage 6.12.0-syzkaller-g7b1d1d4cfac0 #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/u8:0/11: #0: ffff0000d9272148 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000978e7c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008f9ffee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 stack backtrace: CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x264/0x46c kernel/locking/lockdep.c:6821 dev_deactivate_queue+0xb0/0x190 net/sched/sch_generic.c:1290 netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_deactivate_many+0xd4/0xa8c net/sched/sch_generic.c:1363 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ============================= WARNING: suspicious RCU usage 6.12.0-syzkaller-g7b1d1d4cfac0 #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/u8:0/11: #0: ffff0000d9272148 ((wq_completion)bond0#5){+.+.}-{0:0}, at: process_one_work+0x628/0x1600 kernel/workqueue.c:3203 #1: ffff8000978e7c20 ((work_completion)(&(&bond->mii_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6bc/0x1600 kernel/workqueue.c:3203 #2: ffff80008f9ffee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:336 stack backtrace: CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 lockdep_rcu_suspicious+0x264/0x46c kernel/locking/lockdep.c:6821 dev_ingress_queue include/linux/rtnetlink.h:100 [inline] dev_deactivate_many+0x1ac/0xa8c net/sched/sch_generic.c:1365 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 ================================================================== BUG: KASAN: stack-out-of-bounds in netdev_for_each_tx_queue include/linux/netdevice.h:2503 [inline] BUG: KASAN: stack-out-of-bounds in dev_deactivate_many+0x46c/0xa8c net/sched/sch_generic.c:1363 Read of size 4 at addr ffff80009cbe7c68 by task kworker/u8:0/11 CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:484 (C) __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x198/0x538 mm/kasan/report.c:488 kasan_report+0xd8/0x138 mm/kasan/report.c:601 __asan_report_load4_noabort+0x20/0x2c mm/kasan/report_generic.c:380 netdev_for_each_tx_queue include/linux/netdevice.h:2503 [inline] dev_deactivate_many+0x46c/0xa8c net/sched/sch_generic.c:1363 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 The buggy address belongs to the virtual mapping at [ffff80009cbe0000, ffff80009cbe9000) created by: copy_process+0x490/0x3250 kernel/fork.c:2204 The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x106cf6 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 0000000000000000 dead000000000122 0000000000000000 raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff80009cbe7b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff80009cbe7b80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff80009cbe7c00: f1 f1 f1 f1 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 ^ ffff80009cbe7c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff80009cbe7d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== Unable to handle kernel paging request at virtual address ffff80009cbe8100 KASAN: probably user-memory-access in range [0x00000004e5f40800-0x00000004e5f40807] Mem abort info: ESR = 0x0000000096000007 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x07: level 3 translation fault Data abort info: ISV = 0, ISS = 0x00000007, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001a5b2c000 [ffff80009cbe8100] pgd=0000000000000000, p4d=10000001adfba003, pud=10000001adfbb003, pmd=1000000106bb9403, pte=0000000000000000 Internal error: Oops: 0000000096000007 [#1] PREEMPT SMP Modules linked in: CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Tainted: G B 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bond0 bond_mii_monitor pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : dev_deactivate_queue+0xd0/0x190 net/sched/sch_generic.c:1290 lr : dev_deactivate_queue+0xd0/0x190 net/sched/sch_generic.c:1290 sp : ffff8000978e7530 x29: ffff8000978e7530 x28: dfff800000000000 x27: ffff0000ee6d97d0 x26: ffff80009cbe77b0 x25: ffff80009cbe7798 x24: ffff80009cbe7c68 x23: dfff800000000000 x22: 0000000000000007 x21: 0000000000000000 x20: ffff80009cbe8100 x19: ffff800092776d80 x18: 0000000000000008 x17: 0000000000000000 x16: ffff800080ac9ebc x15: 0000000000000001 x14: 1ffff0001397cfc0 x13: 0000000000000000 x12: 0000000000000000 x11: ffff70001397cfc1 x10: 0000000000ff0100 x9 : ffff8000973ac3a0 x8 : 0000000000000001 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000978e6b98 x4 : ffff80008f90d220 x3 : ffff8000897e73b4 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000000 Call trace: dev_deactivate_queue+0xd0/0x190 net/sched/sch_generic.c:1290 (P) dev_deactivate_queue+0xd0/0x190 net/sched/sch_generic.c:1290 (L) netdev_for_each_tx_queue include/linux/netdevice.h:2504 [inline] dev_deactivate_many+0xd4/0xa8c net/sched/sch_generic.c:1363 dev_deactivate+0x13c/0x1fc net/sched/sch_generic.c:1403 linkwatch_do_dev+0x100/0x1a8 net/core/link_watch.c:175 linkwatch_sync_dev+0x150/0x16c net/core/link_watch.c:263 ethtool_op_get_link+0x20/0x5c net/ethtool/ioctl.c:62 bond_check_dev_link+0x1ac/0x370 drivers/net/bonding/bond_main.c:873 bond_miimon_inspect drivers/net/bonding/bond_main.c:2731 [inline] bond_mii_monitor+0x3d8/0x28b4 drivers/net/bonding/bond_main.c:2953 process_one_work+0x7bc/0x1600 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 Code: 38776908 34000068 aa1403e0 979ce662 (f9400296) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 38776908 ldrb w8, [x8, x23] 4: 34000068 cbz w8, 0x10 8: aa1403e0 mov x0, x20 c: 979ce662 bl 0xfffffffffe739994 * 10: f9400296 ldr x22, [x20] <-- trapping instruction