[Bug 2033385] Re: zfs-dkms UBSAN array-out-of-bounds warning with kernel 6.5 on mantic
Ubuntu Foundations Team Bug Bot
2033385 at bugs.launchpad.net
Tue Aug 29 12:18:48 UTC 2023
The attachment "zfs-fix-ubsan-warnings.debdiff" seems to be a debdiff.
The ubuntu-sponsors team has been subscribed to the bug report so that
they can review and hopefully sponsor the debdiff. If the attachment
isn't a patch, please remove the "patch" flag from the attachment,
remove the "patch" tag, and if you are member of the ~ubuntu-sponsors,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
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:
New
Status in zfs-linux source package in Mantic:
New
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
More information about the Ubuntu-sponsors
mailing list