syzbot


kernel BUG in dbFindLeaf

Status: auto-closed as invalid on 2022/03/07 18:32
Reported-by: syzbot+4c6211c6d909efdc8119@syzkaller.appspotmail.com
First crash: 890d, last: 890d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in dbFindLeaf jfs C inconclusive 312 3h19m 568d 0/26 upstream: reported C repro on 2022/09/26 11:46
linux-4.14 kernel BUG in dbFindLeaf C 3 419d 561d 0/1 upstream: reported C repro on 2022/10/02 18:35
linux-6.1 kernel BUG in dbFindLeaf origin:upstream C 3 3d05h 255d 0/3 upstream: reported C repro on 2023/08/05 07:19
linux-5.15 kernel BUG in dbFindLeaf origin:upstream C error 4 107d 282d 0/3 upstream: reported C repro on 2023/07/08 22:09
linux-4.19 kernel BUG in dbFindLeaf (2) C error 6 523d 562d 0/1 upstream: reported C repro on 2022/10/02 04:21

Sample crash report:
BUG at fs/jfs/jfs_dmap.c:3002 assert(n < 4)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_dmap.c:3002!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 26373 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dbFindLeaf+0x147/0x240 fs/jfs/jfs_dmap.c:3002
Code: fe 83 fb 04 75 96 e8 88 2f ed fe 48 c7 c1 e0 f7 9a 88 ba ba 0b 00 00 48 c7 c6 60 f7 9a 88 48 c7 c7 a0 f7 9a 88 e8 d4 60 7e 05 <0f> 0b e8 62 2f ed fe 41 83 ef 01 31 ff 8d 04 ad 01 00 00 00 44 89
RSP: 0018:ffff88804cb27508 EFLAGS: 00010286
RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000
RDX: 000000000000ca7f RSI: ffffffff814dff01 RDI: ffffed1009964e93
RBP: 0000000000000004 R08: 000000000000002b R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b4a07000
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000005
FS:  00007faa50d01700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fea580273e9 CR3: 000000009bc72000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 dbFindCtl+0x1f8/0x4c0 fs/jfs/jfs_dmap.c:1763
 dbAllocAny+0xa4/0x1a0 fs/jfs/jfs_dmap.c:1575
 dbAlloc+0x4e6/0xb00 fs/jfs/jfs_dmap.c:864
 ea_write+0x4b8/0xbd0 fs/jfs/xattr.c:245
 ea_put fs/jfs/xattr.c:623 [inline]
 __jfs_setxattr+0xe48/0xf50 fs/jfs/xattr.c:796
 __jfs_xattr_set+0xc9/0x150 fs/jfs/xattr.c:930
 __vfs_setxattr+0x10e/0x170 fs/xattr.c:149
 __vfs_setxattr_noperm+0x11a/0x420 fs/xattr.c:180
 __vfs_setxattr_locked+0x176/0x250 fs/xattr.c:238
 vfs_setxattr+0xe5/0x270 fs/xattr.c:255
 setxattr+0x23d/0x330 fs/xattr.c:520
 path_setxattr+0x170/0x190 fs/xattr.c:539
 __do_sys_setxattr fs/xattr.c:554 [inline]
 __se_sys_setxattr fs/xattr.c:550 [inline]
 __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7faa5378bae9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faa50d01188 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007faa5389ef60 RCX: 00007faa5378bae9
RDX: 0000000020004180 RSI: 0000000020000080 RDI: 0000000020000040
RBP: 00007faa537e5f25 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000001009 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe01161d3f R14: 00007faa50d01300 R15: 0000000000022000
Modules linked in:
---[ end trace 5191fc46c8368151 ]---
RIP: 0010:dbFindLeaf+0x147/0x240 fs/jfs/jfs_dmap.c:3002
Code: fe 83 fb 04 75 96 e8 88 2f ed fe 48 c7 c1 e0 f7 9a 88 ba ba 0b 00 00 48 c7 c6 60 f7 9a 88 48 c7 c7 a0 f7 9a 88 e8 d4 60 7e 05 <0f> 0b e8 62 2f ed fe 41 83 ef 01 31 ff 8d 04 ad 01 00 00 00 44 89
RSP: 0018:ffff88804cb27508 EFLAGS: 00010286
RAX: 000000000000002b RBX: 0000000000000004 RCX: 0000000000000000
RDX: 000000000000ca7f RSI: ffffffff814dff01 RDI: ffffed1009964e93
RBP: 0000000000000004 R08: 000000000000002b R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b4a07000
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000005
FS:  00007faa50d01700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f15865fe8 CR3: 000000009bc72000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/07 18:31 linux-4.19.y 3f8a27f9e27b 4c1be0be .config console log report info ci2-linux-4-19 kernel BUG in dbFindLeaf
* Struck through repros no longer work on HEAD.