syzbot


BUG: MAX_STACK_TRACE_ENTRIES too low! (2)

Status: fixed on 2019/10/15 23:40
Reported-by: syzbot+6f39a9deb697359fe520@syzkaller.appspotmail.com
Fix commit: 12593b7467f9 locking/lockdep: Reduce space occupied by stack traces
First crash: 2064d, last: 1895d
Cause bisection: introduced by (bisect log) :
commit 669de8bda87b92ab9a2fc663b3f5743c2ad1ae9f
Author: Bart Van Assche <bvanassche@acm.org>
Date: Thu Feb 14 23:00:54 2019 +0000

  kernel/workqueue: Use dynamic lockdep keys for workqueues

Crash: WARNING: locking bug in flush_workqueue (log)
Repro: C syz .config
  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
BUG: MAX_STACK_TRACE_ENTRIES too low in tipc_topsrv_exit_net tipc 4 1918d 1920d 0/28 closed as dup on 2019/08/22 03:05
Discussions (3)
Title Replies (including bot) Last reply
[PATCH 0/4] Lockdep: Reduce stack trace memory usage 12 (12) 2019/07/25 16:10
BUG: MAX_STACK_TRACE_ENTRIES too low! (2) 16 (19) 2019/07/12 23:03
Reminder: 5 open syzbot bugs in lockdep subsystem 3 (3) 2019/07/10 16:13
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 1310d 1311d 20/28 fixed on 2021/11/10 00:50
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (4) bpf syz done 5 3d12h 55d 0/28 upstream: reported syz repro on 2024/09/27 03:52
linux-5.15 BUG: MAX_STACK_TRACE_ENTRIES too low! origin:lts-only C done 20 4d21h 247d 0/3 upstream: reported C repro on 2024/03/19 07:46
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! C done 1725 2065d 2091d 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 PID: 27106 Comm: syz-executor407 Not tainted 5.3.0-rc1+ #49
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113
 save_trace kernel/locking/lockdep.c:473 [inline]
 mark_lock+0x52e/0x1850 kernel/locking/lockdep.c:3583
 mark_usage kernel/locking/lockdep.c:3509 [inline]
 __lock_acquire+0x737/0x4750 kernel/locking/lockdep.c:3834
 lock_acquire+0x158/0x250 kernel/locking/lockdep.c:4413
 flush_workqueue+0x17e/0x13f0 kernel/workqueue.c:2774
 drain_workqueue+0xb9/0x500 kernel/workqueue.c:2939
 destroy_workqueue+0x2b/0xb00 kernel/workqueue.c:4320
 ucma_close+0x2a4/0x2c0 drivers/infiniband/core/ucma.c:1771
 __fput+0x2e4/0x740 fs/file_table.c:280
 ____fput+0x15/0x20 fs/file_table.c:313
 task_work_run+0x17e/0x1b0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x64c/0x2340 kernel/exit.c:878
 do_group_exit+0x15c/0x2b0 kernel/exit.c:982
 __do_sys_exit_group+0x17/0x20 kernel/exit.c:993
 __se_sys_exit_group+0x14/0x20 kernel/exit.c:991
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:991
 do_syscall_64+0xfe/0x140 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43fd98
Code: Bad RIP value.
RSP: 002b:00007ffec4443e48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043fd98
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004bf630 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d1180 R14: 0000000000000000 R15: 0000000000000000

Crashes (5045):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/07/25 03:14 upstream bed38c3e2dca 32329ceb .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/25 00:37 upstream bed38c3e2dca 32329ceb .config console log report syz C ci-upstream-kasan-gce
2019/07/25 00:35 upstream bed38c3e2dca 32329ceb .config console log report syz C ci-upstream-kasan-gce-root
2019/07/21 03:30 upstream c6dd78fcb8ee 1656845f .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/21 03:22 upstream abdfd52a295f 1656845f .config console log report syz C ci-upstream-kasan-gce
2019/07/21 03:16 upstream c6dd78fcb8ee 1656845f .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/21 02:45 upstream c6dd78fcb8ee 1656845f .config console log report syz C ci-upstream-kasan-gce-root
2019/07/20 10:46 upstream abdfd52a295f 1656845f .config console log report syz C ci-upstream-kasan-gce-root
2019/07/20 10:38 upstream abdfd52a295f 1656845f .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/16 03:01 upstream fec88ab0af97 6732e2c0 .config console log report syz C ci-upstream-kasan-gce-root
2019/07/16 02:12 upstream fec88ab0af97 6732e2c0 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/12 12:13 upstream 17a20acaf171 baa5258a .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/11 17:50 upstream 5450e8a316a6 186a30b9 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/11 16:52 upstream 5450e8a316a6 186a30b9 .config console log report syz C ci-upstream-kasan-gce-root
2019/07/10 11:13 upstream e9a83bd23220 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/10 11:05 upstream e9a83bd23220 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/10 10:18 upstream e9a83bd23220 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/10 09:11 upstream e9a83bd23220 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-root
2019/07/09 09:13 upstream 223cea6a4f05 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/09 09:11 upstream 223cea6a4f05 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-root
2019/07/09 08:28 upstream 223cea6a4f05 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/07/08 12:46 upstream 0ecfebd2b524 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/08 12:45 upstream 0ecfebd2b524 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-root
2019/07/08 12:01 upstream 0ecfebd2b524 f62e1e85 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/30 11:40 upstream 0e40da3efeb0 c35ee0ea .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/07/25 00:41 upstream bed38c3e2dca 32329ceb .config console log report syz C ci-upstream-kasan-gce-386
2019/07/21 03:23 upstream abdfd52a295f 1656845f .config console log report syz C ci-upstream-kasan-gce-386
2019/03/30 11:09 upstream 0e40da3efeb0 c35ee0ea .config console log report syz C ci-upstream-kasan-gce-386
2019/07/24 23:50 linux-next 9e6dfe8045f8 32329ceb .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/21 03:20 linux-next 6d21a41b7b1f 1656845f .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/16 02:59 linux-next e689ed79e479 6732e2c0 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/11 22:28 linux-next 1481057642d5 186a30b9 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/11 06:56 linux-next a77f5c70e3d2 ff7bf04c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/11 01:51 linux-next a77f5c70e3d2 ff7bf04c .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/10 20:09 linux-next a77f5c70e3d2 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/10 08:39 linux-next 4608a726c668 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/10 05:57 linux-next 4608a726c668 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/09 11:16 linux-next d58b5ab90ee7 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/09 10:06 linux-next d58b5ab90ee7 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/09 05:59 linux-next d58b5ab90ee7 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/08 21:02 linux-next d58b5ab90ee7 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/08 08:38 linux-next f9ca7f5a1eb9 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/08 00:47 linux-next f9ca7f5a1eb9 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/07 23:21 linux-next f9ca7f5a1eb9 f62e1e85 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/07/25 16:24 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/25 15:13 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/25 14:07 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/25 09:16 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/25 06:19 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-root
2019/07/25 05:18 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/25 02:04 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-selinux-root
2019/07/24 21:43 upstream bed38c3e2dca 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/24 13:53 upstream abdfd52a295f 32329ceb .config console log report ci-upstream-kasan-gce
2019/07/24 13:21 upstream c6dd78fcb8ee 32329ceb .config console log report ci-upstream-kasan-gce-smack-root
2019/07/24 04:40 upstream abdfd52a295f de453f34 .config console log report ci-upstream-kasan-gce
2019/03/29 10:12 upstream 1a9df9e29c2a 98c1bf1c .config console log report ci-upstream-kasan-gce-selinux-root
2019/08/06 18:53 net-old 107e47cc80ec c6f01e54 .config console log report ci-upstream-net-this-kasan-gce
2019/08/03 10:16 net-old 107e47cc80ec 6affd8e8 .config console log report ci-upstream-net-this-kasan-gce
2019/08/03 07:45 net-old 107e47cc80ec 6affd8e8 .config console log report ci-upstream-net-this-kasan-gce
2019/08/03 00:48 net-old 107e47cc80ec 6affd8e8 .config console log report ci-upstream-net-this-kasan-gce
2019/08/01 23:16 net-old 107e47cc80ec 835dffe7 .config console log report ci-upstream-net-this-kasan-gce
2019/07/31 17:40 net-old 107e47cc80ec c692b5bd .config console log report ci-upstream-net-this-kasan-gce
2019/07/31 02:02 net-old 107e47cc80ec 7c7ded69 .config console log report ci-upstream-net-this-kasan-gce
2019/07/27 09:35 net-old 107e47cc80ec c85e1c5b .config console log report ci-upstream-net-this-kasan-gce
2019/07/26 05:41 net-old 107e47cc80ec 732bc5a0 .config console log report ci-upstream-net-this-kasan-gce
2019/07/25 20:10 net-old 107e47cc80ec 732bc5a0 .config console log report ci-upstream-net-this-kasan-gce
2019/09/14 00:07 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/13 12:18 net-next-old 172ca8308b05 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/11 11:53 net-next-old 747f3cf4bf71 a60cb4cd .config console log report ci-upstream-net-kasan-gce
2019/09/11 06:43 net-next-old 074be7fd99a2 a60cb4cd .config console log report ci-upstream-net-kasan-gce
2019/09/06 21:37 net-next-old 1e46c09ec100 a60cb4cd .config console log report ci-upstream-net-kasan-gce
2019/09/05 04:26 net-next-old 0d622143d174 040fda58 .config console log report ci-upstream-net-kasan-gce
2019/09/05 00:12 net-next-old 0d622143d174 040fda58 .config console log report ci-upstream-net-kasan-gce
2019/09/04 22:28 net-next-old 2c1f9e263444 040fda58 .config console log report ci-upstream-net-kasan-gce
2019/09/02 09:09 net-next-old 4bc61b0b1695 db7c31ca .config console log report ci-upstream-net-kasan-gce
2019/09/02 03:09 net-next-old 4bc61b0b1695 bad3cce2 .config console log report ci-upstream-net-kasan-gce
2019/09/01 06:28 net-next-old ed6e8103ba72 bad3cce2 .config console log report ci-upstream-net-kasan-gce
2019/08/31 22:55 net-next-old ed6e8103ba72 bad3cce2 .config console log report ci-upstream-net-kasan-gce
2019/08/24 10:18 net-next-old d4ed7463d02a 78ded196 .config console log report ci-upstream-net-kasan-gce
2019/08/05 10:54 net-next-old 31cc088a4f5d 6affd8e8 .config console log report ci-upstream-net-kasan-gce
2019/08/04 20:36 net-next-old 31cc088a4f5d 6affd8e8 .config console log report ci-upstream-net-kasan-gce
2019/08/01 21:07 net-next-old 31cc088a4f5d 835dffe7 .config console log report ci-upstream-net-kasan-gce
2019/08/01 18:15 net-next-old 31cc088a4f5d 835dffe7 .config console log report ci-upstream-net-kasan-gce
2019/07/30 13:32 net-next-old 31cc088a4f5d f28bf2a5 .config console log report ci-upstream-net-kasan-gce
2019/07/29 21:39 net-next-old 31cc088a4f5d f67095ee .config console log report ci-upstream-net-kasan-gce
2019/07/27 21:58 net-next-old 31cc088a4f5d c85e1c5b .config console log report ci-upstream-net-kasan-gce
2019/07/27 07:47 net-next-old 31cc088a4f5d c85e1c5b .config console log report ci-upstream-net-kasan-gce
2019/07/26 13:15 net-next-old 31cc088a4f5d 3e5d1beb .config console log report ci-upstream-net-kasan-gce
2019/07/26 03:47 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 732bc5a0 .config console log report ci2-upstream-usb
2019/07/25 15:12 linux-next 13bf6d6a51df 32329ceb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/25 13:04 linux-next 13bf6d6a51df 32329ceb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/25 03:07 linux-next 9e6dfe8045f8 32329ceb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/24 20:15 linux-next 9e6dfe8045f8 32329ceb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/24 18:18 linux-next 9e6dfe8045f8 32329ceb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/24 08:47 linux-next 6d21a41b7b1f de453f34 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/07/24 06:49 linux-next 6d21a41b7b1f de453f34 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/28 16:37 linux-next 29eb5dc25ebe f94f56fe .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.