News for hackers. Stuff that matters.
Re:eBPF Verification Is Untenable by tptacek on Thursday June 22, 2023 @09:02PM (#36441410)
Unprivileged BPF is used for socket filters, for programs to BPF-extend themselves. It wasn't ever the case that unprivileged eBPF would allow you to, say, load a TC filter and read everybody's traffic.
Re:eBPF Verification Is Untenable by saagarjha on Friday June 23, 2023 @02:08AM (#36443402)
Ok but you can like put a tracepoint on read/write and peek at what’s going through those, no?
Re:eBPF Verification Is Untenable by tptacek on Friday June 23, 2023 @02:43AM (#36443616)
I have no idea, because every system I've ever worked on has disabled unprivileged eBPF.
Re:eBPF Verification Is Untenable by madog on Friday June 23, 2023 @09:35AM (#36446650)
Nope. Tracepoint eBPF programs require root to load always. For eBPF you select a program type, and that limits what you can do (aka what helper functions are available to you) and what privileges are required.