2021-08-12 10:58:07 -04:00
2021-05-27 15:04:19 -04:00
2021-06-01 17:50:08 -04:00
2021-06-01 17:50:08 -04:00
2021-05-27 15:04:19 -04:00
2021-06-01 17:50:08 -04:00

antipatterns.ko: the world's worst kernel module
================================================

:caution: DO NOT LOAD THIS MODULE

This kernel module contains numerous security vulnerabilities.

It is intended purely as a testbed for vulnerability detection tools.

The idea is to provide a collection of kernel code
that looks plausible, but actually contains vulnerabilities.

Caveat: this is my first ever kernel module, so I may have committed
more mistakes than I intended.

This code is intended to permanently stay out of the main kernel tree,
so that if anyone does `insmod` it, the "taint" flag will be set.

See also::

  samples/kmemleak/kmemleak-test.c
Description
The world's worst kernel module
Readme 52 KiB
Languages
C 98.3%
Makefile 1.7%