Slashdot Mirror


New RedHat Kernel Patch Illegal to Explain to U.S. Users

Russellkhan writes "The Register is running a story about a new RedHat kernel patch that cannot be explained to U.S. citizens or others in the U.S. because of DMCA restrictions. The illegal explanation is hosted at Thefreeworld.net, a site created specifically to deal with these DMCA issues."

22 of 885 comments (clear)

  1. Oh no... by Anonymous Coward · · Score: 5, Informative


    -- LEGALESE --

    PLEASE READ FIRST.

    Unfortunately the DMCA prevents this document being issued to US citizens.
    This document is a copyrighted work. The authors choose to exercise their
    first distribution rights to prohibit the distribution of this work in the
    United States Of America, its dependancies, embassies and anywhere else
    under US law.

    Redistibuting this document in the USA may be a criminal offence under the
    Digital Millenium Copyright Act with punishment including jail sentences.
    Attempting to test these holes in the USA, even with the permission of the
    system owner may be an offence. Discussing this document with a US citizen
    may be an offence.

    This document is made available for free without warranty or other right of
    recourse implied or otherwise. No statement save one in writing by the owner
    of the copyright changes this usage agreement. Any export download is at your
    own risk and liability.

    There is no other user agreement, should your local law make such an
    agreement invalid you are prohibited from using this document, and may be
    committing an offence by redistributing it.

    NO WARRANTY

    BECAUSE THE DOCUMENT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
    FOR THE DOCUMENT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
    OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
    PROVIDE THE DOCUMENT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
    OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
    TO THE QUALITY AND PERFORMANCE OF THE DOCUMENT IS WITH YOU. SHOULD THE
    DOCUMENT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
    REPAIR OR CORRECTION.

    IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
    WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
    REDISTRIBUTE THE DOCUMENT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
    INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
    OUT OF THE USE OR INABILITY TO USE THE DOCUMENT (INCLUDING BUT NOT LIMITED
    TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
    YOU OR THIRD PARTIES OR A FAILURE OF THE DOCUMENT TO OPERATE WITH ANY OTHER
    DOCUMENTS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
    POSSIBILITY OF SUCH DAMAGES.

    -- END LEGALESE --

    Security Holes Fixed In Linux 2.4.19

    None of the holes documented here are remote. All these problems were
    uncovered by auditing and there are no current exploits available. In
    the interest of openness and ensuring people are aware of the security
    fixes they are documented.

    - If the Stradis driver is loaded (hardware must be present) a
    maths overflow allowed the user to scribble into kernel memory

    - It was possible to feed the SE401 USB hardware driver signed
    values and fool kernel checks. This requires the hardware is
    present

    - The usbvideo driver could be fooled due to a maths overflow corner
    case. This requires drivers to be present

    - The /proc/slabinfo file could exceed a buffer size and cause
    corruption of the kernel. This is really beyond user control but
    if it occurs then the user can trigger the corruption

    - By setting the TF flag a carefully constructed binary could hang
    the kernel dead

    - By misusing the rlimit resource limits it was possible to avoid
    acct data being written on your process exit

    - The joystick driver had erroneous copies in obscure ioctl cases
    that could be used to patch the kernel as any user. Hardware
    must be present and the module loaded for this vulnerability
    to occur

    - Multiple errors in the vm86 handling allowed users to force an
    "Oops" from the kernel and in some cases to corrupt kernel data.
    An additional small fix is needed for 2.4.19 but not 2.4.19-ac
    (see bottom)

    - The rt_cache_proc file could be tricked into returning chunks of
    kernel data.

    - On a system with over 1Gb of RAM the loop driver could in some
    cases fail and expose kernel data. This is not under user control.
    On 2.4.19 the loop driver works fine with large memory systems.

    - Multiple /proc files could be persuaded to dump kernel data
    due to a sanity checking bug in the proc file handlers

    - The XMM SSE registers were not always cleared for new processes
    and could expose data from a different task. While it was not
    possible to modify another tasks registers there is a small risk
    because some cryptographic systems have XMM acceleration functions

    We also fixed problems that required privileges to exploit. These affected
    the IBM S/390 dasd driver, Openprom on Sparc systems, the Intermezzo file
    system, the ewrk3 network driver, module loading, the microcode driver and
    vm86. We document these in the interest of completeness.

    Finally on a -ac based tree with PnPBIOS enabled a problem existed in some
    quite common BIOS implementations that causes a crash when certain 32bit
    BIOS calls are made. This allowed users to crash some systems by reading
    files in /proc. These files are now root private. The base tree is not
    affected as it lacks PnPBIOS support

    Credits

    The authors would like to thank Silvio Cesare, Stas Sergeev, Andi Kleen,
    Alan Cox, Solar Designer, and many others for their work on making 2.4.19 a
    more secure kernel.

    -- Additional Required Patch --

    diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.20pre1/arch/i386/kernel/traps.c linux.20pre1-ac1/arch/i386/kernel/traps.c
    --- linux.20pre1/arch/i386/kernel/traps.c 2002-08-06 15:40:50.000000000 +0100
    +++ linux.20pre1-ac1/arch/i386/kernel/traps.c 2002-08-06 15:42:19.000000000 +0100
    @@ -305,8 +319,13 @@
    static void inline do_trap(int trapnr, int signr, char *str, int vm86,
    struct pt_regs * regs, long error_code, siginfo_t *info)
    {
    - if (vm86 && regs->eflags & VM_MASK)
    - goto vm86_trap;
    + if (regs->eflags & VM_MASK) {
    + if (vm86)
    + goto vm86_trap;
    + else
    + goto trap_signal;
    + }
    +
    if (!(regs->xcs & 3))
    goto kernel_trap;

    @@ -514,10 +533,15 @@
    {
    unsigned int condition;
    struct task_struct *tsk = current;
    + unsigned long eip = regs->eip;
    siginfo_t info;

    __asm__ __volatile__("movl %%db6,%0" : "=r" (condition));

    + /* If the user set TF, it's simplest to clear it right away. */
    + if ((eip >=PAGE_OFFSET) && (regs->eflags & TF_MASK))
    + goto clear_TF;
    + /* Mask out spurious debug traps due to lazy DR7 setting */
    if (condition & (DR_TRAP0|DR_TRAP1|DR_TRAP2|DR_TRAP3)) {
    if (!tsk->thread.debugreg[7])

  2. for those without the minerals to read on by evacuate_the_bull · · Score: 5, Informative

    you can bypass that scary disclaimer and read all that hidden information here (reg. req'd, blah blah) :)

    --
    Satanists get good grades too...suspiciously good grades
  3. Re:I'd comment, but by wagemonkey · · Score: 5, Informative

    You may be allowed to read it, but the point is the posters don't want to be prosecuted for publishing it.
    The Reg had a neat explanation of this, a lot of people outside the US don't want to get arrested if they set foot on US soil because they published something on a web site hosted in another country that violates the DMCA.

  4. RH Reasoning by HappyPhunBall · · Score: 5, Informative

    Apparently RH is respecting the copyright of the people who discovered the flaws and chose to license the text under the "TheFreeWorld" blanket to prevent the authors from being accused of distributing potentially infringing documentation in the US. Read the article at The Register, it is almost as poorly written as this post but according to this excerpt:

    The document has been copyrighted, and the authors have chosen to restrict its distribution, and to use Thefreeworld.net licence as the mechanism for doing so. Note that it is the copyright, rather than fear of the DMCA, that has forced Red Hat to join in.

    RH is only doing this to protect the authors who for whatever reason chose to copyright the document. Possibly the wish to make a point as well concerning the idiocy of the DMCA.

  5. Re:Need a Website by NumberSyx · · Score: 5, Informative

    As I understand it, there is far too many bills every year for either the House or the Senate to actually debate every single one of them. So what they do is once it is out of committee, it goes on the calender, if nobody raises any objections to it, they have a voice vote on it, which is very quick, but there is no official record on who voted and how, only that it passed or not. I could be wrong, so please correct me if I am. This is more or less how the DMCA was passed. Anyone who was sitting at the time should be held accountable, if for no other reason than they didn't raise any objections, force a public debate and a formal vote.

    --

    "Our products just aren't engineered for security,"
    -Brian Valentine,VP in charge of MS Windows Development

  6. Re:Sound familiar? by larien · · Score: 5, Informative
    Hrm, quite a number of people would disagree with your views that they are not being mistreated. There conditions are hardly comfortable. You're also "being slow about" giving them any kind of trial or legal representation. Also, as others have pointed out, the US is very keen not to call them POWs as that would give them rights which they are determined not to allow. What I would ask is what kind of noises would be coming out of the US if American citizens were being held in similar conditions, with no trial in a middle east country? They should, very rightly, be outraged.

    As for "one of the FEW nations that follows the Laws of War and Peace", I'd like to point out that the US has demanded (and unfortunately, gotten) concessions that no US military personnel can be tried for war crimes on UN missions. This effectively gives US soldiers carte blanche to rape, pillage and burn in a manner that would make the atrocities in the Balkans seems like a Sunday School picnic with no chance of war crimes charges ever being laid. They may get some kind of court martial or charges laid in the US court or they may not. There would be no recourse for an aggrieved party in the Internation Courts.

    The more I hear about the US in recent times, the more I despair about a nation that claims to be the home of Democracy. I have my own rant about another such incident, which you're free to read.

  7. Comming to Europe too by pointwood · · Score: 5, Informative

    In case you don't know it, we will be getting something similar to the DMCA in Europe soon :(

    You can read more here.

  8. Re:Need a Website by alan_d_post · · Score: 3, Informative

    I believe it passed unopposed. Leaving you three options:

    1) spoil your vote
    2) vote for someone other than the incumbent
    3) don't even show up to vote

  9. Senate by Unanimous Consent , House by Voice by GMontag · · Score: 5, Informative

    http://www.dfc.org/dfc1/Active_Issues/graphic/grap hic.html

    passed Senate by Unanimous Consent
    (similar to voice vote in House)

    passed House by Voice Vote

  10. Re:This is just FUD. by m94mni · · Score: 5, Informative
    The problem is not copy protection in the Linux kernel itself. The problem is instead that the document provides detailed descriptions of vulnerabilities in deployed systems.

    Thus, it gives you information you can use to break into these systems, bypassing their "rights management". More info in the thread from last year here.

  11. Re:uh, GPL? by mwa · · Score: 3, Informative
    As far as I can tell, the license to the code is GPL. (The patch does not "explain" how to circumvent anything, it "explains" how to prevent the circumvention.) The description is licensed under the freeworld license because it explains the vulnerabilities.

    Or so I guess, since I can't read it.

  12. Re:uh, GPL? by Scarblac · · Score: 3, Informative

    Err, I don't think you can release a patch for GPL software (ie, Linux) under a non-GPL license.

    The patch itself is perfectly legal, and GPL licensed, and downloadable by anyone, etc.

    The documentation accompanying the patch, that explains what security holes were closed, is licensed so as to be undistributable to people in the US jurisdiction. This is because the act of distributing this info is illegal under the DCMA.

    --
    I believe posters are recognized by their sig. So I made one.
  13. Not only very little debate... by Smallest · · Score: 5, Informative
    ...it was actually written by lawyers for the the media industry, not by congressmen. it is a clear example of a bill bought and paid for by special interests.

    Digital Copyright

    -c

    --
    I have discovered a truly remarkable proof which this margin is too small to contain.
  14. obligitory karma whoring by dextr0us · · Score: 5, Informative

    Begin obligitory karma whoring. that is the website for the people who vote on what bills, and this is specifically for the DMCA

    --
    "Martha Stewart can lick my Scrotum......do i have a scrotum?" -- Sharon Osbourne
  15. Re:An Idea by jc42 · · Score: 4, Informative

    Does this mean that when MS decides to release a "security patch" for one of its releases, and explains why this patch is necessary and how it might be exploited, that they are in breach of the DMCA?

    Probably not, but if YOU were to do this, you would be in violation of the DMCA. The main point of the DMCA is to protect companies from you and me revealing that security-related products are shoddy.

    I recently got involved in a specific discussion where this might apply. Some people discovered that they could get the text out of most MS Word docs using the unix "strings" command. The format isn't pretty, but the text is there. The problem is that you also get "deleted" text that Word has just marked deleted but hasn't erased. This text can be from other docs that the sender's copy of Word has processed. This could be a very serious security leak in some cases.

    This could be fixed in a unix mail reader, if the programmers could get enough info about the Word format to identify the deleted text and skip over it. This would presumably be legal. But if you were to describe the security issue when releasing the patch, you would be guilty of publicising a security flaw in MS software, and would thus be in violation of the DMCA.

    So far, the decision seems to be to keep quiet about this, and just treat it as Someone Else's Problem.

    There is the outstanding question of whether we unix/linux geeks are committing a serious crime if we warn Word users about this security issue. In particular, what sort of danger am I in by mentioning it here?

    Maybe I should submit this as an Anonymous Coward? Nah ...

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  16. Re:Need a Website by Lugae · · Score: 5, Informative

    http://www.vote-smart.org

    Click on "Voting Records" ->State -> Your Senator -> Telecommunications 1998 -> "DMCA Passage"

    The vote was unanimous, though

  17. Re:Hysterical rubbish by MrResistor · · Score: 3, Informative

    I know a court has ruled deCSS to be in violation of the DMCA, but that was because the judge was stupid, and the MPAA was smart enough to convince him that the utility is "primarily intended for circumvention of a protection mechanism". The keyword there is "primarily".

    First of all, DeCSS is illegal under the DMCA, it has nothing to do with the judge being stupid or the MPAA being smart. The whole purpose of DeCSS is to circumvent CSS, which is a protection mechanism. That's not it's primary purpose, or even it's secondary purpose; that is it's only purpose. Since that is specifically what the DMCA was crafted to make illegal, I don't see how anyone who isn't completely ignorant can say that DeCSS doesn't violate the DMCA.

    Furthermore, the judge was not stupid at all, he was corrupt, which is a different thing entirely. He was one of the authors of the DMCA, and as such the ethical thing for him to do would have been to pass the case on to another judge due to his obvious conflict of interest. However, he knows that law as well as anyone does, and he is certainly capable of spotting a blatant violation of it, which DeCSS is, on his own.

    The only question in the case was whether the source code to DeCSS was criminal under the DMCA or protected speech under the First Amendment. This is where Kaplan's corruption took hold, and he declared that the functional use of the code took precedence over it's educational or informative value.

    --
    Under capitalism man exploits man. Under communism it's the other way around.
  18. Relevant portion of the DMCA by SiliconEntity · · Score: 3, Informative
    For reference, here is the relevant portion of the DMCA:

    `(2) No person shall manufacture, import, offer to the public, provide, or otherwise traffic in any technology, product, service, device, component, or part thereof, that-- `(A) is primarily designed or produced for the purpose of circumventing a technological measure that effectively controls access to a work protected under this title; `(B) has only limited commercially significant purpose or use other than to circumvent a technological measure that effectively controls access to a work protected under this title; or `(C) is marketed by that person or another acting in concert with that person with that person's knowledge for use in circumventing a technological measure that effectively controls access to a work protected under this title.

    I can understand that people may be worried about publishing kernel patches, but careful reading of the above makes it very clear that these do not violate the DMCA, even if they inadvertantly or implicitly reveal information that could be used to defeat copyright protection. The reason is simply that this is not the primary design and purpose of the information. Rather, the information is designed to extend and improve the functionality of the Linux kernel.

    Contrast this with the Sklyarov case, where the primary purpose of the information and technology he presented was to defeat copyright protection. The situations are completely different.

    I can't blame Europeans for being excessively cautious with regard to American law, but they could consult with a lawyer and be reassured. My opinion is that this is really a political statement, and that they are being disingenuous in claiming to be afraid of prosecution.

  19. Re:Ok then, can someone explain by hol · · Score: 3, Informative

    If I'm not mistaken in those two things, isn't all patch documentation illegal under the DMCA?


    The Patch documentation is not so much, the patch actually documents the hole. One of the key issues here is that the fix in the patch exposes the original problem, and thus makes "circumvention of digital security" (haven't read it in a while, so going by memory here) possible. It's a question of whether all you need is to communicate the problem, or to document it. In the case of a source patch and docs, both are done, and it's lose-lose for the author, distributor, or whatever.

    On another note - UCITA makes click-through license agreements legally binding in the US. So if law-enforcement cracked down on these people, they would have committed a felony as well. Court case should be interesting ...

    --
    - - - Non Caffeine Drink or Drink Error
  20. YES YES YES by schon · · Score: 5, Informative

    Linux does not provide DMCA type copy protection -- PERIOD

    YES, IT DOES -- PERIOD

    Assuming you have a file named "copyrighted_file", which contains copyrighted text, the following command:

    $ chmod 600 copyrighted_file.txt

    will "effectively" prevent access to it by the system - this is all that's required under the DMCA to qualify as a "technological measure", as per section 1201-3:

    (B) a technological measure `effectively controls access to a work' if the measure, in the ordinary course of its operation, requires the application of information, or a process or a treatment, with the authority of the copyright owner, to gain access to the work.

    In layspeak: if something stops you from looking at something without someone's permission, then it 'effectively controls access'.

    This is the main purpose of the +r bit in file permissions.

  21. Sponsors of DMCA by xiphosuran · · Score: 3, Informative

    Although the bill was passed unanimously, the names of eleven sponsors are listed by thomas.loc.gov

    The house bill, HR 2281, was sponsored by Howard Coble and had nine cosponsors:

    Rep Berman, Howard L. 2/11/1998
    Rep Bono, Mary 6/5/1998
    Rep Bono, Sonny 9/26/1997
    Rep Conyers, John, Jr. 7/29/1997
    Rep Frank, Barney 7/29/1997
    Rep Hyde, Henry J. 7/29/1997
    Rep McCollum, Bill 1/27/1998
    Rep Paxon, Bill 6/5/1998
    Rep Pickering, Charles 6/22/1998

    The senate bill was S. 2037 and was sponsored by Orrin Hatch.

    Bill summaries can be found at:

    http://thomas.loc.gov/cgi-bin/bdquery/z?d105:HR0 22 81:|TOM:/bss/d105query.html|

    http://thomas.loc.gov/cgi-bin/bdquery/z?d105:S.2 03 7:

  22. Re:I'd comment, but by tpv · · Score: 4, Informative
    I believe the parent to your post is slightly incorrect.

    For those of you who are under US jurisdiction:

    • The authors aren't allowed to tell you the about the security holes, because of the DMCA. If they did tell you, they could be arrested if they ever enter the US.
    • You aren't allowed to read the information, because it is protected by a licence agreement, that you cannot accept. If you click the "accept" button, then you assert that you are not under US jurisdiction. If that is a lie, then you are making a false statement, and could be charged with some fraud related act.
    • I can't give you a copy of the text because it is protected by copyright. (And if I did I would also be violating the DMCA)
    --
    Read more of this story at Slashdot.Read more of this story at Slashdot.Read more of this story at Slashdot.