• Bug#1063497: zfs-dkms: Data loss bug in version in bookworm

    From John Goerzen@21:1/5 to All on Thu Feb 8 23:10:01 2024
    Package: zfs-dkms
    Version: 2.1.11-1
    Severity: critical
    Tags: patch upstream
    Justification: causes serious data loss

    Hello ZFS maintainers! Thank you for maintaining this for Debian.

    In the release notes for ZFS 2.1.14 at https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14, it states:

    "This release contains an important fix for a data corruption bug. Full details are in the issue (#15526) and bug fix (#15571). There's also a developer's bug summary that gives a good overview... This bug is very hard to hit, and really only came to light due to changes in cp in coreutils 9.x. It's extremely unlikely that the bug was ever hit on EL7 or EL8 when running cp since they all use coreutils 8.x which performs file copies differently."

    I'll note that bookworm contains coreutils 9.x.

    Two options would exist to get this into stable-proposed-updates:

    1) Backport the patch (linked to from the release notes) onto 2.1.14 (likely easy),

    or

    2) Upgrade stable to 2.1.14.

    If you would like my assistance with either of these steps, I'm available to help.

    John

    -- System Information:
    Debian Release: 12.4
    APT prefers stable-updates
    APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-17-amd64 (SMP w/16 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages zfs-dkms depends on:
    ii debconf [debconf-2.0] 1.5.82
    ii dkms 3.0.10-8+deb12u1
    ii file 1:5.44-3
    ii libc6-dev [libc-dev] 2.36-9+deb12u4
    ii libpython3-stdlib 3.11.2-1+b1
    ii lsb-release 12.0-1
    ii perl 5.36.0-7+deb12u1
    ii python3-distutils 3.11.2-3

    Versions of packages zfs-dkms recommends:
    ii linux-libc-dev 6.5.10-1~bpo12+1
    ii zfs-zed 2.2.2-4~bpo12+1
    ii zfsutils-linux 2.2.2-4~bpo12+1

    Versions of packages zfs-dkms suggests:
    ii debhelper 13.11.4

    -- debconf information excluded

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 14 09:10:01 2024
    Processing control commands:

    fixed -1 2.1.14-1
    Bug #1063497 [zfs-dkms] zfs-dkms: Data loss bug in version in bookworm
    Marked as fixed in versions zfs-linux/2.1.14-1.
    reassign -1 src:zfs-linux
    Bug #1063497 [zfs-dkms] zfs-dkms: Data loss bug in version in bookworm
    Bug reassigned from package 'zfs-dkms' to 'src:zfs-linux'.
    No longer marked as found in versions zfs-linux/2.1.11-1.
    No longer marked as fixed in versions zfs-linux/2.1.14-1.
    block -1 by 1042730
    Bug #1063497 [src:zfs-linux] zfs-dkms: Data loss bug in version in bookworm 1063497 was not blocked by any bugs.
    1063497 was not blocking any bugs.
    Added blocking bug(s) of 1063497: 1042730

    --
    1063497: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063497
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)