Hello,
syzbot found the following issue on:
HEAD commit: 287dec2d1089 ANDROID: incremental-fs: remove index and inc..
git tree: android12-5.4
console output:
https://syzkaller.appspot.com/x/log.txt?x=17b545cc700000
kernel config:
https://syzkaller.appspot.com/x/.config?x=935df5acc0286f17
dashboard link:
https://syzkaller.appspot.com/bug?extid=d77e6e10f069db4b611e
compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.2
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+d77e6e...@syzkaller.appspotmail.com
incfs: Can't find or create .index dir in ./file0
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9691 Comm: syz-executor.3 Not tainted 5.4.161-syzkaller-00054-g287dec2d1089 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:incfs_kill_sb+0x4c/0x100 fs/incfs/vfs.c:1906
Code: 8d b3 f0 03 00 00 4d 89 f7 49 c1 ef 03 41 80 3c 2f 00 74 08 4c 89 f7 e8 42 34 b2 ff 4d 8b 2e 49 8d 5d 10 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 26 34 b2 ff 48 8b 1b 48 83 c3 30 48
RSP: 0018:ffff8881ca237cb0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000
RDX: ffffc9000256b000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: dffffc0000000000 R08: ffffffff821f6074 R09: ffffed1039446f1e
R10: ffffed1039446f1e R11: 0000000000000000 R12: ffff8881ecb31000
R13: 0000000000000000 R14: ffff8881ecb313f0 R15: 1ffff1103d96627e
FS: 00007faf8c6f8700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c622000 CR3: 00000001a473f000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
deactivate_locked_super+0xaf/0x100 fs/super.c:335
incfs_mount_fs+0x772/0x840 fs/incfs/vfs.c:1867
legacy_get_tree+0xde/0x170 fs/fs_context.c:647
vfs_get_tree+0x83/0x260 fs/super.c:1547
do_new_mount fs/namespace.c:2843 [inline]
do_mount+0x17be/0x2390 fs/namespace.c:3163
ksys_mount+0xc2/0xf0 fs/namespace.c:3372
__do_sys_mount fs/namespace.c:3386 [inline]
__se_sys_mount fs/namespace.c:3383 [inline]
__x64_sys_mount+0xb1/0xc0 fs/namespace.c:3383
do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7faf8d582059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007faf8c6f8168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007faf8d694f60 RCX: 00007faf8d582059
RDX: 0000000020000200 RSI: 0000000020000080 RDI: 0000000020000240
RBP: 00007faf8d5dc08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffeb7ba4bf R14: 00007faf8c6f8300 R15: 0000000000022000
Modules linked in:
---[ end trace 73a0a6c5fa20e152 ]---
RIP: 0010:incfs_kill_sb+0x4c/0x100 fs/incfs/vfs.c:1906
Code: 8d b3 f0 03 00 00 4d 89 f7 49 c1 ef 03 41 80 3c 2f 00 74 08 4c 89 f7 e8 42 34 b2 ff 4d 8b 2e 49 8d 5d 10 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 26 34 b2 ff 48 8b 1b 48 83 c3 30 48
RSP: 0018:ffff8881ca237cb0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000040000
RDX: ffffc9000256b000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: dffffc0000000000 R08: ffffffff821f6074 R09: ffffed1039446f1e
R10: ffffed1039446f1e R11: 0000000000000000 R12: ffff8881ecb31000
R13: 0000000000000000 R14: ffff8881ecb313f0 R15: 1ffff1103d96627e
FS: 00007faf8c6f8700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000180 CR3: 00000001a473f000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 8d b3 f0 03 00 00 lea 0x3f0(%rbx),%esi
6: 4d 89 f7 mov %r14,%r15
9: 49 c1 ef 03 shr $0x3,%r15
d: 41 80 3c 2f 00 cmpb $0x0,(%r15,%rbp,1)
12: 74 08 je 0x1c
14: 4c 89 f7 mov %r14,%rdi
17: e8 42 34 b2 ff callq 0xffb2345e
1c: 4d 8b 2e mov (%r14),%r13
1f: 49 8d 5d 10 lea 0x10(%r13),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 48 89 df mov %rbx,%rdi
33: e8 26 34 b2 ff callq 0xffb2345e
38: 48 8b 1b mov (%rbx),%rbx
3b: 48 83 c3 30 add $0x30,%rbx
3f: 48 rex.W
---
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.