-
Notifications
You must be signed in to change notification settings - Fork 15
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
Not accessible address returned for a kmem_cache object when kernel built with KASAN or kfence #2
Comments
Hi, Thanks |
I have recompiled the 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 |
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
The text was updated successfully, but these errors were encountered: