IT lexicon › Infra & Ops › Tainted kernel

Tainted kernel

Infra & Ops På svenska → Updated: 2026-11-02

A flag the Linux kernel sets when something has happened that makes debugging unreliable — usually that a proprietary module was loaded.

Every kernel module declares its licence with MODULE_LICENSE(). Load one that isn't GPL-compatible and the P flag goes up, the module is denied symbols exported with EXPORT_SYMBOL_GPL, and every oops from then on opens with Tainted: P. Other letters mark out-of-tree modules (O), unsigned modules (E), forced loads and hardware errors. The combined value lives in /proc/sys/kernel/tainted.

The flag sticks until reboot. Its real effect is social rather than technical: kernel developers routinely ask anyone filing a bug with Nvidia's driver loaded to reproduce it without first. Code they cannot read, they will not debug.

← Back to the lexicon