Slashdot Log In
Linux's Security Through Obscurity
Posted by
CmdrTaco
on Thursday July 17, @09:31AM
from the we-all-do-it-sometimes dept.
from the we-all-do-it-sometimes dept.
An anonymous reader writes "The age-old full disclosure debate has been raging again, this time in no other place than at the foundations of the open-source flagship GNU/Linux operating system: within the Linux kernel itself. It beggars belief, but even Linux creator, Linus Torvalds, has advocated against the sort of openness on which Linux has thrived, arguing that security fixes to the kernel should be obscured in changelogs, saying 'If
it's not a very public security issue already, I don't want a simple "git log + grep" to help find it.' Unfortunately, it's not kernel exploit writers who need to grep the changelog in order to find kernel vulnerabilities. On the contrary, it's downstream distributors who rely on changelog information in order to decide when to patch the kernels of their distributions, in order to keep their users safe."
Related Stories
Firehose:Linux's Security Through Obscurity by Anonymous Coward
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.

What the... (Score:5, Insightful)
Reply to This
Re:What the... (Score:5, Insightful)
Reply to This
Parent
Linus does not mean obfuscation (Score:5, Informative)
He doesn't believe in obfuscating changelogs, just not filling them with security information making it easy to find vulnerable kernels.
Reply to This
Isn't that part of their job? (Score:5, Insightful)
As long as the information is in there, isn't it part of their job to read through the changelog, read between the lines, and update appropriately? I have no mercy for the commercial groups that do their own distributions, and quite frankly, if they're going to play with the big boys, anyone who is rolling their own distribution should be put the effort into it to read the changelog for the kernel. It's not like some security hole in a fairly obscure or minor piece of software that they're having to look out for.
Reply to This
Re:Isn't that part of their job? (Score:5, Insightful)
Reply to This
Parent
Completely out of context (Score:5, Informative)
The article quote is completely out of context, go read the full thread and see what he really said. His main point is that security bugs are like any other bug. He doesn't see the point in putting code that can trip bugs into the git reports, whether it is a security bug or otherwise.
Reply to This
Summary: Flamebait? (Score:5, Insightful)
That said, I don't _plan_ messages or obfuscate them, so "overflow" might well be part of the message just because it simply describes the fix. So I'm not claiming that the messages can never help somebody pinpoint interesting commits to look at, I'm just also not at all interested in doing so reliably.
And from the second email:
> by 'cover up' i meant that even when you know better, you quite
> consciously do *not* report the security impact of said bugs
Yes. Because the only place I consider appropriate is the kernel changelogs, and since those get published with the sources, there is no way I can convince myself that it's a good idea to say "Hey script kiddies, try this" unless it's already very public indeed.
Also, someone is not satisfied with an email from Linus Thorwalds and he drags the discussion over here to /. - This certainly will solve the problem...
(Sorry for RTFA, I should know better)
Reply to This
"Sorry for RTFA"? (Score:5, Funny)
*snort*
And I thought I'd seen every variant on the usual Slashdot in-jokes.
You win a gold star.
Reply to This
Parent
So (Score:5, Insightful)
So, what they're saying is when you find/fix a vulnerability you should broadcast on BBC otherwise you will be less safe?
I don't think so. Love it or hate it, obscure security issues do protect some users. Obviously the issues need to tracked and I think changelogs are a good place to do it. There isn't a real reason to inform the world through all channels avaliable. Just fix it, log it, and move on. Anyone who needs to know will know where to look.
Reply to This
Two sides to this story (Score:5, Informative)
This is a an extremely one-sided presentation of this story. Linus makes some controversial but insightful points about the security obsessed culture in the community. This should not have been a "Linus has gone mad" story. This is a legitimate re-evaluation of how security patches are handled.
Read the thread, make your own decision:
http://thread.gmane.org/gmane.linux.kernel/701694/focus=706950
Reply to This
I just love the smell of napalm in the morning... (Score:5, Informative)
See the Kerneltrap posting [kerneltrap.org] which includes a good part of the email discussion.
It looks like Linus' main concern is that publicizing a few bugs as "security" issues will act to hide other real security issues that weren't recognized at fix time; that any effort to publicize security issues will be so incomplete as to be misleading. And I see no mention of these concerns in the linked postings, almost as if the "full disclosure" people posting them are afraid to disclose the potential bugs (which would automatically be security bugs because of the topic) in their own methodologies.
Reply to This
Some context. (Score:5, Informative)
From here [seclists.org]
Reply to This
Torvalds falsely accused of security coverup .. (Score:5, Informative)
"so guys (meaning not only Greg but Andrew, Linus, et al.), when will you publicly explain why you're covering up security impact of bugs", pagee...@freemail.hu
"I don't cover them up", Torvalds
"by 'cover up' i meant that even when you know better, you quite consciously do *not* report the security impact of said bugs", pagee...@freemail.hu
"Yes. Because the only place I consider appropriate is the kernel changelogs, and since those get published with the sources, there is no way I can convince myself that it's a good idea to say "Hey script kiddies, try this" unless it's already very public indeed", Torvalds
"one reason I refuse to bother with the whole security circus is that I think it glorifies - and thus encourages - the wrong behavior It makes "heroes" out of security people, as if the people who don't just fix normal bugs aren't as important", Torvalds
"I refuse to have anything to even _do_ with organizations like vendor-sec that I think is a corrupt cluster-fuck of people who just want to cover their own ass", Torvalds
http://tinyurl.com/5qyon3 [tinyurl.com]
http://groups.google.co.uk/group/fa.linux.kernel/browse_thread/thread/5bdf2e1b8a90142c/abcf79768bb7ce7f?hl=en&lnk=st&q=#abcf79768bb7ce7f [google.co.uk]
Reply to This
Re:The idealistic young become the cynical old. (Score:5, Funny)
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Informative)
At that point, slashdot and schneier.com are just trolling. Read the whole email [kerneltrap.org] I quote above:
It's a flamebait email thread. Linus has harsh words for BSD. Nobody ever said Linus doesn't do that -- but this is not security through obscurity.
His take on security issues is simply: they're bugs. Deal with it.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Interesting)
In both. There were some that were Linux only but quite a few affected OpenBSD as well.
It's not that they didn't do a good job and they clearly did a much better job than the SSH daemon they replaced it's just that the Linux distros adopting it increased it's userbase by a lot and as a side affect increased the the number of people who saw a need to look at the code.
Reply to This
Parent
Missing the point (Score:5, Informative)
I think what pageexec (the "antagonist" in the referenced thread) was trying to say was that he feels a lot of the developers don't follow Documentation/SecurityBugs in their commits in a consistent way. He's saying that when people post commits for regular bugs, they include a decent amount of data about what they fixed, but if it's a security bug, people are posting a minimal amount in their commits. Apparently in Documentation/SecurityBugs, it says that full disclosure is the policy, but what he's seeing is less than full disclosure in practice. That is what the thread is actually about, Linus' opinions are ancillary to that point.
He's just saying that it seems to him that what is written as policy for kernel devs is not what they're actually doing, so they should either change the policy or change their commits. If the changelogs don't conform to policy, at some point somewhere downstream devs are going to miss something because the policy doesn't match the practice, and that's what's a security risk.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
The thing is that while security through obscurity is a fools game it can also hurt your users to publish exact details of the security vulnerabilities you've found in your own product before many of your users have had a chance to patch the problem.
Surely though, the people who are looking to take advantage of security vulnerabilities, are generally the ones who already have a financial motivation to do so? The people who already have their own dark networks to share or buy and sell vulnerabilities?
Won't they still do this even if it becomes harder to decipher changelogs? The only thing changing then, is that it'll take longer for regular users to see the danger.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
Read the replies. Linus is not advocating security through obscurity. He just doesn't want a big flashing sign "SECURITY" on security-related bugfixes. He doesn't want them to stand out in any way at all.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Funny)
"Dear God, won't somebody please think of the children?"
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Funny)
"Dear God, won't somebody please think of the children?"
Actually, as a kernel issue, this affects all the system threads.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
Congratulations your exactly the reason Linus doesn't want a big flashing "Security" sign.
Linus' point was that most bugs can be potential security problems and if you ignore anything but security fixes you risk not patching in the case of a bug being discovered exploitable after the fix goes into the kernel.
Reply to This
Parent
Re:The idealistic young become the cynical old. (Score:5, Insightful)
In the same thread he also says "So as far as I'm concerned, 'disclosing' is the fixing of the bug. It's the 'look at the source' approach."
I don't see any security by obscurity going on here. He fixes the bug, and tells you in the changelog what the bug was.
What he's NOT doing is announcing in advance how to exploit the bug.
So why are so many people getting agitated about this?
Reply to This
Parent