an ominous I-am-under-NDA-coded warning to immediately uninstall atop has been posted by a reputable tech blogger. https://rachelbythebay.com/w/2025/03/25/atop/
You might want to stop running atop

to be clear “atop” is a Linux system administration tool and if you don’t know what that means or if you could possibly have it installed, you don’t.
it seems to be getting hug of deathed, so here’s a screenshot, though it really doesn’t say much more than what I said.
@0xabad1dea well that's unnerving.
@0xabad1dea well that's worrying
@0xabad1dea given no other information, and planning to just guess - over/under on this being related to the recent NextJS middlware exploit?
@AT1ST considering atop is a C-language system utility and NextJS is a web framework, completely unrelated
@atax1a I'm still banking on the C-language system utility embedding NextJS just to handle their UI code.
@AT1ST that makes less than no sense and is contradicted by even a brief glance at the code of the utility in question
@0xabad1dea it's bizarre she could be slashdotted so thoroughly by HN, you'd think a former PE for Facebook would manage to select more robust infrastructure for her blog than WordPress or whatever she uses that is so fragile.
@fazalmajid there’s nothing about Wordpress that’s “fragile” in that way, as it’s well known to power many of the busiest sites on the internet, and most people don’t spend large amounts of money on provisioning extra “infrastructure” for their personal blog in case traffic is ever unusually high for a few hours. Mastodon is notorious for hammering small sites offline with the decentralized preview generation.
@0xabad1dea I am currently wondering if oh my zsh could have installed it
@gkrnours @0xabad1dea I have checked on both macOS and some Linux virtual machines that I have that have that installed and there is nothing regarding atop afaik
@0xabad1dea I have never used atop. I find vanilla top a little too bland, which is why I use htop whereever I can.
@0xabad1dea I had to Google that and got all sorts of results. Do they mean the Linux program?

@0xabad1dea

I assume that's the Linux process monitor and not the industrial automation toolset.

@zl2tod @0xabad1dea I’d assume the same as they specifically single out atop from top, htop, etc.

@edmcbane @0xabad1dea

<Grabb0rs the current source for reference>

@zl2tod @0xabad1dea There's an interesting set of fixes about overflows and bound-checks from 2 weeks ago, notable for there's very little else in the previous months.

@edmcbane

"optional kernel module"

<shudder>

@0xabad1dea

@0xabad1dea It would be nice to have something more than "I can go into why another time."
@0xabad1dea do you know if this is default-convenience installed on any distro? Gotta go checking on all my systems now, but I have a few /o\
@DJGummikuh @0xabad1dea as far as I am aware you have to install it for it to be there. It’s not on any of my systems.
@carbontwelve @0xabad1dea I can't remember ever using it myself, I recall seeing it used ONCE. however, not all my systems are under my exclusive control so it's possible a friend installed it on some of them. Thanks regardless, reduces the pressure slightly 😅
@DJGummikuh @0xabad1dea afaik mostly do not, I don’t have on any of my machines

@0xabad1dea

Probably some joke or expiriment how paranoid our community is.

… boosted!

@0xabad1dea I *so* want to see the postmortem on this.
@0xabad1dea considering things i've heard about how atop in particular runs, this sounds nuclear for anyone who has that installed
@0xabad1dea what is atop even?
abadidea (@[email protected])

to be clear “atop” is a Linux system administration tool and if you don’t know what that means or if you could possibly have it installed, you don’t.

Infosec Exchange
@kura @0xabad1dea It is a top style program that can take deep snapshots of system usage. One of the nice / important uses of atop, is that you can run it in 'daemon' mode and it will continually take snaps shots of system resources ( net, cpu, ram, block I/O, process list and what they are using ) and log them to file database for later review. I use atop to diagnose long term process issues (aka memory leaks)
@kura the brother of btop.
just a joke.. system load/analyzing tool like htop
@0xabad1dea I'm sure I can find a better use for that freshly freed 506KB anyway...
@0xabad1dea
Oh thank god I have btop++ instead
@0xabad1dea I have a part of my brain that wants me to install it
Merge pull request #327 from GermanAizek/remove-excess-checks · Atoptool/atop@8d1799b

Removed excess checks before free()

GitHub
@0xabad1dea not the alcohol treatment outcome profile!
@0xabad1dea time to install atop and monitor tcpdump...
@0xabad1dea ok segfault is so much less interesting
@0xabad1dea @stevendbrewer More info/speculation as to why one should cease using atop.
https://news.ycombinator.com/item?id=43477057
You might want to stop running atop | Hacker News

@0xabad1dea Some additional info here: https://rachelbythebay.com/w/2025/03/26/atop/

It sounds like the contributor folks have been dogpiling has little or nothing to do with Rachel's warning, but rather a more troubling and long-lived bug has been noticed.

At a guess, I expect the routine that compares the current process/thread snapshot with the previous one has a buffer length variable that doesn't get set properly, leading to some sort of over/underrun scenario.

Problems with the heap

@0xabad1dea Rachel hints that this is something that can be triggered by an unprivileged user. Maybe manipulating the process table by exec/exit processes during the interval between atop's `/proc` reads? Or rolling over the `pid_max` to exploit some assumption `atop` makes about following processes across scans?

I'm really interested in what folks dig up with all this attention on atop. I've always just tolerated its jankiness because it's so useful, but it is janky fo sho.

@0xabad1dea OK, let's check the changelogs at atoptool.nl/downloadatop.php ... oh, found something for version 2.11.0:

In twin mode atop spawns into a lower level process that gathers the counters and writes them to a temporary raw file, and an upper level process that reads the counters from the temporary raw file and presents them to the user.


A temporary raw file you say? May it be that it accidentally dumps information that shouldn't be accessible to unprivileged users?

Atoptool.nl

An advanced interactive monitor for Linux-systems to view the load on system-level and process-level.

@0xabad1dea damn i was building atop in buildroot just a few days ago but it required ncurses with wide char support (ncursesw) so i didnt