opnsense-src/sys/contrib/openzfs
Mark Johnston c2b39a756f OpenZFS: Ensure that zfs_getattr() initializes the va_rdev field
Otherwise the field is left uninitialized, leading to a possible kernel
memory disclosure to userspace or to the network.  Use the same
initialization value we use in zfsctl_common_getattr().

Reported-by: KMSAN
Sponsored-by: The FreeBSD Foundation
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ed Maste <emaste@FreeBSD.org>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>

(cherry picked from commit 11656234b560c401dec6a16e1bf048b20fd31aac)
2023-12-10 12:46:57 -05:00
..
.github zfs: merge openzfs/zfs@431083f75 2023-04-03 16:49:30 +02:00
cmd zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
config zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
contrib zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14 2023-11-22 12:43:59 +01:00
etc zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
include zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
lib zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14 2023-11-22 12:43:59 +01:00
man zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
module OpenZFS: Ensure that zfs_getattr() initializes the va_rdev field 2023-12-10 12:46:57 -05:00
rpm zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
scripts zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14 2023-11-22 12:43:59 +01:00
tests zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
udev
.cirrus.yml zfs: merge openzfs/zfs@2407f30bd (zfs-2.2-release) into stable/14 2023-10-08 10:14:19 +02:00
.editorconfig
.gitignore zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14 2023-11-22 12:43:59 +01:00
.mailmap zfs: merge openzfs/zfs@2bba9fd47 (zfs-2.2-release) into stable/14 2023-10-13 10:17:40 +02:00
AUTHORS zfs: merge openzfs/zfs@2bba9fd47 (zfs-2.2-release) into stable/14 2023-10-13 10:17:40 +02:00
autogen.sh
CODE_OF_CONDUCT.md zfs: merge openzfs/zfs@9cd71c860 (master) 2023-01-25 19:50:29 +01:00
configure.ac zfs: merge openzfs/zfs@55dd24c4c (zfs-2.2-release) into stable/14 2023-11-22 12:43:59 +01:00
copy-builtin
COPYRIGHT
LICENSE
Makefile.am
META zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
NEWS
NOTICE
README.md zfs: merge openzfs/zfs@494aaaed8 (zfs-2.2-release) into stable/14 2023-12-01 12:31:24 +01:00
RELEASES.md
TEST
zfs.release.in

img

OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community. This repository contains the code for running OpenZFS on Linux and FreeBSD.

codecov coverity

Official Resources

Installation

Full documentation for installing OpenZFS on your favorite operating system can be found at the Getting Started Page.

Contribute & Develop

We have a separate document with contribution guidelines.

We have a Code of Conduct.

Release

OpenZFS is released under a CDDL license. For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported Linux kernel versions.
  • Supported FreeBSD versions are any supported branches and releases starting from 12.4-RELEASE.