# Poison, Redzones, and Shadows: A Deep Dive Inside KASAN

Original title: Poison, redzones and shadows: inside KASAN

> Hacker News story 48809808 · language: en · submitted 2026-07-06
> Web version: https://zeli.app/story/48809808
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [rrampage](<https://news.ycombinator.com/user?id=rrampage>) · 💬 0
[original](<https://bootlin.com/blog/poison-redzones-and-shadows-inside-kasan/>) · [HN discussion](<https://news.ycombinator.com/item?id=48809808>)

## Summary

I explore the internals of KASAN, the Kernel Address Sanitizer, a vital tool for catching memory errors like buffer overflows in the Linux kernel. We examine how compiler instrumentation and shadow memory work together to track valid accesses, the performance trade-offs involved, and how to set up a safe virtualized environment to test these mechanisms.

## Key quote

> Even if the presence of Rust is slowly increasing in the Linux kernel code base, the project largely remains written in C, and while this is the de facto language to write low level code, it unfortunately also comes with a significant ability of making mistakes.

---

## Cite

- Page: https://zeli.app/story/48809808
- Date: 2026-07-06
- Source: bootlin.com (https://bootlin.com/blog/poison-redzones-and-shadows-inside-kasan/)
- Hacker News: https://news.ycombinator.com/item?id=48809808

## Other languages

- zh: https://zeli.app/zh/story/48809808 · markdown: https://zeli.app/zh/story/48809808.md
- ja: https://zeli.app/ja/story/48809808 · markdown: https://zeli.app/ja/story/48809808.md
- ko: https://zeli.app/ko/story/48809808 · markdown: https://zeli.app/ko/story/48809808.md
- de: https://zeli.app/de/story/48809808 · markdown: https://zeli.app/de/story/48809808.md
- es: https://zeli.app/es/story/48809808 · markdown: https://zeli.app/es/story/48809808.md
