============================= WARNING: suspicious RCU usage 5.15.174-syzkaller #0 Not tainted ----------------------------- net/sched/sch_api.c:304 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 8 locks held by syz.1.280/5713: #0: ffff0000d6a3e2d8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff0000d6a3e2d8 (&mm->mmap_lock){++++}-{3:3}, at: __mm_populate+0x19c/0x41c mm/gup.c:1618 #1: ffff800008017ba0 ((&peer->hb_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] #1: ffff800008017ba0 ((&peer->hb_timer)){+.-.}-{0:0}, at: call_timer_fn+0xd0/0x8f0 kernel/time/timer.c:1441 #2: ffff0000d37b48a0 (slock-AF_INET6){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] #2: ffff0000d37b48a0 (slock-AF_INET6){+.-.}-{2:2}, at: sctp_generate_heartbeat_event+0x90/0x3dc net/sctp/sm_sideeffect.c:371 #3: ffff800014d42360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #4: ffff800014d423c0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #5: ffff800014d423c0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x18/0x54 include/linux/rcupdate.h:311 #6: ffff0000d0901108 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock include/linux/spinlock.h:363 [inline] #6: ffff0000d0901108 (&sch->q.lock){+.-.}-{2:2}, at: __dev_xmit_skb net/core/dev.c:3879 [inline] #6: ffff0000d0901108 (&sch->q.lock){+.-.}-{2:2}, at: __dev_queue_xmit+0x8a0/0x2ac8 net/core/dev.c:4221 #7: ffff800014d42360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c include/linux/rcupdate.h:311 stack backtrace: CPU: 1 PID: 5713 Comm: syz.1.280 Not tainted 5.15.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 lockdep_rcu_suspicious+0x188/0x1e0 kernel/locking/lockdep.c:6571 qdisc_lookup+0xc8/0x64c net/sched/sch_api.c:304 qdisc_tree_reduce_backlog+0x208/0x4a4 net/sched/sch_api.c:800 pfifo_tail_enqueue+0x280/0x38c net/sched/sch_fifo.c:51 qdisc_enqueue include/net/sch_generic.h:832 [inline] tbf_enqueue+0x2f0/0x620 net/sched/sch_tbf.c:243 dev_qdisc_enqueue+0x60/0x35c net/core/dev.c:3820 __dev_xmit_skb net/core/dev.c:3904 [inline] __dev_queue_xmit+0x1018/0x2ac8 net/core/dev.c:4221 dev_queue_xmit+0x24/0x34 net/core/dev.c:4289 neigh_hh_output include/net/neighbour.h:493 [inline] neigh_output include/net/neighbour.h:507 [inline] ip_finish_output2+0xd3c/0x131c net/ipv4/ip_output.c:228 __ip_finish_output+0x1b0/0x458 ip_finish_output+0x40/0x218 net/ipv4/ip_output.c:316 NF_HOOK_COND include/linux/netfilter.h:291 [inline] ip_output+0x330/0x49c net/ipv4/ip_output.c:430 dst_output include/net/dst.h:443 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] __ip_queue_xmit+0xe90/0x1a04 net/ipv4/ip_output.c:532 sctp_v4_xmit+0x430/0xb00 net/sctp/protocol.c:1071 sctp_packet_transmit+0x1ec0/0x237c net/sctp/output.c:652 sctp_outq_flush_transports net/sctp/outqueue.c:1170 [inline] sctp_outq_flush+0xf74/0x2e84 net/sctp/outqueue.c:1218 sctp_outq_uncork+0x84/0xc0 net/sctp/outqueue.c:761 sctp_side_effects net/sctp/sm_sideeffect.c:1199 [inline] sctp_do_sm+0x485c/0x4e80 net/sctp/sm_sideeffect.c:1170 sctp_generate_heartbeat_event+0x2b4/0x3dc net/sctp/sm_sideeffect.c:391 call_timer_fn+0x19c/0x8f0 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x554/0x718 kernel/time/timer.c:1767 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1780 handle_softirqs+0x384/0xdbc kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] invoke_softirq kernel/softirq.c:439 [inline] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641 irq_exit+0x14/0x88 kernel/softirq.c:665 handle_domain_irq+0xf4/0x178 kernel/irq/irqdesc.c:711 gic_handle_irq+0x78/0x1c8 drivers/irqchip/irq-gic-v3.c:765 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:899 do_interrupt_handler+0x74/0x94 arch/arm64/kernel/entry-common.c:267 el1_interrupt+0x30/0x58 arch/arm64/kernel/entry-common.c:454 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:470 el1h_64_irq+0x78/0x7c arch/arm64/kernel/entry.S:522 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] lock_release+0x504/0xa1c kernel/locking/lockdep.c:5646 rcu_lock_release+0x24/0x30 include/linux/rcupdate.h:317 rcu_read_unlock include/linux/rcupdate.h:772 [inline] get_mem_cgroup_from_mm+0x1a4/0x384 mm/memcontrol.c:992 __mem_cgroup_charge+0x24/0xa8 mm/memcontrol.c:6797 mem_cgroup_charge include/linux/memcontrol.h:700 [inline] shmem_add_to_page_cache+0x898/0x16a0 mm/shmem.c:718 shmem_getpage_gfp+0x1398/0x20e4 mm/shmem.c:1940 shmem_fault+0x194/0x560 mm/shmem.c:2118 __do_fault+0x120/0x5d0 mm/memory.c:3926 do_read_fault mm/memory.c:4262 [inline] do_fault mm/memory.c:4390 [inline] handle_pte_fault mm/memory.c:4648 [inline] __handle_mm_fault mm/memory.c:4783 [inline] handle_mm_fault+0x21e8/0x33a8 mm/memory.c:4881 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x39c/0x92c mm/gup.c:1197 populate_vma_page_range+0x200/0x290 mm/gup.c:1529 __mm_populate+0x278/0x41c mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x1fc/0x2b4 mm/util.c:556 ksys_mmap_pgoff+0x11c/0x668 mm/mmap.c:1623 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584