Hello,
syzbot found the following issue on:
HEAD commit: 19c0ed55a470 Merge 5.15.106 into android13-5.15-lts
git tree: android13-5.15-lts
console+strace:
https://syzkaller.appspot.com/x/log.txt?x=1752584a280000
kernel config:
https://syzkaller.appspot.com/x/.config?x=e8bc8779358f24fb
dashboard link:
https://syzkaller.appspot.com/bug?extid=08c6e82116d52c4fffaa
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=1430fd3a280000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=13b1653a280000
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/8ade0e897782/disk-19c0ed55.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/203011b1fd4d/vmlinux-19c0ed55.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/7f39bb0b7ba9/bzImage-19c0ed55.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+08c6e8...@syzkaller.appspotmail.com
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 294 Comm: syz-executor350 Not tainted 5.15.106-syzkaller-00249-g19c0ed55a470 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:traverse_mounts fs/namei.c:1376 [inline]
RIP: 0010:handle_mounts fs/namei.c:1496 [inline]
RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1802
Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 e9 d0 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc900009677e0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff88811deca780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000967910 R08: ffffffff81bd6190 R09: ffffed1021fd9565
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200012cf13
R13: dffffc0000000000 R14: ffffc90000967c40 R15: 0000000000000011
FS: 00007f09e66f5700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09e66d4718 CR3: 000000011ae5f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
walk_component+0x359/0x610 fs/namei.c:1978
link_path_walk+0x642/0xd90
path_lookupat+0xa0/0x450 fs/namei.c:2450
filename_lookup+0x230/0x5c0 fs/namei.c:2480
user_path_at_empty+0x43/0x1a0 fs/namei.c:2853
user_path_at include/linux/namei.h:57 [inline]
do_mount fs/namespace.c:3334 [inline]
__do_sys_mount fs/namespace.c:3545 [inline]
__se_sys_mount+0x285/0x3b0 fs/namespace.c:3522
__x64_sys_mount+0xbf/0xd0 fs/namespace.c:3522
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f09e6743469
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 14 00 00 90 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:00007f09e66f52f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f09e67cd4c0 RCX: 00007f09e6743469
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000
RBP: 00007f09e679b01c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 0000000000000003 R14: 00007f09e679b038 R15: 00007f09e67cd4c8
</TASK>
Modules linked in:
---[ end trace 9d3fd41dce8e96d3 ]---
RIP: 0010:traverse_mounts fs/namei.c:1376 [inline]
RIP: 0010:handle_mounts fs/namei.c:1496 [inline]
RIP: 0010:step_into+0x1b6/0xe70 fs/namei.c:1802
Code: 20 0f 85 99 0a 00 00 44 8b 3b 43 80 3c 2c 00 74 0a 48 8b 7c 24 18 e8 e9 d0 f3 ff 48 8b 9c 24 b8 00 00 00 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 86 0a 00 00 8b 1b 89 de 81 e6 00 00 07
RSP: 0018:ffffc900009677e0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: ffff88811deca780
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000967910 R08: ffffffff81bd6190 R09: ffffed1021fd9565
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200012cf13
R13: dffffc0000000000 R14: ffffc90000967c40 R15: 0000000000000011
FS: 00007f09e66f5700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f09e66d4718 CR3: 000000011ae5f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 20 0f and %cl,(%rdi)
2: 85 99 0a 00 00 44 test %ebx,0x4400000a(%rcx)
8: 8b 3b mov (%rbx),%edi
a: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1)
f: 74 0a je 0x1b
11: 48 8b 7c 24 18 mov 0x18(%rsp),%rdi
16: e8 e9 d0 f3 ff callq 0xfff3d104
1b: 48 8b 9c 24 b8 00 00 mov 0xb8(%rsp),%rbx
22: 00
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 86 0a 00 00 jne 0xabd
37: 8b 1b mov (%rbx),%ebx
39: 89 de mov %ebx,%esi
3b: 81 .byte 0x81
3c: e6 00 out %al,$0x0
3e: 00 07 add %al,(%rdi)
---
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.
If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup