Some fun things you can do with kernel modules (all "bad ideas")
Simple code generation library developed in C intended for code generation in Kernel mode
A linux kernel module that provides /proc/quine/quine.c which is a copy of its own source code
Swift library for communicating with Linux Kernel Netlink subsystem (Linux Only)