kasan_report(9)
π kasan_report (9) β Kernel API Manual
okay so bestie, welcome to the kasan_report page π this is a kernel API manual moment, and no, it's not that kind of report β it's the "girl, your memory access was BAD" kind of report π₯
β¨ NAME β¨
kasan_report β print a report about a bad memory access detected by KASAN π«Ά
like, KASAN caught something sus and this is the function that spills all the tea about it π
π SYNOPSIS π
bool kasan_report(const void *addr, size_t size, bool is_write, unsigned long ip);
it's giving "four arguments, one bool coming back at you" β¨
πΈ ARGUMENTS πΈ
addrβ the address of the bad access π literally the exact spot where things went wrong, iconic of it to show upsizeβ the size of the bad access π how much memory was involved in this whole situationis_writeβ whether the bad access is a write or a read βοΈ it's a yes/no vibe check:true= write,false= read, no in-between bestieipβ the instruction pointer for the accessibility check or the bad access itself π§ so like, either where the check happened or where the bad access itself happened, iykyk
ngl every single one of these gets passed straight into the report, so get them right or the tea will be wrong π
π SEE ALSO π
the kernel file ./include/linux/kasan.h is right there being the main character, and it's also serving these icons π¦
kasan_unpoison_new_object(9)kasan_poison_new_object(9)kasan_slab_pre_free(9)kasan_slab_free(9)kasan_mempool_poison_pages(9)kasan_mempool_unpoison_pages(9)kasan_mempool_poison_object(9)kasan_mempool_unpoison_object(9)
and that's the whole page, bestie, you ate that π
this one lives in ./include/linux and it's dated October 2026 β take that info and slay β¨ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms