abbreviation KEXT
Kernel Extension
Kernel extensions (KEXTs) are specialized software components that extend the functionality of an operating system’s kernel, the core part that manages hardware and system resources. They are commonly used in macOS and some Linux distributions to add support for new hardware, drivers, or security features.
KEXTs run with the highest system privileges, meaning they can directly interact with hardware and bypass some security layers. This makes them powerful but also risky if poorly designed or malicious. Operating systems typically require explicit permissions to install or load KEXTs, and modern versions like macOS have restricted their use for security reasons.
For developers, KEXTs allow deep system customization, such as adding support for a new graphics card or implementing custom security policies. However, they also require careful testing to avoid system crashes (kernel panics). For example, a poorly coded KEXT for a USB driver might cause random freezes, forcing users to reboot their system multiple times a day.
A developer writes a KEXT to enable a new Wi-Fi adapter on macOS, requiring admin permissions to install and test it.
In other languages
See also: Kernel-Panic