-
Notifications
You must be signed in to change notification settings - Fork 1.3k
syzbot android crashes reappearance #5960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Indeed, it doesn't work for Android (*). Judging by the list of the available partitions, the kernel doesn't see the the disk at all. Are the required configs not set in Android by default?..
With the options above, it gets past the stage of mounting the filesystem, but then just silently hangs after:
(*) But it still works fine for the upstream Linux. |
|
Okay, the difference between a bootable and non-bootable Android kernel is |
Thanks for the suggestion, as you suggested, I found the config with SERIAL_8250_RUNTIME_UARTS=4 in .config, and it has a commit number of 88c4075c39ed. I downloaded the relevant disk, bzImage and vmLInux and used the qemu directive as follows:
It did boot normally, and I was able to see the kernel information when I logged in with the root account. ![]() But this kernel doesn't seem to support adb connection, so I tried using ssh to connect and found that this instruction works.
Next, I tried to write a CFG for Syzkaller's fuzz startup.
It seems to have two issues, the first is a previous issue and the second is an SSH connection issue. ![]() To solve the first problem, I added new parameters to the VM, and the result is as follows:
Success, currently in fuzz testing, thanks for your prompt help. ![]() |
I started from this [url](https://syzkaller.appspot.com/bug?extid=c26098f86bd66cd83749) and triedReplicate the environment.This is a reproduction of a vulnerability environment for Android.
I downloaded the disk_image, vmlinux, and kernel image with commet number 【5e1b899f19c3】 and tried multiple qemu boot combinations.
I've read the [link](https://github.com/google/syzkaller/blob/master/docs/syzbot_assets.md) you gave me, but I'm still having problems actually starting the environment.
Here's what I commanded and how it worked.It's going to restart.
logs are followed:
The text was updated successfully, but these errors were encountered: