FlorentRevest / syz-rrr

Deterministic record and replay and tracing of syzkaller bug reproducers
GNU General Public License v2.0
8 stars 4 forks source link

rrr.trace() fails due to `struct task` #11

Open cengiz-io opened 1 month ago

cengiz-io commented 1 month ago

Hi!

I'm trying to experiment with syz-rrr by running the docker compose setup.

Using the default notebook, locally, when I run trace = rrr.trace(kernel, rootfs, record) cell, there's a chain of errors, starting with the structure differences on task.current_task_addr and leads to a failure of kernelinfo.conf retrieval.

syz-rrr-syz-rrr-1  | Finalizing the recording
syz-rrr-syz-rrr-1  | ...complete!
syz-rrr-syz-rrr-1  | PANDA[core]:os_familyno=2 bits=64 os_details=linux:1.0
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:E:kernelinfo_read.c(read_kernelinfo)> failed to read task.current_task_addr
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:W> failed to read task.thread_group_offset
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:E:kernelinfo_read.c(read_kernelinfo)> 1 errors reading from group linux:1.0:64
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:W> kernelinfo bytes [20-23] not read
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:W> kernelinfo bytes [48-55] not read
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:E:osi_linux.cpp(init_plugin)> Failed to read group linux:1.0:64 from kernelinfo.conf.
syz-rrr-syz-rrr-1  | PANDA[osi_linux]:E:osi_linux.cpp(init_plugin)> Download failed. No such file.
syz-rrr-syz-rrr-1  | PANDA[core]:E:callbacks.c(_panda_require)> PANDA[core]:FAILED to load required plugin osi_linux from /usr/local/lib/panda/x86_64/panda_osi_linux.so

I'm not familiar with PANDA so any ideas on what this might be?

Cheers!

cengiz-io commented 1 month ago

Can be related: https://github.com/panda-re/panda/pull/1429