syzbot


BUG: MAX_STACK_TRACE_ENTRIES too low!

Status: upstream: reported C repro on 2025/03/22 10:39
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+a1b48abe898d0e1128a5@syzkaller.appspotmail.com
First crash: 210d, last: 39d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: BUG: MAX_STACK_TRACE_ENTRIES too low! (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2025/05/04 linux-6.1.y (ToT) b6736e03756f C [report] BUG: MAX_STACK_TRACE_ENTRIES too low!
2025/05/04 upstream (ToT) 14c55b7bb0a8 C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 BUG: MAX_STACK_TRACE_ENTRIES too low! origin:lts-only -1 C 1 24d 25d 0/2 upstream: reported C repro on 2025/09/23 14:36
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (3) net -1 2 1641d 1642d 20/29 fixed on 2021/11/10 00:50
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (2) -1 C done 5045 2226d 2395d 13/29 fixed on 2019/10/15 23:40
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (4) bpf -1 C done unreliable 31 210d 386d 0/29 auto-obsoleted due to no activity on 2025/08/31 03:03
linux-5.15 BUG: MAX_STACK_TRACE_ENTRIES too low! origin:lts-only -1 C done 39 6d07h 578d 0/3 upstream: reported C repro on 2024/03/19 07:46
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! -1 C done 1725 2396d 2422d 11/29 fixed on 2019/03/28 12:00
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2025/07/13 07:55 2h02m fix candidate upstream OK (0) job log
2025/07/06 04:24 2h11m bisect fix linux-6.1.y OK (0) job log log
2025/06/04 14:50 2h31m bisect fix linux-6.1.y OK (0) job log log
2025/04/29 22:50 3h18m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
team0 (unregistering): Port device team_slave_1 removed
team0 (unregistering): Port device team_slave_0 removed
bond0 (unregistering): (slave bond_slave_1): Releasing backup interface
BUG: MAX_STACK_TRACE_ENTRIES too low!
turning off the locking correctness validator.
CPU: 1 PID: 4575 Comm: kworker/u4:9 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
 save_trace+0x8d6/0xb60 kernel/locking/lockdep.c:578
 check_prev_add kernel/locking/lockdep.c:3151 [inline]
 check_prevs_add kernel/locking/lockdep.c:3209 [inline]
 validate_chain kernel/locking/lockdep.c:3825 [inline]
 __lock_acquire+0x3b73/0x7c50 kernel/locking/lockdep.c:5049
 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 htab_lock_bucket+0x17d/0x300 kernel/bpf/hashtab.c:166
 htab_lru_map_delete_elem+0x1ad/0x760 kernel/bpf/hashtab.c:1438
 bpf_prog_e15fd5db8382a83f+0x5b/0x5f
 bpf_dispatcher_nop_func include/linux/bpf.h:1001 [inline]
 __bpf_prog_run include/linux/filter.h:603 [inline]
 bpf_prog_run include/linux/filter.h:610 [inline]
 __bpf_trace_run kernel/trace/bpf_trace.c:2285 [inline]
 bpf_trace_run2+0x1cd/0x3b0 kernel/trace/bpf_trace.c:2324
 __bpf_trace_kfree+0x6e/0x90 include/trace/events/kmem.h:94
 __traceiter_kfree+0x26/0x40 include/trace/events/kmem.h:94
 trace_kfree include/trace/events/kmem.h:94 [inline]
 kfree+0xf6/0x190 mm/slab_common.c:975
 kernfs_put+0x1bd/0x490 fs/kernfs/dir.c:559
 kernfs_remove_by_name_ns+0xe0/0x150 fs/kernfs/dir.c:1668
 device_del+0x438/0xa70 drivers/base/core.c:3871
 unregister_netdevice_many+0x1393/0x1840 net/core/dev.c:11017
 default_device_exit_batch+0x9c3/0xa50 net/core/dev.c:11503
 ops_exit_list net/core/net_namespace.c:177 [inline]
 cleanup_net+0x77b/0xb80 net/core/net_namespace.c:640
 process_one_work+0x898/0x1160 kernel/workqueue.c:2292
 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
 kthread+0x29d/0x330 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
bond0 (unregistering): (slave bond_slave_0): Releasing backup interface
bond0 (unregistering): Released all slaves
IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/08 17:00 linux-6.1.y 28c695c365e1 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: MAX_STACK_TRACE_ENTRIES too low!
2025/05/04 07:57 linux-6.1.y b6736e03756f b0714e37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: MAX_STACK_TRACE_ENTRIES too low!
2025/03/22 10:39 linux-6.1.y 344a09659766 c6512ef7 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf BUG: MAX_STACK_TRACE_ENTRIES too low!
* Struck through repros no longer work on HEAD.