Open thealberto opened 1 year ago
Hi,
I have tried with another kernel which does not use kasan
and I was able to progress. Additionally my kernel isn't "stuck" in kfence_metadata`. Any suggestions?
Thanks
I have recompiled the kernel
without kfence
and now the error is gone. Do you want to add it maybe into the docs or is there a better solution?
Thanks
When compiling the kernel with KASAN or kfence (https://docs.kernel.org/dev-tools/kfence.html), the kernel structures will be different and so libslub might not work. Obviously you could fix libslub so it actually supports also KASAN or kfence specificities and use pattern matching to make it generic enough.
Another thing you might find useful is using --loglevel
in order to print more debugging output
If you want, feel free to add the kernel version you tested it on that you confirmed work in the table from https://github.com/nccgroup/libslub/blob/main/docs/SupportedVersions.md#linuxslub-versions. Feel free to also document that kasan/kfence are currently not supported (in a new KASAN/kfence section at the end of the same file?) and then do a Pull Request so it can be merged in the repo.
@saidelike thanks for the information. I'll submit a PR ASAP.
Hi, I have manually fixed #1 for my environment but still I cannot use the
sblist
command.I have printed
kmem_cache_type
andslab_caches
from insideiter_slab_caches
Obviously the
address
associated with thecache
isn't readable in my QEMU machine. Do you have an idea on how to solve it?I'm using the kernel
6.2.0-rc3-next-20230112