Could Linux anti-cheat use eBPF instead of a kernel module?

November 20, 2026 4 answers
Asked by DpadThumbRoll_4E

I've seen discussion of eBPF as a way for Linux anti-cheat to get kernel-level visibility. How would that differ from installing a kernel module, and what would it mean for players?

Answers

scrimMapOnToast

Yes. Easy Anti-Cheat Linux v2 has been described as using eBPF programs and a systemd service without installing or loading a kernel module. The service runs while the game is running.

That distinction matters, but it doesn't make the whole system userspace-only. eBPF programs run in the kernel, so the anti-cheat can still depend on kernel security mechanisms.

DpadThumbRoll_4E:

So no separate module doesn't necessarily mean no kernel involvement. That's the distinction I was missing.

Reply to this answer
P2rollCatch_7V

Think of eBPF as a different way to put restricted programs into the kernel. The kernel verifier checks those programs before they're loaded. An anti-cheat could use eBPF and Linux Security Module hooks for visibility or enforcement, with much of its logic in a userspace service.

One possible advantage is avoiding a separate out-of-tree module for every kernel. That doesn't mean every Linux setup will work automatically, though. The available kernel features and the anti-cheat's requirements still matter.

Reply to this answer
P9crosscut_2M

The practical catch is the boot requirements. Easy Anti-Cheat Linux v2 requires Secure Boot, TPM 2.0 and signed kernels. That could be a sticking point for people who use a custom kernel or have hardware that doesn't meet those requirements.

The reasoning is that a modified kernel can undermine checks built on top of it. Whether those requirements are acceptable is a separate question from whether the anti-cheat ships a module.

quickbind!Misread:

A custom kernel isn't automatically ruled out by the phrase signed kernel, but it would have to meet the anti-cheat's signing requirements.

Reply to this answer
GBCsleepMode~Soon

I'd want details about what gets monitored and what gets enforced before judging it. The verifier limits what an eBPF program can do, but the fact that it's verified doesn't answer every privacy or trust question a player might have.

Also, a service that runs only during the game is different from saying no privileged components are involved. Both details are worth checking.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions