syzbot


BUG: MAX_STACK_TRACE_ENTRIES too low!

Status: fixed on 2019/03/28 12:00
Reported-by: syzbot+78923eea7cf44364f4fb@syzkaller.appspotmail.com
Fix commit: 009bb421b6ce workqueue, lockdep: Fix an alloc_workqueue() error path
First crash: 1830d, last: 1803d
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
  
Discussions (1)
Title Replies (including bot) Last reply
BUG: MAX_STACK_TRACE_ENTRIES too low! 4 (7) 2019/03/11 18:17
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (3) net 2 1048d 1049d 20/26 fixed on 2021/11/10 00:50
upstream BUG: MAX_STACK_TRACE_ENTRIES too low! (2) C done 5045 1633d 1802d 13/26 fixed on 2019/10/15 23:40

Sample crash report:
BUG: MAX_STACK_TRACE_ENTRIES too low!
turning off the locking correctness validator.
CPU: 0 PID: 512 Comm: syz-executor233 Not tainted 5.1.0-rc2 #36
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+0x172/0x1f0 lib/dump_stack.c:113
 save_trace kernel/locking/lockdep.c:467 [inline]
 save_trace.cold+0x14/0x19 kernel/locking/lockdep.c:437
 mark_lock+0x2fb/0x1380 kernel/locking/lockdep.c:3410
 __lock_acquire+0x548/0x3fb0 kernel/locking/lockdep.c:3657
 lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:4211
 flush_workqueue+0x126/0x14c0 kernel/workqueue.c:2774
 drain_workqueue+0x1b4/0x470 kernel/workqueue.c:2939
 destroy_workqueue+0x21/0x700 kernel/workqueue.c:4320
 ucma_close+0x289/0x320 drivers/infiniband/core/ucma.c:1786
 __fput+0x2e5/0x8d0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x14a/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop+0x273/0x2c0 arch/x86/entry/common.c:166
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x400ef0
Code: 01 f0 ff ff 0f 83 20 0c 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d dd 17 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 f4 0b 00 00 c3 48 83 ec 08 e8 5a 01 00 00
RSP: 002b:00007ffeef70ed88 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000400ef0
RDX: 0000000000000002 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 0000000000033449 R08: 0000000000000004 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401f70
R13: 0000000000402000 R14: 0000000000000000 R15: 0000000000000000

Crashes (1725):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/25 17:12 upstream 8c2ffd917477 2c86e0a5 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/25 14:00 upstream 8c2ffd917477 2c86e0a5 .config console log report syz C ci-upstream-kasan-gce
2019/03/25 13:57 upstream 8c2ffd917477 2c86e0a5 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/25 13:27 upstream 8c2ffd917477 2c86e0a5 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/22 14:10 upstream 0939221e6468 dce6e62f .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/22 14:09 upstream 0939221e6468 dce6e62f .config console log report syz C ci-upstream-kasan-gce
2019/03/17 04:31 upstream a9dce6679d73 bab43553 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/17 04:25 upstream a9dce6679d73 bab43553 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/17 03:59 upstream a9dce6679d73 bab43553 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/16 15:47 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/16 15:47 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/16 15:46 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/16 15:16 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce
2019/03/16 14:07 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/16 13:43 upstream 9c7dc824d9a4 bab43553 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/15 21:10 upstream f261c4e529da bab43553 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/15 20:55 upstream f261c4e529da bab43553 .config console log report syz C ci-upstream-kasan-gce-root
2019/03/15 20:30 upstream f261c4e529da bab43553 .config console log report syz C ci-upstream-kasan-gce
2019/03/15 02:16 upstream 3b319ee220a8 d72db19b .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/15 01:44 upstream 3b319ee220a8 d72db19b .config console log report syz C ci-upstream-kasan-gce
2019/03/15 01:44 upstream 3b319ee220a8 d72db19b .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/15 01:43 upstream 3b319ee220a8 d72db19b .config console log report syz C ci-upstream-kasan-gce-root
2019/03/14 04:47 upstream ebc551f2b8f9 2881fc25 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/03/14 04:22 upstream ebc551f2b8f9 2881fc25 .config console log report syz C ci-upstream-kasan-gce
2019/03/12 05:33 upstream a089e4fed5c5 12365b99 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/03/07 06:56 upstream afe6fe7036c6 18215b8d .config console log report syz C ci-upstream-kasan-gce
2019/03/25 13:59 upstream 8c2ffd917477 2c86e0a5 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/22 14:10 upstream 0939221e6468 dce6e62f .config console log report syz C ci-upstream-kasan-gce-386
2019/03/17 04:33 upstream a9dce6679d73 bab43553 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/15 21:20 upstream f261c4e529da bab43553 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/15 01:45 upstream 3b319ee220a8 d72db19b .config console log report syz C ci-upstream-kasan-gce-386
2019/03/14 04:48 upstream ebc551f2b8f9 2881fc25 .config console log report syz C ci-upstream-kasan-gce-386
2019/03/25 13:57 linux-next e382d91f5f80 2c86e0a5 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/22 13:38 linux-next 32a217bae32c dce6e62f .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/17 04:33 linux-next cf08baa29613 bab43553 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/16 15:45 linux-next cf08baa29613 bab43553 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/15 20:53 linux-next cf08baa29613 bab43553 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/15 01:18 linux-next cf08baa29613 d72db19b .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/14 04:46 linux-next cf08baa29613 2881fc25 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/12 17:00 linux-next cf08baa29613 a71bfb62 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/12 07:14 linux-next cf08baa29613 12365b99 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/02 11:45 linux-next c63e9e91a254 1c0e457a .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/03/27 19:45 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce-root
2019/03/27 16:48 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce-root
2019/03/27 15:29 upstream 14c741de9386 4e668495 .config console log report ci-upstream-kasan-gce-root
2019/03/27 12:10 upstream 14c741de9386 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/27 10:58 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/27 09:43 upstream 14c741de9386 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/27 06:51 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/27 05:33 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 04:31 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 03:02 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 01:51 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/26 23:51 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 22:26 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 19:25 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 17:02 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 16:27 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/26 12:47 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 11:43 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 10:38 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 09:31 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 09:02 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/26 07:56 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 05:36 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/26 04:11 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce
2019/03/26 03:44 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 02:32 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 01:28 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 00:19 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/25 23:14 upstream 8c2ffd917477 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/25 19:58 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-root
2019/03/25 18:15 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-root
2019/03/25 16:12 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 15:07 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-root
2019/03/25 13:25 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 12:07 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 11:29 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 10:14 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/25 09:05 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/28 09:02 upstream 1a9df9e29c2a f94f56fe .config console log report ci-upstream-kasan-gce-386
2019/03/27 21:49 upstream 65ae689329c5 4e668495 .config console log report ci-upstream-kasan-gce-386
2019/03/27 18:11 upstream 65ae689329c5 4e668495 .config console log report ci-upstream-kasan-gce-386
2019/03/27 07:30 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/26 20:38 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-386
2019/03/24 01:48 net-old c8248c6c1a3d a2cef203 .config console log report ci-upstream-net-this-kasan-gce
2019/03/18 20:07 net-next-old 3b319ee220a8 4656beca .config console log report ci-upstream-net-kasan-gce
2019/03/27 08:42 linux-next a392ee45bae7 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/26 18:16 linux-next ab8bba4ec4b9 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/26 15:26 linux-next ab8bba4ec4b9 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/26 14:13 linux-next ab8bba4ec4b9 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/26 00:22 linux-next 9e864317704b 55684ce1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/01 10:23 linux-next c63e9e91a254 8a4b3a6b .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.