Hardening Linux guest kernel for CC
summary
Argues that guest kernels must treat host-exposed reads as hostile, points to many MMIO/MSR/PCIe read sites in the 5.11 kernel and dozens of drivers doing probing during probe, and proposes a runtime device filter / allow-list that prevents unapproved drivers from running in confidential VMs. Supplies a practical path: upstreamable patches for filtering, a virtio fuzzing toolset and hardening methodology for the allowed drivers, and notes remaining technical objections and tradeoffs versus attestation or minimal kernel images.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 3:12New attack surface in drivers
- 7:04Threat model and cost-benefit debate
- 11:39Alternatives to driver disabling
- 16:35Device filter approach discussion
- 19:45Q&A and wrap-up
related talks
50mHardening the Linux Guest for the Confidential Cloud Computing: Deep Dive and Results
42mProtecting the Linux Kernel from Confidential Computing Threats in Virtual Environments
29mThwarting Unknown Bugs: Hardening Features in the Mainline Linux Kernel
26mHypervisor Based Integrity: Protect Guest Kernel in Cloud
42mLinux Kernel Hardening Techniques
38mKernel Hardening: Protecting the Protection Mechanisms
35mUpstream Kernel Hardening: Recent Progress and Challenges
35mDoes Making the Kernel Harder Make Making the Kernel Harder?
