Get the latest tech news

Poison, redzones and shadows: inside KASAN


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, with the corresponding failures then coming in a wide variety of shapes: undefined behaviors, buffer overflows, segmentation faults… The kernel is not immune to such issues, and so kernel developers need some dedicated tooling to catch those issues early. As many problems have their roots in memory management, one tool that can legitimately sit in any kernel hacker toolbox is the Kernel Address Sanitizer, or KASAN for short.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of shadows

shadows

Photo of poison

poison

Photo of inside KASAN

inside KASAN

Related news:

News photo

Paramount Accuses Netflix of ‘Panic-Level’ ‘Scorched-Earth Campaign’ to ‘Poison’ Regulators Against Warner Bros. Deal

News photo

The new trailer for Sekiro: Shadows Die Twice's anime series is loaded with boss fights and old-fashioned visuals

News photo

Tech-Savvy Spies Step Out of the Shadows and Into the Boardroom