Slashdot Mirror


Linux 2.4.24 Release Fixes Root Vulnerability

diegocgteleline.es writes "Linux Kernel 2.4.24 has been released and is available on kernel.org. It seems there's a bug in the mremap(2) system call, where a local user can get root privileges.The new version has been released only with the most important bugs fixed - the rest of the changes have been postponed (those changes include the XFS filesystem)."

24 of 436 comments (clear)

  1. 2.4.x? by devphaeton · · Score: 5, Funny

    I thought that everyone jumped to the 2.6.0 by now?

    Oh wait, it's been 2 weeks already,
    TIME FOR A RECOMPILE!!

    --


    do() || do_not(); // try();
    1. Re:2.4.x? by Neon+Spiral+Injector · · Score: 4, Informative

      The bug has also been confirmed in 2.6.0-rc1. For those that have made the jump, a patch was just posted to the linux-kernel mailing list. I'm guessing -rc2 will follow soon.

    2. Re:2.4.x? by Dimensio · · Score: 4, Informative

      Since you meant 2.6.1-rc1, I assume that it applies to 2.6.0?

  2. Article title misleading... by kevin_conaway · · Score: 4, Interesting

    Was this bug introduced in 2.4.23 or has it been in the 2.4 series all along ?

    1. Re:Article title misleading... by simoniker · · Score: 4, Informative

      Good point, article title now changed.

      s!

    2. Re:Article title misleading... by gazbo · · Score: 5, Funny
      Sir,

      You are dangerously close to making me believe that a slashdot editor both reads the site and actually takes action based on it. This is distorting my worldview, and most halt.

      plfxthx.

    3. Re:Article title misleading... by mbyte · · Score: 5, Informative

      its been in the kernel since the 2.2 days .. the 2.2 series kernel's are also affected.

      read the synopsis: here
    4. Re:Article title misleading... by Anonymous Coward · · Score: 5, Funny

      If it ain't broke...

      ...it is now.

  3. Changelog by SuperDuG · · Score: 4, Informative
    List: linux-kernel
    Subject: linux-2.4.24 released
    From: Marcelo Tosatti
    Date: 2004-01-05 13:55:57

    - 2.4.24-rc1 was released as 2.4.24 with no changes.

    Summary of changes from v2.4.23 to v2.4.24-rc1

    <bjorn.helgaas:hp.com>:
    &nbs p; - Fix 2.4 EFI RTC oops

    <marcelo.tosatti:cyclades.com>:
    - Andrea Arcangeli: malicious users of mremap() syscall can gain priviledges

    <marcelo:logos.cnet>:
    - Harald Welte: Fix ipchains MASQUERADE oops
    - Change EXTRAVERSION to 2.4.24-rc1

    <trini:mvista.com>:
    - /dev/rtc can leak parts of kernel memory to unpriviledged users

    Jean Tourrilhes:
    - IrDA kernel log buster

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    Sorry it just seemed a bit more informative than the "YES" reply ...
    --
    Ignore the "p2p is theft" trolls, they're just uninformed
  4. Quick! by Anonymous Coward · · Score: 5, Funny

    Use Depenguinator on all the unpatched boxen! Let the revolution begin! >:)

  5. XFS Filesystem by Dibblah · · Score: 5, Funny

    AAAAAARGH!

    It's XFS. NOT XFS Filesystem. I'm gonna do something illegal to the next person that says ATM machine, too.

    1. Re:XFS Filesystem by Kenja · · Score: 4, Funny

      Just dont hurt their RAM memory or HD drive or they'll have to get new ones with money from the ATM machine.

      --

      "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
    2. Re:XFS Filesystem by AKnightCowboy · · Score: 5, Funny
      I'm gonna do something illegal to the next person that says ATM machine, too.

      Isn't that the thing where you type in your PIN number?

    3. Re:XFS Filesystem by Cat_Byte · · Score: 4, Funny

      I smell another slashdot poll.
      Most annoying acronyms:
      a) NIC card
      b) Compact Disk disk
      c) VIN number
      d) ATM machine
      e) Cowboy Neal Neal

      --
      Two roads diverged in a wood, and I - I took the one the bus load of girls just went down.
  6. (no subject) by lcde · · Score: 4, Funny

    unsubscribe linux-kernel

    --
    :%s/teh/the/g
  7. Re:Anyone written an exploit yet? by Xzzy · · Score: 4, Interesting

    > should I, Joe Schmoe SysAdmin be afraid of the script kiddies yet?

    As soon as an exploit is publicised, yes you should.

    Since it's a local exploit it's not as bad as it could be, but I guarantee you if a rootkit didn't already exist, once is being worked on now.

    If you trust all your open services to not execute foreign code you can probably doze a bit, but that's walking on a razor's edge.

  8. RedHat fixed orphaned versions by Kalak · · Score: 5, Informative

    Possibly due to the fact that the last kernel fix was a week ago, or just that the patch is minoor, or because RH is being kind to those of us who still have reasons to run RH 7.3 just yet, but look to RH for a kernel update if you need one for 7.x and 8 which are unsupported in 2004. Thanks RedHat. Saved me a panicked kernel decision. I desperately didn't want to return from a vacation to a timetable jump of a few weeks.

    --
    I am, and always will be, an idiot. Karma: Coma (mostly effected by .hack)
  9. Re:Well... by RoLi · · Score: 4, Insightful

    Holes like elevation of privileges (like this one) cannot be used by worms since they work only when you already have access to the system. So while these bugs are bad enough, they are still not nearly as bad as the Win-RPC, or the bugs that allowed Nimda, CodeRed etc. to exist.

  10. Re:Well... by CommandNotFound · · Score: 4, Informative

    Also, is Linux more secure than Windows, because I hear a fair amount of Linux security holes more than Windows, or maybe I'm just not perceptive enough.

    All advanced operating systems can be insecure depending on configuration.

    However, regarding your specific question, you see more security exploits for Linux probably because Linux has both remote and local exploits; the vast majority are local exploits. A local exploit is usually only a concern in a multiuser mainframe-style environment where you have "trusted" users who can log in to the machine. These users can log in and use a local exploit to elevate their priviliges on the machine. If the user doesn't have a login account, they do not have the opportunity to perform the exploit. Local exploits generally use buffer overflows or hijack split-second temp files to do their nastiness.

    Windows generally does not operate in a multiuser fashion, so these exploits are not as pertinent. Having written Windows software for years, I can tell that if local exploits ever become a concern for Windows (e.g. if Windows ever goes multiuser in a big way, where a local user may want to exploit the machine), almost every Windows application will have big problems with local exploits, since they have been built assuming that the local system is single-user and temp files and registry entries are assumed to be safe.

  11. Re:Not another one by Vlad_the_Inhaler · · Score: 4, Funny

    what 'work'?
    how long does it take you to prepare a kernel-upgrade?

    --
    Mielipiteet omiani - Opinions personal, facts suspect.
  12. Even the multi-user functions of today... by Kjella · · Score: 4, Insightful

    Having written Windows software for years, I can tell that if local exploits ever become a concern for Windows (e.g. if Windows ever goes multiuser in a big way, where a local user may want to exploit the machine), almost every Windows application will have big problems with local exploits

    ...are pretty much only for convienience, that is to keep user settings and such separate among a group of mutually trusted users (like say, a family). There's not much in terms of real security.

    That users created at install time default to admins with no passwords only goes to prove that even more. Which is fine, as long as a) noone unauthorized can get to the machine and b) all the users trust eachother.

    On the other hand, local exploits are a grave concern in many settings, say for example a university where each student has a local account. So they should by no means be taken lightly, even if they don't produce worms.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  13. Re:How do you patch? by demi · · Score: 5, Informative

    Okay:

    1. Download patch to /usr/src
    2. cd /usr/src (since that's where you say your linux-2.4.23 is)
    3. bzip2 -dc patch-2.4.24.bz2 | patch -p0
    4. mv linux-2.4.23 linux-2.4.24
    5. cd linux-2.4.24
    6. Now build and install your kernel as you like it, just as you would from the virgin tarball (make depend; make however you make your kernel and modules).

    Hope that helps!

    --
    demi
  14. Kernel patches as modules? by Ktistec+Machine · · Score: 5, Interesting
    Hi folks,

    I remember, back when the last ptrace bug was found, some kind soul created a kernel module that (a) renamed the current ptrace function to something else and (b) implemented a new wrapper function that first checked to see if you were root, before deciding whether to call the old ptrace. Slick!

    I'm surprised this sort of workaround hasn't been done for other kernel bugs. It seems it wouldn't even have to be a workaround. A module could actually provide a new, repaired version of the buggy routine. Couldn't it?

    I can imagine insmoding a list of "kernel-fix" modules at boot time. Then, every once in a while , I'd upgrade my machines to a new kernel, but without the urgency of getting a new kernel installed RIGHT NOW! to fix a small (code-wise) security problem.

    1. Re:Kernel patches as modules? by Anonymous Coward · · Score: 4, Informative
      I remember, back when the last ptrace bug was found, some kind soul created a kernel module that (a) renamed the current ptrace function to something else and (b) implemented a new wrapper function that first checked to see if you were root, before deciding whether to call the old ptrace. Slick!

      Modules (or really any third-party code regardless of method be it /dev/kmem or modules or whatever) having access to the syscall table of a running kernel is (1) evil, (2) nonportable - it won't work on many of our architectures, and (3) likely to become even harder as the kernel gurus try to defeat people doing stupid things like this.

      BTW, this also affects things like (why would you need this?) realtime virus scanners that hook syscalls. Please, don't do this. If the argument is that you need the machine to stay up because it's too important to reboot for a patch, then you definitely should not be inserting modules that *intentionally overwrite important chunks of kernel memory* because if there's the slightest thing wrong, your machine will either crash or begin to do bizarre things. You could end up with data corruption and/or loss for an extended period before you even realize it. Do not do this. It is not what you want. Believe me.