TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How we found and fixed an eBPF Linux kernel vulnerability

268 pointsby xxmarkuski9 months ago

5 comments

tptacek9 months ago
A reminder that on the platforms eBPF is most commonly used, verifier bugs don&#x27;t matter much, because unprivileged code isn&#x27;t allowed to load eBPF programs to begin with. Bugs like this are thus root -&gt; ring0 vulnerabilities. That&#x27;s not nothing, but for serverside work it&#x27;s usually worth the tradeoff, especially because eBPF&#x27;s track record for kernel LPEs is actually pretty strong compared to the kernel as a whole.<p>In the setting eBPF is used today, most of the value of the verifier is that it&#x27;s hard to <i>accidentally</i> crash your kernel with a bad eBPF program. That is comically untrue about an ordinary LKM.
评论 #41192378 未加载
评论 #41194535 未加载
评论 #41193937 未加载
TacticalCoder9 months ago
&gt; “Uno no es ninguno” (One is none)<p>Literally &quot;One not is none&quot;, aka &quot;One is <i>not</i> none&quot;.
评论 #41196937 未加载
katzinsky9 months ago
The one time I tried to use eBPF it wasn&#x27;t expressive enough for what I needed.<p>Does the limited flexibility it provides really justify the added kernel space complexity? I can understand it for packet filtering but some of the other stuff it&#x27;s used for like sandboxing just isn&#x27;t convincing.
评论 #41191228 未加载
评论 #41191959 未加载
评论 #41191247 未加载
mrbluecoat9 months ago
&gt; “Uno no es ninguno” (One is none)<p>I believe that translates to &quot;One is not none&quot;<p><a href="https:&#x2F;&#x2F;bughunters.google.com&#x2F;blog&#x2F;6303226026131456&#x2F;a-deep-dive-into-cve-2023-2163-how-we-found-and-fixed-an-ebpf-linux-kernel-vulnerability#-uno-no-es-ninguno-one-is-none-" rel="nofollow">https:&#x2F;&#x2F;bughunters.google.com&#x2F;blog&#x2F;6303226026131456&#x2F;a-deep-d...</a>
评论 #41192298 未加载
评论 #41192293 未加载
评论 #41195676 未加载
techwiz1379 months ago
In my country we have a saying. &quot;Porcupine in the pants&quot;. Sounds like for all the good it can do, it isn&#x27;t written safely and carefully.
评论 #41193170 未加载