Skip to content
Cloudflare

eBPF can't count?!

May 3, 2019Jakub Sitnicki13 min read
Opens blog.cloudflare.com
What the post coversAI, from the source post

This post details a critical bug discovered in the eBPF verifier related to 64-bit arithmetic operations (subtraction) when run by unprivileged users.

  • It explains how a security mitigation for Spectre variant 1 attacks inadvertently broke this functionality, leading to incorrect calculations.
  • The post demonstrates the bug, explains the underlying cause by examining kernel code and eBPF bytecode, and discusses workarounds like using 32-bit ALU operations or waiting for kernel patches.
  • This contributes to the understanding of how Cloudflare leverages and debugs low-level kernel technologies for its infrastructure.
Read the full post on blog.cloudflare.com · 13 min (opens in a new tab)

More from the Data Infrastructure & Analytics trail