Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 487 Bytes

File metadata and controls

16 lines (13 loc) · 487 Bytes

Kernel Panic Module (Linux 6.8.0 on VirtualBox)

This is a simple Linux kernel module that prints a message and then triggers a kernel panic after 5 seconds.
Tested on Ubuntu 24.04 with Linux kernel 6.14.0-24-generic, running under VirtualBox.

Files

  • panic_module.c: The kernel module source.
  • Makefile: For building the module.

How to Use

make
sudo insmod panic_module.ko
# Wait for panic...
# After reboot, check logs:
journalctl -k -b -1 | grep panic_module