this post was submitted on 07 May 2026
-37 points (17.5% liked)

Linux

65097 readers
944 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

cross-posted from: https://piefed.world/c/uncommon/p/1089778/linux-is-actually-very-vulnerable-to-exploits-and-it-s-showing-with-high-value-vulnerabi

I hate when people keep repeating the myth that Linux is more secure than X OS without any understanding of how much Linux gets exploited.

On the other hand, FreeBSD rarely suffers from wide security issues.

Overall, I don't think anyone should repeat the myth that Linux is secure.

And at least if they gonna recommend Linux, they better recommend a good distro with SeLinux, hardened kernel and hardened OS.

top 20 comments
sorted by: hot top controversial new old
[–] JoshsJunkDrawer@lemmy.world 2 points 5 hours ago

I just had some great hamburger helper. Cooked some onions with the meat, add some extra cheese and a little mustard to enhance that cheese flavor. A few more noodles. Incredible.

[–] rmrf@lemmy.ml 10 points 16 hours ago

Me when I'm not a professional with no understanding of his things actually works and I accidentally reinvent "computers insecure, avoid them at all costs for max cybersec"

OpenBSD can, objectively, do only a fraction of what Linux can. As a result, it is expected it will have only a fraction of vulnerabilities.

[–] Mikelius@lemmy.ml 15 points 23 hours ago (3 children)

"I hate when people keep repeating the myth that Linux is more secure than X OS without any understanding of how much Linux gets exploited."

Very few operating systems are secure out of the box. It's up to the users to make it secure. It just so happens to be that Linux is the easiest to make secure, therefore I've always seen it as such when done right. Not to mention, I can know exactly how everything works rather than the blackboxes of Win or Mac.

[–] KianaTabion@lemmy.today 0 points 9 hours ago (1 children)

It just so happens to be that Linux is the easiest to make secure

Could you back that up? Thanks in advance!

[–] Mikelius@lemmy.ml 1 points 19 minutes ago

I have template iptables/nftables rules on my devices on the network that I can just copy and paste to a machine to have a firewall that works (with tweaks specific to that device). With it I can tell it to send all logs of my choice through syslog-ng to my server just by installing it and telling it the destination, allowing me to have (already made) alerts and dashboards on every device on my internal network. My router runs Linux (openwrt) and allows me to do something other routers can't do because I'm able to add a module into the kernel: permit switch-level firewall access. What this means is I don't need (but do still have) VLAN to restrict traffic between devices. I can block firewall access completely at the router level before a device is tweaked to also add additional security (e.g. helps prevent my smart tv from probing every device on my network to gather information. Or if I purchase a malicious hardware online, it won't know the rest of the network exists because the router doesn't tell it unless I say it's okay).

That's firewall stuff. System security: can compile and modify the kernel to just the modules and such I want, lowering the scope of issues from a kernel level vulnerability. I can be very granular with file and directory permissions with a single command in the terminal. I can easily track file metadata changes down to just about anything you can think of with simple tools, like aide. Python scripts through cron and inotify can help me monitor when something sus happens on my machines.

Most of all this being done on Windows or Mac would require extra effort to work correctly, and not to mention probably cost money for software that can do the same but isn't free. Also not entirely sure a router can be setup on either of those OS.

[–] Neptr@lemmy.blahaj.zone 4 points 22 hours ago

What does it mean to "make Linux secure"? What does secure mean to you (genuine question). I see people say they can make Linux secure but from what kinds of attacks. I think madaidan's blog explains why you can't as an individual fix an issue with the entire ecosystem, or fix the kernel of its inherent security flaws https://madaidans-insecurities.github.io/linux.html

I think "good security" in my personal opinion means that even if you try to run a malicious app, it either crashes out right or can't do anything because it doesn't have the permission to.

One thing that I think is very misunderstood is that messy or extremely large/dense code can be very hard to understand, even if you have the source code. Like systemd, it is several million lines of code and is very tangled together. Is it that much better than a blackbox if no one can audit the whole thing (unless you are a massive team)? I do think it is better to have source code and documentation, but vulnerabilities arise from unintended interactions in the code. The more code there is, the higher the chance of this happening.

[–] racoon@lemmy.ml 4 points 23 hours ago

It’s impossible to know what’s happening on macOS. The number of open processes that are running on their computer is mesmerising, so the user feels disempowered. I dream of daily driving FreeBSD

[–] adarza@lemmy.ca 31 points 1 day ago (1 children)

much smaller target so far fewer people are looking for holes in bsd, subsequently there are fewer reported 'issues'.

and if you tasked all the persons and organizations looking for holes in linux to do the same to bsd...

[–] quantumvoid0@programming.dev 14 points 1 day ago

this ⬆️

also it is a gud thing we are finding exploits so that we can fix them ; theres currently no OS with zero exploits, the fact that none being found is concerning bcz nobody is checking and there might be some bad exploits in them..

[–] hendrik@palaver.p3x.de 17 points 1 day ago (1 children)

Sometimes I wish people would back up their factual claims with numbers and studies.

[–] beep@piefed.world 1 points 21 hours ago (2 children)
[–] hendrik@palaver.p3x.de 7 points 19 hours ago* (last edited 19 hours ago)

Thanks for the link! But I'm afraid it doesn't tell me much. a) FreeBSD isn't even on the list, so I don't know the numbers to compare it to. and b) there's things like survivorship bias. You have to do statistics the proper way around. For all we know by those numbers, Linux could be the best battle-tested OS in the world. I mean they fixed 3 times as many vulnerabilities as Microsoft did for any of their products?!

Interesting that this chart separates the SKUs on the Windows NT kernel but lumps all the Linux kernel stuff together. I have to imagine that this isn't intentional and it's just an artifact of how they collect data.

This seems like a better resource for tracking a specific product over time than comparing between them. It's also worth mentioning, as the other person pointed out, that the Linux kernel is the most audited codebase of all time, so that likely also plays into this a bit.

[–] davel@lemmy.ml 12 points 1 day ago (1 children)

There are ten thousand Linux distributions—some of which are shit—and only one FreeBSD.

[–] racoon@lemmy.ml 1 points 23 hours ago (2 children)

The amount of different distros is mesmerising. On my previous laptop, I wanted to use Linux but I wiped and installed more distros per day than the amount of hours I used it.

Each had its drawbacks: systemd, snapd, no HDMI support, etc. And Gnome would just freeze in the middle of presentations

[–] TruePe4rl@lemmy.ml 2 points 8 hours ago

Sounds like you speedrunned distro hopping and used anything but the stuff people actually end up using. I recommend not to look at distros but the base OS. Distro is just a bunch of things on a base. Also I've never used Gnome, but friends who have used it eventually switched to literally anything else.

Also, never expect things to be 100% plug and play and then complain about them with no research. There is always a limit with every software. And there are always resources and guides.

[–] Archr@lemmy.world 3 points 23 hours ago

no HDMI support

What distro doesn't have HDMI support?!

Sure, let's lump all distros into a pot called "Linux." A vulnerability in one must mean a vulnerability in all.