syzbot


kernel panic: corrupted stack end in fib_nl_newrule

Status: closed as invalid on 2023/06/08 08:30
Subsystems: net
[Documentation on labels]
First crash: 707d, last: 707d

Sample crash report:
Kernel panic - not syncing: corrupted stack end detected inside scheduler
CPU: 0 PID: 2842 Comm: syz-executor.0 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff8000a228>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113
[<ffffffff831668cc>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119
[<ffffffff831756ba>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff831756ba>] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106
[<ffffffff83175742>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff83166fa8>] panic+0x24a/0x634 kernel/panic.c:233
[<ffffffff831a688a>] schedule_debug kernel/sched/core.c:5541 [inline]
[<ffffffff831a688a>] schedule+0x0/0x14c kernel/sched/core.c:6187
[<ffffffff831a6c62>] preempt_schedule_notrace+0x9c/0x19a kernel/sched/core.c:6541
[<ffffffff8010f014>] rcu_read_unlock_sched_notrace include/linux/rcupdate.h:816 [inline]
[<ffffffff8010f014>] trace_lock_acquire+0xd6/0x1fc include/trace/events/lock.h:13
[<ffffffff801167fe>] lock_acquire+0x28/0x6a kernel/locking/lockdep.c:5610
[<ffffffff80468f2a>] rcu_lock_acquire include/linux/rcupdate.h:268 [inline]
[<ffffffff80468f2a>] rcu_read_lock include/linux/rcupdate.h:694 [inline]
[<ffffffff80468f2a>] percpu_ref_put_many.constprop.0+0x36/0x144 include/linux/percpu-refcount.h:330
[<ffffffff8046ae5c>] percpu_ref_put include/linux/percpu-refcount.h:351 [inline]
[<ffffffff8046ae5c>] obj_cgroup_put include/linux/memcontrol.h:790 [inline]
[<ffffffff8046ae5c>] memcg_slab_post_alloc_hook+0x24a/0x492 mm/slab.h:531
[<ffffffff8047081c>] slab_post_alloc_hook mm/slab.h:739 [inline]
[<ffffffff8047081c>] slab_alloc_node mm/slub.c:3230 [inline]
[<ffffffff8047081c>] slab_alloc mm/slub.c:3238 [inline]
[<ffffffff8047081c>] kmem_cache_alloc+0x158/0x3de mm/slub.c:3243
[<ffffffff82bf196a>] fib_trie_unmerge+0x1d6/0x71e net/ipv4/fib_trie.c:1911
[<ffffffff82bd3816>] fib_unmerge+0x9c/0x272 net/ipv4/fib_frontend.c:160
[<ffffffff82c1feda>] fib4_rule_configure+0x80/0x582 net/ipv4/fib_rules.c:234
[<ffffffff827c71b0>] fib_nl_newrule+0x248/0xf34 net/core/fib_rules.c:814
[<ffffffff8276b46c>] rtnetlink_rcv_msg+0x338/0x9a0 net/core/rtnetlink.c:5592
[<ffffffff8296ded2>] netlink_rcv_skb+0xf8/0x2be net/netlink/af_netlink.c:2494
[<ffffffff827624f4>] rtnetlink_rcv+0x26/0x30 net/core/rtnetlink.c:5610
[<ffffffff8296cbcc>] netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
[<ffffffff8296cbcc>] netlink_unicast+0x40e/0x5fe net/netlink/af_netlink.c:1343
[<ffffffff8296d29c>] netlink_sendmsg+0x4e0/0x994 net/netlink/af_netlink.c:1919
[<ffffffff826d264e>] sock_sendmsg_nosec net/socket.c:705 [inline]
[<ffffffff826d264e>] sock_sendmsg+0xa0/0xc4 net/socket.c:725
[<ffffffff826d4dd4>] ____sys_sendmsg+0x46e/0x484 net/socket.c:2413
[<ffffffff826d8bca>] ___sys_sendmsg+0x16c/0x1f6 net/socket.c:2467
[<ffffffff826d8e78>] __sys_sendmsg+0xba/0x150 net/socket.c:2496
[<ffffffff826d8f3a>] __do_sys_sendmsg net/socket.c:2505 [inline]
[<ffffffff826d8f3a>] sys_sendmsg+0x2c/0x3a net/socket.c:2503
[<ffffffff80005716>] ret_from_syscall+0x0/0x2
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/21 16:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d ec0a9fe9 .config console log report info ci-qemu2-riscv64 kernel panic: corrupted stack end in fib_nl_newrule
* Struck through repros no longer work on HEAD.