kasan_report(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 up
  • size β€” the size of the bad access πŸ“ how much memory was involved in this whole situation
  • is_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 bestie
  • ip β€” 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 πŸ¦‹


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