Sign in with
Sign up | Sign in

Windows 7 SD Card Corruption Flaw Patched

By - Source: Tom's Hardware US | B 22 comments

Live well now with your SD cards, NTFS and ADMA.

Are you running Windows 7 and are you a user of SD cards formatted using NTFS? Furthermore, do you use Advanced Direct Memory Access (ADMA) to transfer data between the SD card and your computer? You may find that when you transfer data from the computer to the SD card, the data on the SD card may be corrupted.

Thankfully, Microsoft has come up with a fix for this flaw, which it released today. You can download this update from the Microsoft Windows Update Web site or from the Windows Download Center, but if you prefer to do things manually, click here for the patch itself.

Here's more info if you wish to know what caused the problem:

During an ADMA transfer process, the Secure Digital Bus Driver (Sdbus.sys) converts the DMA data structure of the operating system to the ADMA data structure of the SD card. The DMA and the ADMA data structures are also known as the descriptor tables. The descriptor table contains a data length value and a buffer address. The data-length field is 16-bit, and has a maximum size of 64K (kilobytes). However, during the data conversion process, the Sdbus.sys driver does not check the buffer size in the descriptor table of the system. Therefore, the Sdbus.sys driver may set an incorrect data length in the SD descriptor table. For example, the Sdbus.sys driver may set the data length larger than 0xFFFF. Also, corrupted I/O occurs. This causes data corruption.

Follow us on Twitter for more tech news and exclusive updates here.

Display 22 Comments.
This thread is closed for comments
  • 4 Hide
    SR-71 Blackbird , November 25, 2009 8:51 PM
    good quick fix!
  • 5 Hide
    SR-71 Blackbird , November 25, 2009 8:51 PM
    thanks microsoft!
  • 0 Hide
    leafblower29 , November 25, 2009 9:49 PM
    Is this also for flash drives? I had some odd problems with mine yesterday and I updated today and it worked.
  • -4 Hide
    HansVonOhain , November 26, 2009 12:56 AM
    It fixed my flashdrive issue. Thank you M$.

    I like you now a 2% more than yesterday. :/  But still at a mere 48%
  • 0 Hide
    pocketdrummer , November 26, 2009 4:47 AM
    I wonder if that will fix the FlashDrive Bricking Feature. (I'm assuming it's caused by ReadyBoost.... since that's the only thing I used it for before it was unrecognizable)
  • -4 Hide
    liquidsnake718 , November 26, 2009 6:18 AM
    Tsk tsk thanking MS for something that should not have been a problem in the first placed. Something like USB or SD card support should not have been overlooked after all the beta and early testing/releases?

    I'll stick to Vista.... at least now all the little problems are fixed and its not so bad after all.... See, Win7 has its share of problems as well....
  • 6 Hide
    hakesterman , November 26, 2009 6:22 AM
    There aint been an operating system to date for any platform that didn't need patches or minor tweaking. Windows 7 is as solid as it gets, buy today and enjoy for years. Go Win7...................

  • 1 Hide
    neiroatopelcc , November 26, 2009 6:57 AM
    pocketdrummerI wonder if that will fix the FlashDrive Bricking Feature. (I'm assuming it's caused by ReadyBoost.... since that's the only thing I used it for before it was unrecognizable)

    explain that?

    I'm using readyboost - was using two usb drives. I accidently broken one when moving the computer, but the other's worked flawlessly. Not really sure it boosts anything though, but it's still accessible and seems okay.
  • -8 Hide
    ossie , November 26, 2009 7:19 AM
    liquidsnake718Tsk tsk thanking MS for something that should not have been a problem in the first placed. Something like USB or SD card support should not have been overlooked after all the beta and early testing/releases? ... See, Win7 has its share of problems as well....

    Wintarded micro$uxx fankiddies are trained to wag their tails every time they perceive getting attention.
    Imagine the outrage, if the rotten fruit would've botched it...
  • -4 Hide
    Regulas , November 26, 2009 2:47 PM
    area51reopenedthanks microsoft!

    Maybe you should get on your knees for MS too. This couldn't happen to great Windows 7 that is perfect in they eyes of the fanboys.
  • -1 Hide
    caskachan , November 26, 2009 6:27 PM
    stop the corruption! for a better future
  • 3 Hide
    falconqc , November 26, 2009 8:02 PM
    RegulasMaybe you should get on your knees for MS too. This couldn't happen to great Windows 7 that is perfect in they eyes of the fanboys.


    Woah dude, do I sense some misdirected hate? All the guy said was "Thanks MS!"
  • -1 Hide
    Anonymous , November 26, 2009 8:47 PM
    I have a bricked usb drive as well but im not sure win7 caused it.
    When i try to format it, it says to insert a medium
  • 0 Hide
    Anonymous , November 26, 2009 9:01 PM
    "Also, corrupted I/O occurs. This causes data corruption."

    You don't say.
  • 2 Hide
    littlec , November 28, 2009 12:30 AM
    Word, Its good to see them have a sense of urgency with this version of Windows. Still people will hate because that's what they do. I hope for a day when people will stop being fan boys and embrace the Computer experience as a whole like it should be.
  • 0 Hide
    crikey2 , November 28, 2009 1:41 PM
    *This only affects SD cards formatted with NTFS* How many people use NTFS on their SD card given that no cameras, printers, music players etc understand NTFS?
  • -3 Hide
    rebturtle , November 28, 2009 4:38 PM
    Finally, the Mac fanboys have a straw to grab at!
  • 1 Hide
    AtuBrian , November 28, 2009 4:43 PM
    nice fix
  • 0 Hide
    gpfear , November 29, 2009 6:25 AM
    __-_-_-__will microsoft compensate for my loses?????

    No more than Apple will compensate users with guest accounts.
  • 0 Hide
    littlec , November 29, 2009 1:50 PM
    Or users that smoke o_0
Display more comments