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.

Atop 2.11 heap problems

170 pointsby baggy_troughabout 2 months ago

15 comments

ianbutlerabout 2 months ago
Hey guys we commented on another thread from a few days ago about our tool Bismuth finding the bug (along with a sha of our reproducer script for proof) <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43489944">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43489944</a><p>After disclosing and having correspondence with Gerlof and from his above post it looks like we did in fact nail it and I&#x27;ve just shared our write up on how we got it.<p>HN post detailing how we got it: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43519522">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43519522</a><p>Edit: Here&#x27;s our reproducer and we&#x27;ve added it to the post too: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;kallsyms&#x2F;3acdf857ccc5c9fbaae7ed823be0365e" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;kallsyms&#x2F;3acdf857ccc5c9fbaae7ed823be...</a>
评论 #43522203 未加载
评论 #43519578 未加载
geerlingguyabout 2 months ago
This doesn&#x27;t seem nearly as nefarious as the post from earlier this week indicated... I had expected a full supply chain compromise or something that bad based on the earlier post.
评论 #43520892 未加载
评论 #43520353 未加载
echoangleabout 2 months ago
Related:<p>&quot;You might want to stop running atop&quot; - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43477057">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43477057</a><p>&quot;Problems with the heap&quot; - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43485980">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43485980</a>
评论 #43520043 未加载
cullenkingabout 2 months ago
I was bit by atop a few years back and swore it off. I would get perfectly periodic 10m hangs on MySQL. Apparently they changed the default runtime options such that it used an expensive metric gathering technique with a 10m cron job that would hang any large memory process on the system. It was one of those “no freaking way” revelations after 3 days troubleshooting everything.<p>Interesting reading through the related submission comments and seeing other hard to troubleshoot bugs. I don’t think atop devs are to blame, my guess is that what you have to do to make a tool like atop work means you are hooking into lots of places that have potential to have unintended consequences.
unsnap_bicepsabout 2 months ago
It&#x27;s unfortunate that Unix sockets isn&#x27;t being used for local connections like this.
评论 #43519640 未加载
评论 #43519271 未加载
yjftsjthsd-habout 2 months ago
Ah, there&#x27;s the other shoe:)<p>&gt; optional sources, that have to be activated explicitly.<p>So only locally exploitable, and you have to enable an optional feature? That&#x27;s ... honestly better than I was worried that it might be
评论 #43519068 未加载
评论 #43519030 未加载
评论 #43518975 未加载
评论 #43519617 未加载
评论 #43519089 未加载
Galanweabout 2 months ago
&gt; The vulnerability is caused by the fact that atop always tries to connect to the TCP port of &#x27;atopgpud&#x27; during initialization. When another local program has been started (instead of &#x27;atopgpud&#x27;) that listens to this TCP port, atop connects to that program. Such program is able then to send unexpected strings that may lead to parsing failures in atop. These failures result in heap problems and segmentation faults.<p>Okay, so, if I have a shell and the rights to listen on a host, I can crash the &quot;atop&quot; of other users? That&#x27;s it ? I could also create a fork bomb, fill up the disk, use all CPU and memory, etc...
评论 #43525029 未加载
评论 #43524912 未加载
mvdtnzabout 2 months ago
So what was the point of Rachel&#x27;s vagueposting? Was there any kind of NDA or a good reason to be so vague?
评论 #43522299 未加载
stiildabout 2 months ago
I have a semi-related question.For someone whose main job is not maintaining or running full linux servers but would like information about processes and their RAM&#x2F;CPU..etc. What would be a good tool that is easy to parse with good defaults?
评论 #43519775 未加载
评论 #43520997 未加载
评论 #43525386 未加载
评论 #43519619 未加载
评论 #43520134 未加载
评论 #43522801 未加载
zitterbewegungabout 2 months ago
Is it just me or does this seem like a bad design where a TCP port is exposed to share information?
评论 #43519204 未加载
评论 #43519185 未加载
Havocabout 2 months ago
That sounds less bad than expected
amiga386about 2 months ago
So, as <a href="https:&#x2F;&#x2F;www.cve.org&#x2F;CVERecord?id=CVE-2025-31160" rel="nofollow">https:&#x2F;&#x2F;www.cve.org&#x2F;CVERecord?id=CVE-2025-31160</a> says:<p>* CWE-617 Reachable Assertion<p>* affected from 0 through 2.11.0<p>... can we assume these will be updated to the actual vulnerability (CWE-940, CWE-120?), and vulnerable versions (2.4.0 through 2.11.0)? Or was the vaguepost about an entirely different vulnerability? Does anyone yet know what specific issue the vaguepost was alluding to?
Zardoz84about 2 months ago
omg .. Why a TCP port instead of using a UNIX socket ?
taspeotisabout 2 months ago
&gt; the parsing of the strings is improved to avoid that heap problems can occur.<p>Tell me what language you’re using without telling me what language you’re using…
nubinetworkabout 2 months ago
atop freaks out if it isn&#x27;t talking to the thing it thinks it&#x27;s talking to... who would have thunked it... I feel like a lot of programs have that issue.
评论 #43519531 未加载