syzbot


kernel panic: stack is corrupted in __kmalloc_node

Status: moderation: reported on 2024/02/08 13:08
Subsystems: netfilter
[Documentation on labels]
Reported-by: syzbot+c498b4e65232cdb1e37c@syzkaller.appspotmail.com
First crash: 82d, last: 79d

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __kmalloc_node+0x434/0x434 mm/slub.c:3989
CPU: 0 PID: 13403 Comm: kworker/u5:5 Not tainted 6.8.0-rc1-syzkaller #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: events_unbound call_usermodehelper_exec_work
Call Trace:
[<ffffffff80010868>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff858a9b60>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff85904e9c>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff85904e9c>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff85904f24>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff858aa5b2>] panic+0x33c/0x77a kernel/panic.c:344
[<ffffffff859071e6>] warn_bogus_irq_restore+0x0/0x38 kernel/panic.c:763
[<ffffffff8080e2ae>] __kmalloc+0x0/0x40c mm/slub.c:3989
[<ffffffff807e6318>] kmalloc_node include/linux/slab.h:610 [inline]
[<ffffffff807e6318>] __vmalloc_area_node mm/vmalloc.c:3125 [inline]
[<ffffffff807e6318>] __vmalloc_node_range+0x37a/0x1316 mm/vmalloc.c:3320
[<ffffffff800afe58>] alloc_thread_stack_node kernel/fork.c:307 [inline]
[<ffffffff800afe58>] dup_task_struct kernel/fork.c:1112 [inline]
[<ffffffff800afe58>] copy_process+0x2c2a/0x6b54 kernel/fork.c:2326
[<ffffffff800b3fae>] kernel_clone+0x11e/0xa16 kernel/fork.c:2901
[<ffffffff800b4f3c>] user_mode_thread+0xea/0x11a kernel/fork.c:2979
[<ffffffff80115dec>] call_usermodehelper_exec_work kernel/umh.c:172 [inline]
[<ffffffff80115dec>] call_usermodehelper_exec_work+0xd4/0x1ac kernel/umh.c:158
[<ffffffff801231ea>] process_one_work+0x7ce/0x179c kernel/workqueue.c:2633
[<ffffffff80124c94>] process_scheduled_works kernel/workqueue.c:2706 [inline]
[<ffffffff80124c94>] worker_thread+0xadc/0x10f8 kernel/workqueue.c:2787
[<ffffffff80144154>] kthread+0x28c/0x3a6 kernel/kthread.c:388
[<ffffffff85928722>] ret_from_fork+0xe/0x1c arch/riscv/kernel/entry.S:229
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/07 14:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 6613476e225e 6404acf9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: stack is corrupted in __kmalloc_node
2024/02/04 12:57 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 6613476e225e a67b2c42 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 kernel panic: stack is corrupted in __kmalloc_node
* Struck through repros no longer work on HEAD.