Where a shield fits, and what it doesTop: a timeline from a kernel bug's disclosure, to the fix merged upstream, to the distribution shipping a fixed kernel, to the host rebooting into it. The whole span from disclosure to reboot is marked as exposed. A shield covers most of that span: it is installed after it is published and uninstalled once the fixed kernel runs. Bottom: a process or network packet reaches a kernel hook (LSM or cgroup_skb); the shield checks for the exploit's precondition. Without it, the normal path continues. With it, the operation is refused (EPERM, EDQUOT or a dropped packet) and the vulnerable code is never reached.Where a shield fitsBugdisclosedFix mergedupstreamDistribution shipsa fixed kernelHost rebootedinto itExposed: the bug is public, the fixed kernel is not running yetShield loaded: the exploit's precondition is refusedShield loaded: the exploit's precondition is refusedshield published and installedshield uninstalledWhat a shield doesUnprivileged processor network packetKernel hookLSM · CGROUP_SKBShield checks forthe preconditionabsentNormal path continuespresentRefusedEPERM · EDQUOT · DROPvulnerable codeis never reached
Where a shield fits, and what it doesTop: a timeline from a kernel bug's disclosure, to the fix merged upstream, to the distribution shipping a fixed kernel, to the host rebooting into it. The whole span from disclosure to reboot is marked as exposed. A shield covers most of that span: it is installed after it is published and uninstalled once the fixed kernel runs. Bottom: a process or network packet reaches a kernel hook (LSM or cgroup_skb); the shield checks for the exploit's precondition. Without it, the normal path continues. With it, the operation is refused (EPERM, EDQUOT or a dropped packet) and the vulnerable code is never reached.Where a shield fitsBugdisclosedFix mergedupstreamDistributionships a fixedkernelHostrebootedinto itExposed: the bug is public,the fixed kernel is not running yetShield loaded: the exploit'sprecondition is refusedShield loaded: the exploit'sprecondition is refusedshield published and installedshield uninstalledWhat a shield doesUnprivileged processor network packetKernel hookLSM · CGROUP_SKBShield checks forthe preconditionabsentNormal path continuespresentRefusedEPERM · EDQUOT · DROPvulnerable codeis never reached