syzbot


BUG: spinlock bad magic in erofs_pcpubuf_growsize

Status: closed as invalid on 2023/04/10 09:47
Subsystems: erofs
[Documentation on labels]
Reported-by: syzbot+d6a0e4b80bd39f54c2f6@syzkaller.appspotmail.com
First crash: 1077d, last: 1071d
Cause bisection: introduced by (bisect log) :
commit 997acaf6b4b59c6a9c259740312a69ea549cc684
Author: Mark Rutland <mark.rutland@arm.com>
Date: Mon Jan 11 15:37:07 2021 +0000

  lockdep: report broken irq restoration

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: spinlock bad magic in erofs_pcpubuf_growsize 3 (5) 2023/04/10 09:47
Last patch testing requests (3)
Created Duration User Patch Repo Result
2023/04/10 09:24 18m hsiangkao@linux.alibaba.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ v6.3-rc6 OK log
2023/01/15 23:32 22m retest repro linux-next error OK
2022/10/02 11:30 17m retest repro linux-next error OK

Sample crash report:
loop0: detected capacity change from 0 to 31
BUG: spinlock bad magic on CPU#1, syz-executor062/8434
 lock: 0xffff8880b9c31d60, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
CPU: 1 PID: 8434 Comm: syz-executor062 Not tainted 5.12.0-rc6-next-20210406-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline]
 do_raw_spin_lock+0x216/0x2b0 kernel/locking/spinlock_debug.c:112
 erofs_pcpubuf_growsize+0x36f/0x620 fs/erofs/pcpubuf.c:83
 z_erofs_load_lz4_config+0x1ef/0x3e0 fs/erofs/decompressor.c:64
 erofs_read_superblock fs/erofs/super.c:331 [inline]
 erofs_fc_fill_super+0xe84/0x1d10 fs/erofs/super.c:499
 get_tree_bdev+0x440/0x760 fs/super.c:1293
 vfs_get_tree+0x89/0x2f0 fs/super.c:1498
 do_new_mount fs/namespace.c:2905 [inline]
 path_mount+0x132a/0x1fa0 fs/namespace.c:3235
 do_mount fs/namespace.c:3248 [inline]
 __do_sys_mount fs/namespace.c:3456 [inline]
 __se_sys_mount fs/namespace.c:3433 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3433
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x444f7a
Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe1fa3c2a8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffe1fa3c300 RCX: 0000000000444f7a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe1fa3c2c0
RBP: 00007ffe1fa3c2c0 R08: 00007ffe1fa3c300 R09: 

Crashes (280):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/06 18:53 linux-next 9c54130cd255 6a81331a .config console log report syz C ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/12 11:06 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/12 03:17 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 20:50 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 18:00 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 16:08 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 05:49 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 04:47 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/11 00:53 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 18:23 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 14:47 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 12:50 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 12:30 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 11:26 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 10:18 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 09:17 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 08:15 linux-next e99d8a849517 bfeda1b1 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/10 00:45 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 22:55 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 21:40 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 20:20 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 20:02 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 19:00 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 17:55 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 17:30 linux-next e99d8a849517 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 14:33 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 12:16 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 07:24 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 05:48 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 03:59 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 02:37 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/09 00:36 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 21:51 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 20:28 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 19:04 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 16:00 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 14:51 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 14:34 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 13:34 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 12:14 linux-next 6145d80cfc62 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 08:25 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 04:31 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/08 00:27 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 19:56 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 17:07 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 16:36 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 15:18 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 14:16 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 13:50 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 12:43 linux-next 5103a5be098c 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/07 06:29 linux-next 9c54130cd255 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
2021/04/06 12:58 linux-next 9c54130cd255 6a81331a .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: spinlock bad magic in erofs_pcpubuf_growsize
* Struck through repros no longer work on HEAD.