By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux Affected By Decade Old Bug In Software RAID Around O_DIRECT Usage
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux Affected By Decade Old Bug In Software RAID Around O_DIRECT Usage
Computing

Linux Affected By Decade Old Bug In Software RAID Around O_DIRECT Usage

News Room
Last updated: 2025/10/16 at 2:19 PM
News Room Published 16 October 2025
Share
Linux Affected By Decade Old Bug In Software RAID Around O_DIRECT Usage
SHARE

A Phoronix reader pointed out a bug report from 2015 now getting renewed interest… Linux software RAID via MD RAID, DRBD, LVM RAID, and similar software-based solutions can be broken from user-space around O_DIRECT usage. The issue is that these RAID arrays can be put silently into an inconsistent state across disks.

The 2015 bug report provided a sample script for showing how MD RAID and similar can be put into an inconsistent state across disks from a user-space program poorly abusing O_DIRECT. As Wolfgang Bumiller later summed up in the thread with the heart of the issue:

“This is not at all about the contents of the data. It is expected that garbage is written to the disks, but each disk making up the raid will contain different garbage, which means the disks are out of sync, iow. the raid is “broken”. This in turn means the user space can “break” the raid.

The problem is that with O_DIRECT the the user space pointer is passed to the block drivers for the underlying layers making up the raid, and they all read from it independently. Any user who can run a program where they can use O_DIRECT on a file on a raid can break the raid.

It is expected that garbage is written to the disk, but the whole point of a raid is that each disk should contain the *same* garbage. Keep the garbage consistent… or something.”

That was ten years ago and this bug report started by Stanislav German-Evtushenko remains open.

RAID array

In the years since, discussion around the bug has come up occasionally, most recently in the context if this bug could surface in the context of VM live migration.

10 year RAID bug

The only Linux file-systems reported to not be affected by this O_DIRECT bug with software RAID are OpenZFS and Bcachefs.

Those curious can find out all the details around this software RAID inconsistent issue via the Kernel.org BugZilla.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Two green comets shine bright. How to spot them in the night sky
Next Article Oppo confirms a global launch for its Find X9 Pro flagship Oppo confirms a global launch for its Find X9 Pro flagship
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

ByteDance reportedly plans to purchase .6 billion worth of Huawei’s Ascend AI chips · TechNode
ByteDance reportedly plans to purchase $5.6 billion worth of Huawei’s Ascend AI chips · TechNode
Computing
7 best Shudder horror movies of 2025
7 best Shudder horror movies of 2025
News
Best Fitness Tracker 2025: Live a healthier lifestyle with these wearables
Best Fitness Tracker 2025: Live a healthier lifestyle with these wearables
Gadget
Apple fined by Italian antitrust watchdog over ATT rules – 9to5Mac
Apple fined by Italian antitrust watchdog over ATT rules – 9to5Mac
News

You Might also Like

ByteDance reportedly plans to purchase .6 billion worth of Huawei’s Ascend AI chips · TechNode
Computing

ByteDance reportedly plans to purchase $5.6 billion worth of Huawei’s Ascend AI chips · TechNode

1 Min Read
KDE Plasma’s Wayland Transition “Nears Completion” In Ending Out 2025
Computing

KDE Plasma’s Wayland Transition “Nears Completion” In Ending Out 2025

2 Min Read
Linux 6.19-rc3 Released With A Holiday’s Week Of Fixes
Computing

Linux 6.19-rc3 Released With A Holiday’s Week Of Fixes

2 Min Read
D7VK 1.1 Released With An Experimental Direct3D 6 Frontend
Computing

D7VK 1.1 Released With An Experimental Direct3D 6 Frontend

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?