Slashdot Mirror


Critical Security Hole in Linux Wi-Fi

thisispurefud writes "A flaw has been found in a major Linux Wi-Fi driver that can allow an attacker to run malicious code and take control of a laptop, even when it is not on a Wi-Fi network."

8 of 262 comments (clear)

  1. First reported December 2006 by QuietLagoon · · Score: 4, Informative

    Here is a reference to a more informative report.

  2. I am a bit confused... by Skiron · · Score: 5, Informative

    ... this was fixed 4 months ago?

    http://madwifi.org/changeset/1842

  3. Re:Oh, madwifi. Surprise! Closed source still suck by Anonymous Coward · · Score: 4, Informative

    The bug was in the open source portion of the driver, the closed-source HAL merely locks the range of radio frequencies and transmit powers allowed.

  4. madwifi links. by Erris · · Score: 4, Informative

    The madwifi howto is here. It seems that you can type, "lsmod | grep ath_pci" to find out if you are running the supposedly exploited module. My simple Etch system does not have this or wlanconfig tools by default, though those tools look very nice and I'm sure this little problem will be fixed quickly.

    I have to agree with you about the uselessness of the PC World article. Besides not having any useful information, it's filled with FUD about free software wifi and confused "popularity argument" babble. In short it's more of a, "everyone else has these problems too, so Windoze away," pacifier than it is a news article.

    --
    DMCA, Hollings, Palladium. What might have sounded like paranoia is now common sense.
  5. Fixed Dec 15th on my box by swillden · · Score: 5, Informative

    ... this was fixed 4 months ago?

    It looks that way to me.

    Unless this is a different vulnerability, Debian applied the fix over four months ago, two days after the patch was available, and eight days after the vulnerability was first reported

    I saw the article and immediately started aptitude to get the fix, only to discover that I already got it, two weeks before Christmas. Nice.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  6. Re:In other news.. by TheRealMindChild · · Score: 4, Informative
    they all contains buffer overflows

    Actually, this kind of crap goes away when you stop using NULL terminated strings and put in size checks.

    • Start using a BSTR or std::string or christ, even CString.
    • If you're going to use a char * as a string, stop using strcpy/strcat/sprintf/strfindthelawngnome and start using strncpy/strncat/snprintf/strfoundthelawngnome
    • If you have to pass a char * as a parameter of some function, also add a parameter that indicates the size of the memory (EX: 'bool IsStringSexy(char *mystring, ULONG mystringlen)')
    • Don't rely that a setting read from some arbitrary place (registry, file) is undeniably correct to laying out structures of memory [LOOKING AT YOU IE AND FIREFOX AND WORD AND EVERY OTHER APP THAT CRASHED DUE TO A MALFORMED DOCUMENT]
    --

    "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
  7. Re:patched already by FauxPasIII · · Score: 4, Informative

    > MadWiFi source code can be found here.

    Or rather, a small open-source Linux compatibility shim around the actual, binary only driver.

    Look further into that link you pasted:

    http://madwifi.org/browser/trunk/hal/public

    Those .uu files are binary objects stored as text, and they make up the majority of the driver. This same binary driver is also used by some of the BSDs, with a different open-source shim.

    > The module in question is found here. (slow to load)

    Ah, so the flaw is in the open source shim part. Fooey. =/

    As an aside, and as I suspect you might already know, there is an effort to replace the binary-only part of that driver with Free software, and the Madwifi people have cooperated as much as they're able. They even host the development in their own repository:

    http://madwifi.org/browser/branches/madwifi-old-op enhal

    Cheers!

    --
    25% Funny, 25% Insightful, 25% Informative, 25% Troll
  8. Re:Fixed! -not! by LibertarianWackJob · · Score: 5, Informative
    Hi "Joe"
    You won't be getting any updates for FC3 since the Fedora Project has dropped support for that. If you like the Fedora distribution you can go with FC6 or wait for May 24 when FC7 is due to be released. Otherwise, Ubuntu is a fine distribution.

    Try this:

    su -

    crontab -e

    # cron for root
    # update system at 4AM daily
    0 4 * * * /usr/bin/yum update
    --
    What? ®