Shields for the kernel you already run
What Shirudo is, and what the fork changes
Shirudo loads signed BPF programs, called upatches, into the kernel. One use is live mitigation: a upatch on a kernel hook refuses the operation that leads into a vulnerable code path. Upstream is built for hardened targets. It needs a kernel with Shirudo's own patches and a TPM, and is designed to hold even against root.
Most machines do not run that kernel. The fork runs on the kernels distributions ship, like Ubuntu, Debian, Fedora, RHEL or Arch. It needs the BPF feature level of Linux 5.17, which it probes for instead of trusting the version string. Formats, signatures and bpm are upstream's.
Why now
AI makes exploitation faster. Going from a public fix to a working exploit used to take skill and time; models now help read a patch, find the bug it closes and build the trigger. Patching has not sped up the same way. A fix still has to be backported, packaged, installed and booted into, and some machines cannot move faster at all: OT and industrial systems that reboot only in planned downtime, certified or vendor-locked builds, hosts nobody can take offline.
That gap between a public fix and a rebooted machine is getting more dangerous, not shorter. Shields are meant for it.
The registry
registry.conformal.co is where the shields live. It lists every published shield with the bug it covers, the kernel lines it fits and, per distribution, which kernel package fixes the bug, so you can tell whether you still need it. Under the hood it is a plain OCI registry: each shield is a signed package stored as an OCI artifact, next to a signed index and update tree, so any OCI-compatible registry or mirror can serve them. Hosts pull with Shirudo's package manager, bpm, and verify every package against Conformal's signing certificate before loading it.
Installing a shield is one command:
sudo shirudo bpm install conformal/copy-fail@1.0.0
The source of every shield is open in conformal-co/shirudo-shields: what is on main is what the registry serves.
What a shield is
A shield is a BPF program on an LSM or cgroup hook that refuses the precondition one bug's exploit needs, and nothing else. The rule is strict: if it breaks legitimate use, it does not ship, however well it blocks the bug.
Each shield's README states what it refuses, what keeps working, what breaks and what it does not cover. We test every shield on vulnerable vendor kernels of each line it lists: without it the exploit condition is reachable, with it the condition is refused and ordinary workloads keep working. No exploit is run. Every shield has a signed audit mode and an exemption list.
A shield does not fix a bug. It blocks the way to it until the machine runs a fixed kernel.
The launch shields
| Shield | What it refuses | Kernel lines |
|---|---|---|
| Copy Fail, CVE-2026-31431 (source) | Binding an AF_ALG aead socket to an authencesn algorithm (lsm/socket_bind) |
5.14, 6.1–6.18 |
| IPv4 TCP IP options, CVE-2026-98432 (source) | Inbound IPv4 SYNs, and handshake-completing ACKs, that carry IP options and go to a listening socket (cgroup_skb/ingress) |
5.14, 6.1–7.2 |
| assoc_array keyring, CVE-2026-99567 (source) | Keyring insertions that could reach the chaining state the bug needs, with EDQUOT (lsm/key_permission, lsm/key_alloc) |
5.14, 6.1–7.3 |
Copy Fail leaves every other AF_ALG use alone: hashes, skciphers, gcm(aes), ccm(aes), authenc without ESN, cryptsetup and LUKS2, iwd and BlueZ. The only user-space authencesn user we found is libkcapi's test suite. Ubuntu's 7.0 kernels and Fedora are not affected.
The TCP shield keeps TCP without IP options, all TCP options, IP options on established connections, UDP and ICMP with options, and IPv6 working. It does break accepting connections whose SYN carries IP options (Record Route, CIPSO-labelled peers, nmap --ip-options). Hosts that label their own connections with NetLabel CIPSO are not covered and need the fixed kernel.
The keyring shield keeps ordinary keyring use working, including fscrypt, Kerberos, sssd, systemd session keyrings and containers. Links start to be refused at around 100 keyrings linked into one keyring, which matters for fscrypt v1 user-keyring mode or condor_aklog on large multi-user nodes.
The lsm shields need the BPF LSM, which some distributions leave off by default (bpf in lsm=).
Trade-offs
Upstream Shirudo is built against root on the target: its kernel patches keep even root from loading BPF, detaching upatches or changing Shirudo's state unnoticed. A stock kernel has none of that. The fork keeps what shields need against unprivileged users and the network, and loses every guarantee against root. In the terms of upstream's threat model:
| Upstream goal | Against root | Against unprivileged users and the network |
|---|---|---|
| Only signed BPF enters the kernel | Lost | Kept: tampered or foreign-signed packages are refused |
| Upatches stay attached | Lost | Kept: detaching needs CAP_BPF or CAP_SYS_ADMIN |
| Only Shirudo changes its state | Lost | Kept: file permissions |
| Every change is measured in the TPM | Lost | Kept as a log |
| A verifier can tell (attestation) | Lost | Lost |
| Attempts leave a trace | Lost | Kept: shields count what they refuse |
| Only signed content is accepted | Lost: root can trust its own key | Kept |
| Upatch maps are private | Lost | Kept |
- Root, a privileged container, or anything with
CAP_BPFandCAP_SYS_ADMINcan unload a shield and makeshirudo statussay otherwise. - Shields start from a systemd unit, not the initrd. A shield that fails to load leaves its hole open, and the host boots anyway.
- A shield that loads is not automatically one that works: another kernel can route around the hook. That is why shields are tested and offered per kernel line.
We think upstream's hard security requirements are the right ones. But most machines cannot meet them today, and we want to protect those machines now. The fork is meant as a temporary bridge, not a replacement for upstream or for the fixed kernel. Shields work with both: the same signed packages load on upstream Shirudo and on the fork.
Try it
curl -fsSL https://shirudo.today/install | bash
This installs the fork and offers the shields that fit your kernel. sudo shirudo status shows what is loaded.
Or build it yourself from conformal-co/shirudo-today:
git clone https://github.com/conformal-co/shirudo-today
cd shirudo-today
make STOCK_KERNEL=1
The binary is build/stock/shirudo; stock-kernels.rst shows how to set up a host with it.
Contribute a shield
Shields are pull requests to conformal-co/shirudo-shields. The bar: refuse only the exploit condition, show from the kernel source that the hook runs before the vulnerable code on every path and listed kernel line, no exploit code, benign triggers only. Maintainers review each one and test it on vulnerable vendor kernels before publishing. If a bug is still under embargo, please do not open a public pull request. Report it as described in SECURITY.md instead.
What's next
More kernel shields as bugs are disclosed, more kernel lines and architectures (the shields are x86-64 today), and a shorter path from disclosure to a tested shield.
The bigger step is shields beyond the kernel. The same idea works for the software on top of it: a narrow, signed guard that blocks one bug's exploit path in a service, a library or an appliance until the fix is deployed. Today those shields are built for each environment, because the right hook and the right refusal depend on how the software is deployed.
If you run systems that cannot be patched quickly, whether OT, embedded, certified builds or a fleet with long maintenance windows, and want shields for them, write to shields@conformal.co. We build custom setups and would like to hear what you need protected.
The gap between a fix and a patched machine is not going away. Shields make it less dangerous, one bug and one narrow refusal at a time.