Kernelim Ltd   Archives  About

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

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 v1 release is available as a Source RPM for CentOS, and it produces a kernel-kasan RPM that is based on version 3.10.0-862.9.1.el7.v1.x86_64 of the CentOS kernel.

Here is the link on Github:

centos-kasan-v1.

To inquire about additional support, please email me.

   — Dan Aloni

centos-kasan-v1-screenshot

Written on August 13, 2018