The kernel is the central part of an operating system. It starts when the computer boots and stays in memory, deciding which programs run on the processor, allocating memory, handling input and output, and controlling access to hardware such as disks, network cards and secure chips. Applications run in a restricted user mode and must ask the kernel, through system calls, to perform privileged tasks. Well-known kernels include the Linux kernel, the Windows NT kernel and the XNU kernel used by Apple. The term is unrelated to the kernel used in machine learning.
Because the kernel has full control of the machine, a flaw in it can let malware bypass every other protection, including those of wallet software. This is one reason why hardware wallets use small, purpose-built operating systems, and why operators of blockchain nodes and exchange servers apply kernel updates promptly.
Ref 1300000322