Cloudflare
Cloudflare logoCloudflare · Feature trail

Linux Kernel Security Modules with eBPF

1 post · Sep 2014 – Apr 2026

What this trail covers

Cloudflare is leveraging eBPF within Linux Security Modules (LSM) to implement granular security policies without requiring kernel module modifications or extensive configuration. This approach is being used to address specific security risks, such as preventing unprivileged users from escalating privileges via USER namespaces using the `unshare` syscall. The LSM BPF framework allows for dynamic policy enforcement at specific kernel hook points, offering a flexible and robust security mechanism. This post details the patching of a critical bash vulnerability (CVE-2014-6271 and CVE-2014-7169) across Cloudflare's infrastructure and the provision of WAF rules for customers.

All Cloudflare trails