How to change the value of "kernel.unprivileged_bpf_disabled" sysctl?

Solution Verified - Updated -


  • Unable to disable the following sysctl nob during runtime of the system.
sysctl -w "kernel.unprivileged_bpf_disabled=0"
sysctl: setting key "kernel.unprivileged_bpf_disabled": Operation not permitted


  • Red Hat Enterprise Linux 8
  • eBPF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content