2023-06-01 16:10:58

by syzbot

[permalink] [raw]
Subject: [syzbot] riscv/fixes boot error: can't ssh into the instance (2)

Hello,

syzbot found the following issue on:

HEAD commit: 8dc2a7e8027f riscv: Fix relocatable kernels with early alt..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
console output: https://syzkaller.appspot.com/x/log.txt?x=17e9fbcd280000
kernel config: https://syzkaller.appspot.com/x/.config?x=6b4bf01bbb07f945
dashboard link: https://syzkaller.appspot.com/bug?extid=a74d57bddabbedd75135
compiler: riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: riscv64

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-8dc2a7e8.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/822e3cbe29ad/vmlinux-8dc2a7e8.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7bda24abf1c2/Image-8dc2a7e8.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]



---
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 [email protected].

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 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


2023-06-02 08:07:34

by Alexandre Ghiti

[permalink] [raw]
Subject: Re: [syzbot] riscv/fixes boot error: can't ssh into the instance (2)


On 01/06/2023 18:04, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 8dc2a7e8027f riscv: Fix relocatable kernels with early alt..
> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
> console output: https://syzkaller.appspot.com/x/log.txt?x=17e9fbcd280000
> kernel config: https://syzkaller.appspot.com/x/.config?x=6b4bf01bbb07f945
> dashboard link: https://syzkaller.appspot.com/bug?extid=a74d57bddabbedd75135
> compiler: riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> userspace arch: riscv64
>
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-8dc2a7e8.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/822e3cbe29ad/vmlinux-8dc2a7e8.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/7bda24abf1c2/Image-8dc2a7e8.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: [email protected]
>
>
>
> ---
> 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 [email protected].
>
> 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 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
>
> _______________________________________________
> linux-riscv mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-riscv


I'm looking into those failures.


2023-06-02 09:51:45

by Alexandre Ghiti

[permalink] [raw]
Subject: Re: [syzbot] riscv/fixes boot error: can't ssh into the instance (2)


On 02/06/2023 09:58, Alexandre Ghiti wrote:
>
> On 01/06/2023 18:04, syzbot wrote:
>> Hello,
>>
>> syzbot found the following issue on:
>>
>> HEAD commit:    8dc2a7e8027f riscv: Fix relocatable kernels with
>> early alt..
>> git tree:
>> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
>> console output: https://syzkaller.appspot.com/x/log.txt?x=17e9fbcd280000
>> kernel config:
>> https://syzkaller.appspot.com/x/.config?x=6b4bf01bbb07f945
>> dashboard link:
>> https://syzkaller.appspot.com/bug?extid=a74d57bddabbedd75135
>> compiler:       riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1
>> 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
>> userspace arch: riscv64
>>
>> Downloadable assets:
>> disk image (non-bootable):
>> https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-8dc2a7e8.raw.xz
>> vmlinux:
>> https://storage.googleapis.com/syzbot-assets/822e3cbe29ad/vmlinux-8dc2a7e8.xz
>> kernel image:
>> https://storage.googleapis.com/syzbot-assets/7bda24abf1c2/Image-8dc2a7e8.xz
>>
>> IMPORTANT: if you fix the issue, please add the following tag to the
>> commit:
>> Reported-by: [email protected]
>>
>>
>>
>> ---
>> 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 [email protected].
>>
>> 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 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
>>
>> _______________________________________________
>> linux-riscv mailing list
>> [email protected]
>> http://lists.infradead.org/mailman/listinfo/linux-riscv
>
>
> I'm looking into those failures.


So KFENCE was broken by commit 3335068f8721 ("riscv: Use PUD/P4D/PGD
pages for the linear mapping") since our kfence implementation only
breaks pmd hugepages. Let me fix that for 6.4.


>
>
> _______________________________________________
> linux-riscv mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-riscv