Security News > 2023 > December > Two new versions of OpenZFS fix long-hidden corruption bug

Two new versions of OpenZFS fix long-hidden corruption bug
2023-12-04 16:15

The bug that was very occasionally corrupting data on file copies in OpenZFS 2.2.0 has been identified and fixed, and there's a fix for the previous OpenZFS release too.

The OpenZFS development team have put out not one but two new releases of the open-source cross-platform filesystem for Linux and FreeBSD. Version 2.2.2 fixes the problem that showed up in the latest version, which is included in FreeBSD 14 as well as several Linux distros, including Ubuntu 23.10.

It merely exposed an underlying bug which had been around for years: OpenZFS 2.2.0's new, faster copy function simply made the existing issue much more likely to happen.

There's a newer overview of the issue on Github, but the investigation as to when the bug first appeared is still underway, as the comments there show.

Although bug fix #15571 in these two new OpenZFS releases does resolve the issue, another, newer attempt to fix the issue in a cleaner way is also under investigation as bug fix #15615.

ZFS is a complex filesystem, and this is a complex bug that may have remained hidden for 17 years.


News URL

https://go.theregister.com/feed/www.theregister.com/2023/12/04/two_new_versions_of_openzfs/