kernel BUG in dbFindLeaf

10 views
Skip to first unread message

syzbot

unread,
Nov 7, 2021, 1:32:18 PM11/7/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=113a9592b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=4c6211c6d909efdc8119
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+4c6211...@syzkaller.appspotmail.com

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


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 7, 2022, 1:32:17 PM3/7/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages