Slashdot Log In
MS06-049 Causing Silent Data Corruption
Posted by
Hemos
on Mon Sep 11, 2006 09:30 AM
from the oh-who-wants-encryption-anyway dept.
from the oh-who-wants-encryption-anyway dept.
Uncle Mike writes "It looks like there is a problem with the recently released MS06-049 / KB920958 patch. If you have compression activated on any folder, then the compressed data is at risk from corruption. New files that are close to a multiple of 4K in size will have their last 4,000 bytes or so overwritten with 0xDF. Although this problem has been reported to Microsoft, as yet there appears to have been no official announcement.
"
This discussion has been archived.
No new comments can be posted.
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.
interesting (Score:5, Insightful)
When you have a monopoly (Score:5, Insightful)
Parent
Re: (Score:3, Funny)
Well I believe I'll invest in a second-party operating system!
Re:When you have a monopoly (Score:5, Insightful)
>
> What're your customers going to do?
The guy at the keyboard of a Windows Vista box, using Microsoft Office at work, and Windows Media Player at home is not the customer, he is the product. The customers are Dell, AOL, media licensing conglomerates, and so on.
Parent
Re:When you have a monopoly (Score:4, Insightful)
Microsoft may be able to leverage all those customers into a product for another customer (such as advertising or licensing DRM solutions), just like the movie theater leverages their movie watching customers into a product for advertising. Until Windows is free (as in beer), the guy using Windows is a still a customer.
Parent
Or if you put down the tinfoil hat (Score:3, Insightful)
--
Carnage Blender [carnageblender.com]: Meet interesting people. Kill them.
Re:interesting (Score:4, Informative)
That does make a big difference, win2k is not MS' top priority.
Not that I condone their delay or lack of forsight, however.
Parent
Re: (Score:3, Insightful)
You know, if I were to create a series of advertisements, I would make it similar to the "Truth" campaign agains
Re:interesting (Score:4, Funny)
Are you this person [amazon.com] by chance?
Parent
Re: (Score:3, Funny)
You're right, I should've known that venomous EULA would turn right back and bite me (and all Microsoft customers) in the rear.
"Satisfaction Guaranteed!"*
* The term "Satisfaction" and "Guaranteed" are used only for illustration purpouses in a figurative, subliminal manner.
Enlarged to show texture. Serving suggestion.
As a matter of fact, no satisfaction guaranteed whatsoever, by any means.
Reading the words "satisfaction" and "guaranteed" above certifies
A Paradox... (Score:5, Funny)
How to avoid (Score:5, Informative)
It has been confirmed that either turning off the compression attribute (disk space permitting) OR uninstalling KB920958 will prevent further loss of data.
Re:How to avoid (Score:5, Funny)
Parent
Re: (Score:2, Funny)
Re:How to avoid (Score:5, Funny)
Parent
RAID (Score:3, Funny)
Re: (Score:3, Informative)
Re: (Score:3, Informative)
Re: (Score:2, Informative)
RAID is not a backup
Heh (Score:3, Funny)
Re: (Score:3, Insightful)
I can't believe there were > 0 people who replied to Karma Farmer's comment thinking it was anything but an attempt at humour/troll, much less that any such poster would get their manties in a knot over it either.
Close? (Score:2)
How close is close? Is 162k close to 164k? Sounds like it is to me. From the examples in the discussion cited, it seems that anything over 4k is at risk, not just things 'near' a 4k boundary.
I would even hazzard to guess that the size matters not at all, but rather the contents of the files. If the contents match a certain pattern, the compression goes awry and adds the garbage to the end. (Accidentally overwriting the real data.)
what i think (Score:5, Funny)
Re: (Score:3, Funny)
Oh, that explains it: it's a beta patch.
Re: (Score:3, Funny)
Oh, that explains it: it's a beta patch.
ß / 0xDF is ß ; or Esset. So the article is incorrect, the last bytes are overwritten with random data in the form of white noise. "ßßßßßßßßßßßß" is pronounced "ssssssssssssssssssssssssss". OMFG!11! SNAKES ON A PLATTER!
Strange (Score:3, Funny)
More background please... (Score:5, Informative)
After a bit of research, here's what should have been included: MS06-049 [microsoft.com] was an elevation of privledge issue discovered in the kernel of Windows 2000 SP4 only. The patch for the issue, KB920958 [microsoft.com], appears to have a bug resulting in corruption of compressed folder.
The title is misleading as well. MS06-649 is the issue and KB920958 is the patch; the patch is what's causing the corruption, not the original issue.
Those files were important. (Score:3, Funny)
Compressed files, are you kidding me?! (Score:3, Informative)
Is anyone out there seriously using disk compression in a production environment? Didn't anyone teach you guys that disk compression is a crutch and not a solution? For as long as I've been working with servers, all of my mentors have led me to believe that it is pretty much generally accepted practice not to use disk compression due to the potential for data corruption and the performance hit your servers take. If you need to compress files to save space, throw them onto some LTO or DLT media and pull them completely offline.
If you're working for a company that can't come up with more money for disk space, maybe you need to click on the Dice.com adds that are all over /. here.
Re: (Score:3, Informative)
Re: (Score:2)
Re:How does something like this happen (Score:5, Insightful)
The programmer is not to blame here. The real question you should be asking is "What type of QA department fails to catch a bug like this?"
Parent
Re: (Score:3, Insightful)
I agree and disagree with you. As long as the programmer properly unit tested his/her work, then you can shift blame to QA. I have seen developers not properly unit test their code too many times, relying on the QA department to do their work for them. But yes, unless it happens in very rare circumstances (is this the case?) someone should have caught this in testing somewhere... but not necessarily just QA.
IANAQAT (I am not a QA tester).
Re: (Score:3, Interesting)
Re: (Score:3, Insightful)
Re:How does something like this happen (Score:5, Funny)
So this is how Microsoft claims support for ODF. Clever.
Parent
Re: (Score:3, Informative)
MS bashing is fun and all, but do you have any idea how a kernel works? Anything can step on anything else. An off-by-one error in a kernel can be catastrophic to any number of things. This one does sound suspicious, but keep in mind that the code that is failing is probably only peripherally related to the code that was patched. They say they patched a buffer overflow. Maybe the buffer was already being overflowed by the compression code and patching it caused the compression to break. That migh
Re: (Score:3, Insightful)
File system is handled by a kernel. File system compresses files before writing them to the disk, respectively decompresses them during read operations. Therefore, the compression is handled in kernel. Where would you handle it?
Data compression is not like black magic. As the matter of fact, the most data compression algorithms out there are mind boggingly simple and very well understood.
Of course you could move the file system into the user space, but that would introduce some bad performance
Re: (Score:3, Informative)
Also, you may remember the file corruption bug from an older version of the 2.6 kernel - was it 2.6.10? It was much worse than this one from MS, which
Re:How does something like this happen (Score:4, Insightful)
Parent
Re:How does something like this happen (Score:5, Funny)
Every programmer that's ever worked on something longer than 6 or 7 lines of code? Except you, of course. I've been in the bathroom after you and am always impressed by the way it smells just like roses.
Parent
Possibly some weird M$-esque operator (Score:3, Insightful)
While they are doubtlessly not releasing images with debug info, they might be using an overriden new operator that does something similar (for a variety of reasons).
It is hard to say, but this type of error - while *not* acceptable, *is* understandable,
Re:How does something like this happen? (Score:3, Interesting)
Re:How does something like this happen (Score:4, Insightful)
I love Linux, hate Windows, but point it, sh!t happens.
Parent
Re:You can stop now (Score:5, Funny)
Original troll never writes any bugs, so his hello world is more like this:
Parent
Re: (Score:3, Informative)
Your program fails to take into account the case that printf(), fprintf(), and write() printed less characters than those that you provided. It further does not handle getting an EINTR on write().
Re: (Score:3, Insightful)
Additionally, the thought that MS would release a patch that intentionally corrupts data is unthinkable, for ANY corporation. The civil (and possibly criminal, who knows) liabilities would be ENORMOUS.
Re: (Score:3, Funny)
You might want to double check.
Re: (Score:3, Insightful)
I'm no MS fanboy, but... suppose the OS in question had some sort of directory-compression scheme that had a seven-year track record of impressive stability and effectiveness? Why not use it?
Disk compression earned a terrible rep back in the 90s, when DOS/Windows and Windows 95 themselves were so unstable there was no chance that it could work properly. But MS finally got it right when they swiped tech from Stacker and included directory compression in
Re: (Score:3, Informative)
http://www.mikerubel.org/computers/rsync_snapshots