Skip to Content
Linux Kernel Debugging
book

Linux Kernel Debugging

by Kaiwan N. Billimoria
August 2022
Intermediate to advanced
638 pages
13h 58m
English
Packt Publishing
Content preview from Linux Kernel Debugging

Chapter 6: Debugging Kernel Memory Issues – Part 2

Welcome to the second portion of our detailed discussions on a really key topic – understanding and learning how to detect kernel memory corruption defects. In the preceding chapter, we introduced the reason why memory bugs are common and challenging and went on to cover some really important tools and technologies to help catch and defeat them – KASAN and UBSAN (along the way, covering the usage of the newer Clang compiler).

In this chapter, we continue this discussion. Here, we will focus on the following main topics:

  • Detecting slab memory corruption via SLUB debug
  • Finding memory leakage issues with kmemleak
  • Catching memory defects in the kernel – comparison and notes (Part 2)

Technical ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Kernel Programming

Linux Kernel Programming

Kaiwan N. Billimoria
Understanding the Linux Kernel, 3rd Edition

Understanding the Linux Kernel, 3rd Edition

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9781801075039Supplemental Content