This bug was fixed in the package zfs-linux - 2.2.0~rc3-0ubuntu2

---------------
zfs-linux (2.2.0~rc3-0ubuntu2) mantic; urgency=medium

  * Fix UBSAN array-index-out-of-bounds warnings (LP: #2033385):
    - 
debian/patches/4630-ubsan-Support-varlen-arrays-at-end-of-struct-as-1-or.patch

 -- Andrea Righi <andrea.ri...@canonical.com>  Tue, 29 Aug 2023 09:37:56
+0000

** Changed in: zfs-linux (Ubuntu Mantic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/2033385

Title:
  zfs-dkms UBSAN array-out-of-bounds warning with kernel 6.5 on mantic

Status in zfs-linux package in Ubuntu:
  Fix Released
Status in zfs-linux source package in Mantic:
  Fix Released

Bug description:
  [Impact]

  When the zfs module is loaded we can see the following errors in dmesg
  with the latest 6.5 kernel in mantic:

  [   10.730318] UBSAN: array-index-out-of-bounds in 
/build/mantic/debian/build/build-generic/_______________________________________________________________________________________________dkms/build/zfs/2.2.0~rc3/build/module/zfs/vdev_raidz_math_impl.h:1475:22
  [   10.734075] index 6 is out of range for type 'raidz_col_t [*]'

  [Test case]

   $ sudo apt install zfs-dkms

  [Fix]

  Apply this patch to properly support varlen arrays and prevent the
  UBSAN warnings:

  https://github.com/ckane/zfs/commit/095a435cd5129b25ebc1b090613b73059719bae5

  [Regression potential]

  This change is limited to ZFS, so we may experience regressions in
  those systems that are using ZFS filesystems or zpool volumes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2033385/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to