syzbot


WARNING in reiserfs_lookup

Status: upstream: reported C repro on 2022/08/25 18:25
Reported-by: syzbot+392ac209604cc18792e5@syzkaller.appspotmail.com
First crash: 96d, last: 3h04m

Cause bisection: failed (bisect log)

Sample crash report:
loop0: detected capacity change from 0 to 64
BFS-fs: bfs_fill_super(): loop0 is unclean, continuing
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 4008 at kernel/locking/mutex.c:582 __mutex_lock_common kernel/locking/mutex.c:582 [inline]
WARNING: CPU: 1 PID: 4008 at kernel/locking/mutex.c:582 __mutex_lock+0xa01/0x1350 kernel/locking/mutex.c:747
Modules linked in:
CPU: 1 PID: 4008 Comm: syz-executor377 Not tainted 6.0.0-rc4-syzkaller-00204-g9b4509495418 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:582 [inline]
RIP: 0010:__mutex_lock+0xa01/0x1350 kernel/locking/mutex.c:747
Code: 08 84 d2 0f 85 7f 08 00 00 8b 05 d2 3e 5d 04 85 c0 0f 85 12 f7 ff ff 48 c7 c6 a0 95 ec 89 48 c7 c7 00 93 ec 89 e8 71 db b8 ff <0f> 0b e9 f8 f6 ff ff 48 8b 7c 24 30 be 08 00 00 00 e8 49 ab 46 f8
RSP: 0018:ffffc9000309f610 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888024f7bb00 RSI: ffffffff8161f408 RDI: fffff52000613eb4
RBP: ffff888025ac1628 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffc9000309f850 R15: ffff88806d6d8858
FS:  0000555556856300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd63888948 CR3: 000000001c0cd000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 reiserfs_write_lock+0x75/0xf0 fs/reiserfs/lock.c:27
 reiserfs_lookup+0x171/0x490 fs/reiserfs/namei.c:364
 lookup_open.isra.0+0x76a/0x12a0 fs/namei.c:3391
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0x996/0x28f0 fs/namei.c:3688
 do_filp_open+0x1b6/0x400 fs/namei.c:3718
 do_sys_openat2+0x16d/0x4c0 fs/open.c:1311
 do_sys_open fs/open.c:1327 [inline]
 __do_sys_openat fs/open.c:1343 [inline]
 __se_sys_openat fs/open.c:1338 [inline]
 __x64_sys_openat+0x13f/0x1f0 fs/open.c:1338
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2022d7c9b9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ffd63888968 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f2022d7c9b9
RDX: 000000000000275a RSI: 0000000020000240 RDI: 00000000ffffff9c
RBP: 0000000020010000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd63888990
R13: 00007ffd6388897c R14: 431bde82d7b634db R15: 0000000000000000
 </TASK>

Crashes (114):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/09/10 01:34 upstream 9b4509495418 356d8217 .config log report syz C WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/09/09 21:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 92221e2af10d 356d8217 .config log report syz C WARNING in reiserfs_lookup
ci-upstream-kasan-gce-smack-root 2022/11/27 04:15 upstream 644e9524388a 74a66371 .config log report info WARNING in reiserfs_lookup
ci2-upstream-fs 2022/09/29 03:15 upstream 49c13ed0316d a41a2080 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/27 12:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/27 08:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/27 01:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/27 00:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/26 23:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/26 19:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/26 08:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/26 03:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/25 16:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/25 06:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 74a66371 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/22 18:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 65762d97e6fa 9da37ae8 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/21 13:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/21 12:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/21 02:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/20 20:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/20 16:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/18 14:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/18 10:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/17 23:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/17 18:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 4ba8ab94 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/17 13:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/17 11:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/15 10:10 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 97de9cfc .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/11 18:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/10 17:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/10 11:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 b2488a87 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/08 19:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 56751c56c2a2 060f945e .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/08 05:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3577a7611842 881db35d .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/06 01:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/05 18:22 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/05 04:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/04 23:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/04 20:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 6d752409 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/11/01 12:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 a1d8560a .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/30 17:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/29 22:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/29 07:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 899d812a .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/28 07:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/27 18:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/26 23:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 86777b7f .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/26 10:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2159e4d2 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/25 21:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 1984aebd .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/25 07:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 45645420 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/10/24 16:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 ff2fe65d .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/08/25 14:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a41a877bc12d e5fb9cf5 .config log report info WARNING in reiserfs_lookup
ci-upstream-gce-arm64 2022/08/23 10:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 680fb5b009e8 cea8b0f7 .config log report info WARNING in reiserfs_lookup
* Struck through repros no longer work on HEAD.