Kernelim Ltd   Archives  About

Announcing 3rd-party KASAN support (Address Sanitizer) for CentOS 7.6

The Google sanitizer project provides a set of enhancements to compilers along with run-time support for validating code’s correctness. In previous years, a large effort was made to introduce those sanitizers into the Linux kernel, and this support is now in mainline.

However, many old Linux systems generally do not benefit from these recent enhancements.

One of those earlier kernels is the one supplied by CentOS 7.x. Recognizing that it may be beneficial to have KASAN under CentOS 7.x systems, I’ve made an effort to port the KASAN code base from the mainline Linux kernel v4.17 back to CentOS 7.x.

The v2 release is available as a Source RPM for CentOS, and it produces a kernel-kasan RPM that is based on version 3.10.0-957.10.1.el7.x86_64 of the CentOS kernel.

Here is the link on Github:


(link to the original v1 announcement)

To inquire about additional support, please email me.

   — Dan Aloni

Written on March 28, 2019