Based on the research, the answer is yes, but it depends on the specific minor version of Rocky Linux 8 you are running.
The "default kernel" for Rocky Linux 8 is version 4.18.0, which is technically older than the official minimum (5.8+) required for the modern eBPF driver. However, Red Hat (and thus Rocky Linux) has extensively backported the necessary BPF features to later updates of this kernel.
Here is the detailed breakdown:
If you are running a fully updated Rocky Linux 8 system (e.g., 8.7, 8.8, 8.9, or 8.10), the default kernel (currently 4.18.0-5xx) includes the two critical features required for the modern eBPF probe:
- BTF (BPF Type Format): Enabled in RHEL/Rocky 8 kernels starting roughly around version 8.2/8.3.
- BPF Ring Buffer: Backported in later RHEL/Rocky 8 releases (verified present in 8.7+ release notes).
Users have reported success running the Falco modern eBPF driver on RHEL 8.10 kernels (e.g., 4.18.0-553).
If you are using an old ISO or have not updated your kernel in several years, the modern driver will fail. The older 4.18 kernels lack the BPF Ring Buffer backports.
- Solution:
dnf update kernelto get the latest 4.18 version.
You can quickly check if your current kernel supports the necessary features by looking for the BTF file and Ring Buffer availability:
-
Check for BTF:
ls -l /sys/kernel/btf/vmlinux
If this file exists, your kernel has BTF support.
-
Check for Ring Buffer: You can check the boot config (usually found in
/boot/config-$(uname -r)) for the ring buffer feature:grep BPF_ringbuf /boot/config-$(uname -r)Note: Since it is a backport, it might not always appear as a standard config flag in the same way as upstream, but if the modern probe loads, this feature is present.
| Driver Type | Supported on Rocky 8? | Notes |
|---|---|---|
| Modern eBPF | YES (on updated systems) | Requires recent 4.18.0-xxx updates (Rocky 8.7+). Recommended if available. |
| Legacy eBPF | YES | Works on almost all Rocky 8 versions. Use this if the modern probe fails. |
| Kernel Module | YES | The default fallback, but less secure/stable than eBPF. |
Recommendation: Try using the modern eBPF driver first. If Falco fails to start with an error regarding "ring buffer" or "BTF", switch to the Legacy eBPF driver (driver.kind: ebpf), which is fully supported on all Rocky Linux 8 versions.