syzbot


BUG: MAX_STACK_TRACE_ENTRIES too low! (4)

Status: upstream: reported syz repro on 2024/09/27 03:52
Subsystems: bpf
[Documentation on labels]
Reported-by: syzbot+c6c4861455fdd207f160@syzkaller.appspotmail.com
First crash: 5d11h, last: 3d12h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bpf?] BUG: MAX_STACK_TRACE_ENTRIES too low! (4) 0 (1) 2024/09/27 03:52
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (3) net 2 1256d 1257d 20/28 fixed on 2021/11/10 00:50
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (2) C done 5045 1841d 2010d 13/28 fixed on 2019/10/15 23:40
linux-5.15 BUG: MAX_STACK_TRACE_ENTRIES too low! origin:lts-only C done 18 8h55m 193d 0/3 upstream: reported C repro on 2024/03/19 07:46
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! C done 1725 2011d 2037d 11/28 fixed on 2019/03/28 12:00

Sample crash report:
BUG: MAX_STACK_TRACE_ENTRIES too low!
turning off the locking correctness validator.
CPU: 0 UID: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.11.0-syzkaller-09959-gabf2050f51fd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 save_trace+0x926/0xb50 kernel/locking/lockdep.c:579
 check_prev_add kernel/locking/lockdep.c:3219 [inline]
 check_prevs_add kernel/locking/lockdep.c:3277 [inline]
 validate_chain+0x2bde/0x5920 kernel/locking/lockdep.c:3901
 __lock_acquire+0x1384/0x2050 kernel/locking/lockdep.c:5199
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5822
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 htab_lock_bucket+0x1a4/0x370 kernel/bpf/hashtab.c:167
 htab_map_delete_elem+0x1df/0x6b0 kernel/bpf/hashtab.c:1430
 bpf_prog_bc20a984d57ef3f1+0x67/0x6b
 bpf_dispatcher_nop_func include/linux/bpf.h:1257 [inline]
 __bpf_prog_run include/linux/filter.h:701 [inline]
 bpf_prog_run include/linux/filter.h:708 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:2318 [inline]
 bpf_trace_run2+0x2ec/0x540 kernel/trace/bpf_trace.c:2359
 __traceiter_kfree+0x2b/0x50 include/trace/events/kmem.h:94
 trace_kfree include/trace/events/kmem.h:94 [inline]
 kfree+0x35e/0x440 mm/slub.c:4715
 security_task_free+0xa4/0x1a0 security/security.c:3178
 __put_task_struct+0xf9/0x290 kernel/fork.c:977
 put_task_struct include/linux/sched/task.h:144 [inline]
 delayed_put_task_struct+0x125/0x300 kernel/exit.c:228
 rcu_do_batch kernel/rcu/tree.c:2567 [inline]
 rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823
 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554
 run_ksoftirqd+0xca/0x130 kernel/softirq.c:927
 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164
 kthread+0x2f0/0x390 kernel/kthread.c:389
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/25 02:36 bpf abf2050f51fd 5643e0e9 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: MAX_STACK_TRACE_ENTRIES too low!
2024/09/23 03:47 bpf b831f83e40a2 6f888b75 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce BUG: MAX_STACK_TRACE_ENTRIES too low!
* Struck through repros no longer work on HEAD.