Slashdot Mirror


Linux's Security Through Obscurity

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."

68 of 215 comments (clear)

  1. The idealistic young become the cynical old. by HungryHobo · · Score: 4, Interesting

    And so the cycle continues.

    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.

    1. Re:The idealistic young become the cynical old. by neuromancer23 · · Score: 5, Funny

      "Get off my lawn!" - Linus Torvalds

    2. Re:The idealistic young become the cynical old. by fictionpuss · · Score: 4, 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.

    3. Re:The idealistic young become the cynical old. by dotancohen · · Score: 4, 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.

      --
      It is dangerous to be right when the government is wrong.
    4. Re:The idealistic young become the cynical old. by dch24 · · Score: 5, Informative
      Realistically, this article is light on the quotes of Linus because the article is trying to make a big deal out of Linus' words "I personally consider security bugs to be just 'normal bugs'. I don't cover them up, but I also don't have any reason what-so-ever to think it's a good idea to track them and announce them as something special."

      At that point, slashdot and schneier.com are just trolling. Read the whole email I quote above:

      We went through this discussion a couple of weeks ago, and I had absolutely zero interest in explaining it again.

      I personally don't like embargoes. I don't think they work. That means that I want to fix things asap. But that also means that there is never a time when you can "let people know", except when it's not an issue any more, at which point there is no _point_ in letting people know any more.

      So I personally consider security bugs to be just "normal bugs". I don't cover them up, but I also don't have any reason what-so-ever to think it's a good idea to track them and announce them as something special.

      So there is no "policy". Nor is it likely to change.

      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.

    5. Re:The idealistic young become the cynical old. by Tupper · · Score: 5, Insightful

      Yeah, he thinks security bugs are just like regular bugs. But he's wrong. Most bugs don't bite most users--- the ones that don't can be ignored. Very few people can ignore security bugs--- they bite everyone. The chance I need a random bugfix is very small; if I don't need it, I don't want it. The chance I want a security bugfix is almost 100%.

    6. Re:The idealistic young become the cynical old. by dotancohen · · Score: 2, Interesting

      The chance I need a random bugfix is very small; if I don't need it, I don't want it. The chance I want a security bugfix is almost 100%.

      And where will the manpower for triaging every bug for possible exploits come from? Not all security-related bugs are easily identifiable as such. And even if they were, and then they were marked as such, do you really want the changelog easily greppable by them?

      --
      It is dangerous to be right when the government is wrong.
    7. Re:The idealistic young become the cynical old. by gmack · · Score: 4, 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.

    8. Re:The idealistic young become the cynical old. by TheGreek · · Score: 4, Funny

      Not all security-related bugs are easily identifiable as such. And even if they were, and then they were marked as such, do you really want the changelog easily greppable by them?

      "Dear God, won't somebody please think of the children?"

    9. Re:The idealistic young become the cynical old. by sukotto · · 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?

      --
      Come play free flash games on Kongregate!
    10. Re:The idealistic young become the cynical old. by spankymm · · Score: 5, Insightful

      He's right - they're just bugs. Where he isn't right is about OpenBSD - security is a by-product of fixing bugs. They don't just fix the bugs, but when a new class of bug is identified the whole source tree is scanned for that type of bug - both kernel *and* user-land. But then Linux is just a kernel, isn't it?

      --
      http://cafepress.com/spankymm - for the Masturbating Monkey in you!
    11. Re:The idealistic young become the cynical old. by ShibaInu · · Score: 2, Interesting

      Don't THEY have the source code, since the kernel is free? How about a simple diff? Seems to me that if a malicious programmer is bothering to grep the changelog, just looking at the code changes isn't THAT much of a stretch? If Linux is "free" as in speech, keep it that way.

    12. Re:The idealistic young become the cynical old. by dotancohen · · Score: 5, Funny

      "Dear God, won't somebody please think of the children?"

      Actually, as a kernel issue, this affects all the system threads.

      --
      It is dangerous to be right when the government is wrong.
    13. Re:The idealistic young become the cynical old. by xtracto · · Score: 4, Insightful

      Yeah, he thinks security bugs are just like regular bugs. But [I think] he's wrong.

      There, fixed it for you. The fact is that just because from your personal point of view a bug that is potentially useful to gain unauthorized rights does not mean that everybody sees it that way.

      From what I have read about Linus, he is a very pragmatic guy. For him, a security bug is just another bug in the code (and in a simplistic way, it really is true).

      Some people will be more concerned with those bugs, others will be concerned with bugs that reduce the performance of the OS, others will be more interested in bugs that reduce the reliability (as in, crashing every so often, etc).

      The fact is that there are lots of people already classifying bugs, I think what Linus is saying is that he does not consider the job of the kernel guys to do such kiind of classification.

      For them, it is just another bug that must be seen.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    14. Re:The idealistic young become the cynical old. by frodo+from+middle+ea · · Score: 3, Interesting

      The problem arises when you are using Linux in environments which must meet certain Government (SOX etc) , Industry standard (PCI etc) requirements on security. To meet these requirements you must routinely audit your systems and when you audit your systems, you need to classify security related bugs (vulnerabilities ) found, and having clearly marked security related bugs, will help these auditors/tools do a better job. May be for a kernel developer , security related bugs are on the same level as any other bugs, but for an end user of the Linux system, it will definitely be the most important bug. Otherwise how are Linux vendors supposed to create security-fix only updates ? Or do you expect every one to blindly upgrade the kernel every time a new point release comes out ?

      --
      for the last time people, I am "frodo from middle eaRTH", not "middle eaST".
    15. Re:The idealistic young become the cynical old. by spankymm · · Score: 2

      In the 'portable' version of openssh?

      --
      http://cafepress.com/spankymm - for the Masturbating Monkey in you!
    16. Re:The idealistic young become the cynical old. by gmack · · Score: 4, 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.

    17. Re:The idealistic young become the cynical old. by NickFortune · · Score: 3, Insightful

      At that point, slashdot and schneier.com are just trolling

      Umm.... the schneier article is almost seven years old and discussing apparently discusses a release of the 2.2 kernel. I think the article was referenced purely as summary of security-through-obscurity issues, rather than an attack on Linus.

      --
      Don't let THEM immanentize the Eschaton!
    18. Re:The idealistic young become the cynical old. by rgviza · · Score: 2, Insightful

      Actually he has a good point in that you don't want to just go blindly patching everything the day the patch comes out. A lot of patches are trivial and fix hardware that has nothing to do with you. This can lead to downtime if the patch causes a new bug.

      You can break an otherwise healthy system with a bunch of patches you don't need. By the same token if you don't patch a security issue right away it can lead to system compromise.

      Therefore full disclosure of the security issues a patch fixes is necessary. Any system admin worth his salt knows it's a bad idea to just go around fixing stuff if it isn't broken. It can cause you to lose your job.

      If it ain't broke, don't fix it. Without knowledge of what you are fixing and why, you are playing Russian roulette. If you tell your CIO you installed a kernel patch and broke critical systems "just because", he's not going to like that answer.

      If you tell him your server got comprimised because you didn't install an important security update because you didn't know it was a security update, this would cause you to possibly lose your job.

      If you say to your CIO "I have to install every kernel patch, because it's linux and they never tell us what they are doing and why, so if it breaks, don't blame me." You CIO may say "This isn't working out, move to Sun or AIX." after it breaks critical systems more than once.

      If you run all the scenarios disclosure starts to make sense if you are an administrator or user, the people who a lack of information affects the most.

      Without administrators or users, you got nuthin'.

      Disclosure doesn't necessarily need to be full specific disclosure. Linus just needs to say "Install this patch because it fixes a security problem, but I'm not telling you what it is."

      We don't care what it is. If we are told we need to install a release because it fixes an important security issue, we will. We don't need to know what that security issue is.

      -Viz

      --
      Don't kid yourself. It's the size of the regexp AND how you use it that counts.
    19. Re:The idealistic young become the cynical old. by mabhatter654 · · Score: 3, Informative

      Linus doesn't want "security only" fixes.. because then EVERY SINGLE OLD VERSION becomes a target...immediately!

      Which is better to say:

      "fixed bug #23456 overflow at line #1234 causing dumaflopper() to return incorrect result"

      or

      "fixed security hole #23456 -- firefox calling line #1234 with variable name = "wiggle" caused dumaflopper() to skip password check"

      It's better to quietly fix the bugs, identify where they are and what you fixed.. we fixed 25 overflow errors today -- but don't tell which ones tie to a known security error.. don't make cracker's work too easy.

      Many bugs are not "security" problems because nobody has figured out how to break it yet. Just because a bug does not match a security notice does not mean it couldn't be a problem after the patch is released!

    20. Re:The idealistic young become the cynical old. by menace3society · · Score: 3, Insightful

      What Linus IS doing trolling. Plain and simple.

      There is a policy, or at least a strong convention, in place for Linux that bug fix commits should explain in a fairly detailed fashion what was the bug was and/or how it was fixed. However, most of the security fixes are vague and general.

      Someone pointed this out, and first Linus said there was no "policy." Someone pointed out that, in fact, there was. Then Linus said that wasn't the point, the issue was that he didn't want script kiddies to be able to find potential exploits easily. So someone pointed out that this means that individuals and distros can't tell whether a given bugfix is urgent or not, and Linus replied that the question whether a bug is related to security or not is difficult to answer. Just to make sure that everyone knew he was trolling hard, he flamed OpenBSD for having a better security record than Linux.

      It boggles my mind, the extent to which Linus is able to spew the most outrageous bullshit and Linux nutriders will buy it. He's an excellent programmer and deserving of his reputation, but the cult of hero worship that surrounds him drags down the whole community of Linux users (and by extension, Free Software in general).

    21. Re:The idealistic young become the cynical old. by Anonymous Coward · · Score: 5, Insightful

      No, there was only one openssh bug around that time, the rest were PAM/linux specific issues. And that one openssh bug had nothing to do with it being more widely adopted, it was just an ordinary "bug found in relatively new software" situation.

    22. Re:The idealistic young become the cynical old. by Evets · · Score: 3, Insightful

      "fixed bug #23456 overflow at line #1234 causing dumaflopper() to return incorrect result - known security problem" or

      "fixed bug #23456 overflow at line #1234 causing dumaflopper() to return incorrect result - important update"

      would be more appropriate IMO. Letting people know where the security fixes are is important in getting the changes widely distributed.

      By hiding it, you're only protecting yourself from second rate hackers. The first rate hackers found the problem and began taking advantage of it well before the development team was aware the problem existed.

      Further, a better community understanding and acceptance of insecurity would be an even better idea. Too many people out there think "I've secured this box, I know what I'm doing, nobody can get in" when in fact there are very few such boxes out there and the real security layer being utilized is the fact that there are so many other machines out there that are easier to control. If you know you are vulnerable the mindset changes.

      Example: "E-mail has lots of viruses, so I don't open up strange email. Now that I have Norton, it protects me so I open up strange email if it has a subject that draws me in." That's a mindset a lot of people have. Norton gives them the mindset they are secure, but the reality is far from that. If everyone knew how insecure they really were, less people would open up spam or virus-laden spam.

    23. Re:The idealistic young become the cynical old. by TheSHAD0W · · Score: 4, Insightful

      So, some random - but short, say within 3 days - amount of time later, post a message saying "security fix implemented - please update".

      That will alert folks that there's a security issue without spotlighting the problem.

    24. Re:The idealistic young become the cynical old. by gmack · · Score: 2, Interesting

      Wow you have managed to go on a complete rant while ignoring everything I said.

      What do you think your CIO will say if you get rooted and your answer is "well there was a bugfix but it wasn't a known vulnerability when the patch came out so I didn't install it"?

      Bugfixes are bugfixes and even in the case of security bugs you should be testing before deployment. Don't know if you need to install it? Well just read the freaking changelog and see if it affects a driver or subsystem your using. Even the Payment Card Industry standards require you to test security updates before deployment.

      Even if it's not a security bug you may very well want to install the patch to avoid a possible crash when your not expecting it. Better a controlled outage than a crash at 4 am.

    25. Re:The idealistic young become the cynical old. by soliptic · · Score: 2, Interesting

      By hiding it, you're only protecting yourself from second rate hackers. The first rate hackers found the problem and began taking advantage of it well before the development team was aware the problem existed.

      I would say by hiding the fact a bug is a security issue would only protect you from third rate hackers. If first rate ones found the problem before the devs did, second rate ones are capable of looking through all the 'innoccously' labeled bugfixes and thinking, "hmm, overflow at line #1234 is it? Let's take a look at what goes on in dumaflopper() then, perhaps it'll be useful for my evil purposes, we'll see...", tracing through the source and working out the nature of the bug and how it could be exploited (or not). Which would leave those who need it spelt out whether and how a bug is exploitable on a third tier.

      (This isn't intended as a "corrective" let alone combatitive post, btw. I've noticed often on slashdot people seem to take every post that way, so I shall disclaim it's not such thing, just thinking aloud really...)

    26. Re:The idealistic young become the cynical old. by elronxenu · · Score: 2, Insightful

      But that also means that there is never a time when you can "let people know", except when it's not an issue any more, at which point there is no _point_ in letting people know any more.

      Actually there is a point. Not everybody runs the latest kernel all the time. And so reporting a fixed security problem is not a matter of "we fixed another security problem for you" but rather "all versions of (linux) between 2.6.xx and 2.6.yy are vulnerable to (problem description) and so please upgrade to 2.6.yy+1."

      However, Linus' role is to manage the huge volume of changes going into the kernel, and making a big song and dance about security fixes will detract from performing that role. Somebody else should do that, and it's often vendors, and that seems quite adequate to me. I regularly see Debian Security advisories about kernel 2.6.18 and upgraded packages. I don't run those kernels myself, but the updates probably come from backported fixes applied in later 2.6.x kernels. Therefore if I run the latest 2.6.x kernel I am safe from all vulnerabilities fixed before 2.6.x was released.

      I think the kernel developers' attitude is that they don't want you to run 2.6.18 or 2.6.22 or whatever; they want you to run the latest released kernel. If there's a bug in 2.6.18 (there are many, apparently) their advice to you will be to upgrade to 2.6.26, or the latest kernel in the series you are running (2.6.25.11 if running 2.6.25, 2.4.36.6 if still running a 2.4 kernel).

    27. Re:The idealistic young become the cynical old. by 10101001+10101001 · · Score: 2, Interesting

      Where he isn't right is about OpenBSD - security is a by-product of fixing bugs.

      Security is a by-product of a philosophy of "what could go wrong and how do we prevent it proactively"? To that end, I'd say OpenBSD still has a way to go with security. While it might be hard to go through and audit tons of code, it's much harder to create the necessary* provably correct code that one can be sure things can't go wrong. But the OpenBSD philosophy doesn't seem interested in exploring such long-distance considerations, so I'd say it's in the same boat as Linux and Windows. It's just more proactive on the code auditing front.

      *It's very difficult to define "necessary" in the scope of a computer system and security. What can go wrong is certainly contextual for many people, so it's quite possible that multiple proofs under multiple well-defined contexts would have to be adopted with people choosing the context best suited to them to obtain the desired security. This, of course, assumes that it's at all possible to prove enough code (I doubt all code needs to be proved) to be certain that, at least within the context of the code**, there is no security problem. AFAIK, we're still very far away from knowing if it's possible.

      **The hardware can undermine your code, but you can make allowances for defects in hardware you know about. If the hardware isn't proven correct/consistent, then you will always be on shakey ground no matter how proven your code is. We're still a long ways away from even this. And something like TPM is unlikely to solve the problem.

      --
      Eurohacker European paranoia, gun rights, and h
    28. Re:The idealistic young become the cynical old. by mabhatter654 · · Score: 2, Interesting

      so what happens when the "second rate" hacker finds a way to exploit a bug you didn't rate "security"? Now you've identified bugs, but developers don't check all bugs they catch for security problems, they just fix them. My point is that a bug is a bug, you should patch all of them and run good tests before putting it into production to prove the whole patch works rather than trying to pick and choose parts of the regularly supported patches.

      Along the same line, Linus doesn't want to support "security" and "bug fix" patch sets all over the place... the whole point is to move forward... push forward and sometimes take lumps rather than supporting "half patches". Linux developers don't work that way, they patch what's in front of them when they find it. They may have found other dependent bugs when fixing security issues. To just get "security" issues is a whole different kind of work and different cycle.

  2. What the... by gparent · · Score: 5, Insightful

    Linux users typically praise open source software on the basis that vulnerabilities can be found easily and patched by anybody who possesses the knowledge to do so, making open source software more secure. Why should this change now?

    1. Re:What the... by HungryHobo · · Score: 5, Insightful

      As the userbase shifts towards more mainstream users and away from the technically abled the percentage of users to whom the "who possesses the knowledge" actually applies drops and the number who are likely to be slow updating their systems goes up.This changes the game a little. I'm a supporter of the open model but I can see where they're coming from.

    2. Re:What the... by hcmtnbiker · · Score: 4, Insightful

      Linux users typically praise open source software on the basis that vulnerabilities can be found easily and patched by anybody who possesses the knowledge to do so, making open source software more secure. Why should this change now?

      This has nothing to do with the openness of the source code or the disclosure of vulnerabilities. Linus just doesn't want big proof of concepts for exploits in the last version of the kernel(which there will of course be people still running) to end up in this version. He doesn't want to aid script kiddies. Anyone can still find and patch parts of the code base, there's no move away from that.

      --
      If i had one dollar for every brain you dont have, i would have $1.
    3. Re:What the... by atlep · · Score: 2, Insightful

      It doesn't really matter that the percentage drops. As long as the absolute number of people actually fixing bugs don't drop, the rate of bug fixing will remain constant.

      The good thing about "anybody can find and fix the bugs" has never meant "I personally can fix the bugs". It means "somebody out there can fix bugs without having to be part of the developer team".

  3. Linus does not mean obfuscation by Novus · · Score: 5, Informative
    Note that the quote from Linus continues:

    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.

    He doesn't believe in obfuscating changelogs, just not filling them with security information making it easy to find vulnerable kernels.

    1. Re:Linus does not mean obfuscation by betterunixthanunix · · Score: 2, Interesting

      How is that any better? If I need to weigh security against stability, I need to know whether or not a patch fixes a major security bug on production machines or just changes obscure drivers that I don't even use. If I were to see a sudden increase in the number of attempted buffer overflows, I'm gonna want to check for known overflow attacks on the kernel and userspace programs I am administrating.

      My theory? Linus is losing his mind, and he slips too far, we will wind up with a fork of the kernel (NetBSD/OpenBSD style).

      --
      Palm trees and 8
    2. Re:Linus does not mean obfuscation by LO0G · · Score: 2, Informative

      I agree.

      Here's the danger of not identifying security fixes in your patch logs: If a security fix isn't clearly identified, then customers won't necessarily update it.

      I run Windows at work, the IT department there has deployed its own WSUS servers. They only deploy security fixes from Microsoft on those servers (don't ask, it's stupid, but it's what they do). If Microsoft were to hide security fixes in non security updates, then our machines would remain vulnerable to those security bugs.

      The theory that somehow hiding the patches will keep customers safe (or deter the hackers from figuring out the vulnerability) is totally bogus. Even though Microsoft is closed source, security researchers can reverse engineer a working exploit from the binary patches in minutes.

      It's important to flag security fixes as security fixes so that customers know that they need to give them higher priority.

    3. Re:Linus does not mean obfuscation by gmack · · Score: 2, Interesting

      If you want stability just stay on the current branch your on.. ex 2.6.23.x. No new features will be added only bugfixes. Need to know if you need to apply the patch? Just check the change log to see if the bug is in any subsystem you use.

      Otherwise you risk someone discovering a bug is exploitable after the patch was added to the kernel.

       

    4. Re:Linus does not mean obfuscation by x2A · · Score: 2, Funny

      I would say that those people are the vulnerability and they're the ones that need patching. Not all vulnerabilities of a system are in the code!

      --
      The revolution will not be televised... but it will have a page on Wikipedia
    5. Re:Linus does not mean obfuscation by Davorama · · Score: 2, Funny

      Haven't you seen Tron?

      --

      Davo -- Free speech, free software, AND free beer.

  4. It's already fixed right? by rubbsdecvik · · Score: 2, Insightful

    It would seem that if the vulnerability is patched in the change log, then it's fixed. I realize that some may need to run on an older kernel, but if a kernel developer found the vulnerability and fixed it, there is little way of knowing if anyone else (read black hat) has already known about it.

    --
    When single shines the triple sun, What was sundered and undone, Behold! The two made one! ~Rubbs
  5. Isn't that part of their job? by MikeRT · · Score: 4, Insightful

    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."

    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.

    1. Re:Isn't that part of their job? by betterunixthanunix · · Score: 4, Insightful

      You say you have no mercy for commercial distributors, but the truth is that this sort of obscuration will only increase their business. Companies like Red Hat and Novell have the resources to pay people to spend all day reading through changelogs and deciding whether or not a patch is worth applying (in addition to people to are paid to submit patches). Universities may not have those resources, and their computer centers may only have enough time to quickly check a patch for common security fixes using grep. If it becomes impossible to do that, then all that we'll see is an increase in the number of people who buy support from commercial distributors, because they won't be able to support themselves.

      --
      Palm trees and 8
    2. Re:Isn't that part of their job? by kipin · · Score: 4, Insightful

      And what exactly is the problem with this method?
      If you don't have the time to perform security maintenance, but someone else does, why shouldn't they be allowed to make a profit for their time?

      --
      If I can not smoke in heaven, then I shall not go. -- Mark Twain
  6. Completely out of context by Anonymous Coward · · 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.

    1. Re:Completely out of context by Anonymous Coward · · Score: 4, Insightful

      Agreed. The thing to note is that this cuts both ways.

      *Every* bug is a potential security bug. So should we look for ways to try to convert every bug into a security notice? Of course not! Why waste the time? What happens when it turns out that a bug doesn't have security implications? Do we shout "hurray!" and flag it as such?

      Linus is entirely correct - a bug is a bug and must be fixed.

  7. Summary: Flamebait? by struppi · · Score: 5, Insightful
    The summary and the linked email from Brad Spengler look very flamebait to me. Linus Thorwalds writes in the quoted mail:

    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)

  8. "Sorry for RTFA"? by argent · · Score: 4, Funny

    *snort*

    And I thought I'd seen every variant on the usual Slashdot in-jokes.

    You win a gold star.

  9. So by C_Kode · · Score: 4, 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.

  10. Two sides to this story by yerdaddy · · 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

  11. I just love the smell of napalm in the morning... by Timothy+Brownawell · · Score: 4, Informative

    See the Kerneltrap posting 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.

  12. Some context. by delire · · Score: 4, Informative
    Looks like Brad is spinning things a bit. Further in the thread a 'Robert Peaslee' writes:

    Hi Brad, Your comments are kind of misguided. Linus can be quoted as saying: "my responsibility is to do a good job. And not pander to the people who want to turn security into a media circus." He was referring to individuals such as yourself when making the circus comment, as your message was slightly alarmist and dramatized. Security is important, of course - but Linus' opinions are completely correct in terms of development of the Linux kernel. I would agree with you if security bugs were actually being hidden, but they aren't. They just aren't given special treatment.

    From here

  13. Pragmatism by jandersen · · Score: 2, Interesting

    I have never really seen Linus as a prophet, unlike some, and although I can see the sense in being as open as possible - because that gives developers a strong incentive to fix things - I can also see that it may not be completely stupid to allow developers a bit of time to try to fix a newly discovered security vulnerability. I mean, it is not as if we are talking about keeping things very secret in order to avoid doing anything about it; but most of the time, if the news about a problem isn't bellowed out in public as soon as it is discovered, it buys people just a little bit of valuable time.

  14. There is no absolute security by bunratty · · Score: 3, Insightful

    But won't fewer be able to take advantage of security vulnerabilities if it becomes harder to decipher changelogs? Security is not an all-or-nothing situation. The fewer people who know about a vulnerability, the fewer that can exploit it, and that means that users have a lower chance of being exploited.

    That's actually an important point about security. You cannot make a useful system without any vulnerabilities. You can only maker it harder to exploit the vulnerabilities, meaning that fewer will be able to exploit them. For example, you cannot make an uncrackable and useful code, but you can make a code so hard to break that very few will even try.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
    1. Re:There is no absolute security by snspdaarf · · Score: 5, Insightful

      Problem is, it only takes one. If a exploit is developed, it can get passed around among the Bad Guys, even if they don't have the smarts to do it on their own. Look at all the script kiddies. I like to know about security issues, but I prefer that a patch is available before the world is told how to attack my systems.

      --
      Why, without your clothes, you're naked, Miss Dudley!
    2. Re:There is no absolute security by _Sprocket_ · · Score: 4, Insightful

      The fewer people who know about a vulnerability, the fewer that can exploit it, and that means that users have a lower chance of being exploited.

      Two things to consider:

      1) All it takes is one person to exploit your vulnerability. And that one person doesn't even have to know you exist and target you specifically. Most cases involve targets of opportunity.

      2) These things don't remain secret. How fast the knowledge is spread only depends on the particulars of the situation. But the knowledge will spread. Sometimes very fast. You're unlikely to be dealing with just one potential attacker.

      That's actually an important point about security. You cannot make a useful system without any vulnerabilities. You can only maker it harder to exploit the vulnerabilities, meaning that fewer will be able to exploit them. For example, you cannot make an uncrackable and useful code, but you can make a code so hard to break that very few will even try.

      It depends on what kind of vulnerability we're dealing with. There are known trade-offs in the design of a system and then there's failures in the design or implementation.

      Security is never absolute by design. There are always trade-offs being made (inverse relationship between usability and security, investment of resources vs. value of what's being protected, etc.). Hopefully designers understand the issues and have made wise choices. But even the most well thought out system will ultimately have left some possibility of subverting it. Thus exists the concept that security is not an absolute.

      Bugs and design flaws are a different issue. These are not trade-offs but unintentional mistakes or miscalculations. These are unintentional flaws. It is entirely possible to design or implement a system without flaws. But of course, designing something without flaws or implementing without bugs is difficult.

  15. Obscurity is an anti-freedom model by mlwmohawk · · Score: 2, Insightful

    In the old argument, freedom requires responsibility, this is a prime example of the conflict.

    In a truly freedom based model, you assume and rely on the fact that Linux users are responsible for their systems, and thus WARNING SECURITY BUG FIX NOW is a good title to an important patch.

    In the less free "sharecropper" future of Linux where user's rely on upstream vendors to "take care of them" and take no responsibility for their systems, hiding such warning is great security theater to make them feel more secure. They are not more secure, we all know, but they FEEL that they are and the kernel guys pretend to act more responsibly in this "post 9-11" fear based world.

    Its all bullshit and everyone who knows anything knows it. What surprised me was Vixie just saying "patch and trust us" without explaining, with specificity, why.

    When even the proponents of freedom start to fear freedom, we are in deep shit.

  16. You make that sound like it's a bad thing by MikeRT · · Score: 3, Insightful

    If it becomes impossible to do that, then all that we'll see is an increase in the number of people who buy support from commercial distributors, because they won't be able to support themselves.

    The more demand for commercial support, the cheaper it will become. That means that eventually the cost to support university Linux-based systems via RedHat, Novell, etc. may become cheaper than the cost of keeping people on staff to do it. The end result is that while the universities may not be doing it for themselves anymore, it's cheaper for them to focus on what they do best. After all, no one seriously argues that society is worse off today because the average car owner cannot rebuild their car like a mechanic.

  17. Re:There is a great quote in the thread by dotancohen · · Score: 2, Funny

    http://thread.gmane.org/gmane.linux.kernel/706950

    I think the OpenBSD crowd is a bunch of masturbating monkeys, in
    that they make such a big deal about concentrating on security to the
    point where they pretty much admit that nothing else matters to them.

    http://img136.imageshack.us/img136/7451/poster68251050mx9.jpg

    --
    It is dangerous to be right when the government is wrong.
  18. Not the prophet? by Puffy+Director+Pants · · Score: 2, Interesting

    But I've already started compiling a book of his wisdom and am preparing to start a church! Oh well, guess any good religion needs an enemy.

  19. Re:There is a great quote in the thread by spankymm · · Score: 3, Informative

    And if you read about the auditing process here: http://www.openbsd.org/security.html#process
    We are not so much looking for security holes, as we are looking for basic software bugs...
    Shame Linus has his head stuck up his ass, or he could have read that, too.

    --
    http://cafepress.com/spankymm - for the Masturbating Monkey in you!
  20. Wisdom from Ted T'so, as usual. by Medievalist · · Score: 4, Interesting

    Read this post to get some perspective:

    http://article.gmane.org/gmane.linux.kernel/707044

    Linus is being blunt, as usual, and he's telling everybody what his personal policy is towards disclosure. If he finds a bug, he fixes it, and he doesn't rate security bugs as more or less important than other bugs because he's a kernel hacker, and therefore security bugs are not his sole focus in life. He doesn't use any special language to highlight or obscure security fixes in the changelog, he just describes the fix, which is what people are claiming is "security by obscurity".

    From that, people looking for something to bitch about have created this kerfuffle; it is a tale told by an idiot, full of storm and fury, and signifying... nothing.(from Macbeth, 5.5)

    "Shakespeare really kicks the cap off" -- James Hovenac

  21. Missing the point by IceCreamGuy · · 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.

  22. Torvalds falsely accused of security coverup .. by rs232 · · 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
    http://groups.google.co.uk/group/fa.linux.kernel/browse_thread/thread/5bdf2e1b8a90142c/abcf79768bb7ce7f?hl=en&lnk=st&q=#abcf79768bb7ce7f

    --
    davecb5620@gmail.com
  23. slashdot indulges in provocative headlines .. by rs232 · · Score: 2, Insightful

    This, in my view, is total nonsense, if you don't mand me saying so, CmdrTaco. The full source is out there for anyone to see, bugs are reported in the kernel mailing list, for anyone to see. How is this in any way shape or form 'security through obscurity'

    --
    davecb5620@gmail.com
  24. CmdrTaco indulges in flamebait .. by rs232 · · Score: 4, Insightful

    corrected headline .. :)

    --
    davecb5620@gmail.com
  25. Linus is right by Anonymous Coward · · Score: 2, Informative

    The problem is the bogus presumption that there is a class of bugs called "security bugs", and that fixing these bugs is somehow more important than other bugs.

    This, in turn, is based upon the PHB contempt for "hackers", and the assumption that "hackers are always changing things for no good reason"; leading to mechanisms to prevent updates from being installed in the name of "keeping the system stable." Far more harm has been caused by this PHB mindset that has ever been caused by bugs in new code.

    When a developer has updates, he has already triaged them into "get into the field now" (what he releases) and "can wait a while" (what is in his development sources). What the PHBs, and sadly some ./ers, want is for the developer to do additional triaging of his release updates.

    This is unreasonable. It requires the developer to anticipate the interaction of a potentially unbounded set of combinations of updates vs. non-updates. Perhaps there is no security problem with bug A, or bug B, or bug C discovered at different times; but there is a security problem if all three are unfixed. Or perhaps fixing bug C without fixing bug A months earlier introduces a security problem.

    Now, with this said; the release version should always have all known critical issues (not necessarily security) fixed. Nobody should ever be made to install a "current release" with known critical issues. This means that the "current release" must be updated as needed to preserve this state.

    The Redhats of the world are in the business of backporting some fixed into ancient releases in order to satisfy the PHBs. They make their money by doing that, and charge handsomely for it. I haven't heard of anyone paying Linus (nor, for that matter, most other developers) to provide that type of service. If you want such services, write your checks to Redhat. Don't expect developers to give it to you for free.

  26. Bah! So much polarization by swordgeek · · Score: 2, Interesting

    Folks, it's not an OMG!!! THEY HID THE BUG AND NOW WE'RE GOING TO DIE!!! issue.

    Security through obscurity, for those who remember the olden days, meant not disclosing code, not revealing algorithms, and relying on enforced ignorance on the part of the user/exploiter.

    This ain't it. The code is there. The comments are there. Anyone can find it. What Linus is talking about is failing to aid and abet hackers in their attempts. It is simply not ACTIVELY ADVERTISING exploitable code. This is something that seems remarkably sensible.

    Unfortunately, anything less "open" than having a courier deliver working exploit code to hackers is labeled "security through obscurity OMFG!!!" by idiots.

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
  27. Worst article this week by pembo13 · · Score: 4, Informative

    Most of the controversy is totally misplaced. This is essentially about having
    * SECUIRTY ISSUE: fix info
    vs.
    * fix info

    Is that really obscurity?

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft