Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
Libblockdev 3.6.0
------------------

New minor release of the libblockdev library with multiple fixes and new features. See below
for details.

**Notable changes**

- CVE-2026-111581: NTFS and VFAT labels starting with a dash were interpreted as command-line options.
Comment thread
vojtechtrefny marked this conversation as resolved.
Resolved
- s390: Pervasive encryption support using zkey.
- loop: _from_fd variants of existing functions operating on an already-open fd, avoiding races.

**Full list of changes**

Geert Geurts (1):

- utils: Resolve symlinks with an absolute target in bd_utils_resolve_device

Kou Wenqi (1):

- btrfs: fix integer overflow in bd_btrfs_create_volume argument counter

Ruslan Kossak (1):

- tests: Fix race condition in test_set_bitmap_location

Vojtech Trefny (34):

- README: Update location for libblockdev docs on storaged.org
- NEWS: Fix formatting
- ci: Add GitHub action to check RST files
- utils: Fail early when calling bd_utils_resolve_device with NULL
- ci: Run csmock with both default and rawhide mock config
- fs: Fix parsing tune.exfat output with variable whitespace
- fs: Adjust to new mkfs.exfat behaviour in exfatprogs >= 1.4.0
- utils: Fix typo libkmod log messages prefix
- lvm: Add warning when user specifies invalid VDO index memory size
- misc: Use ansible_facts instead of deprecated top-level fact variables
- Fix a pylint disable comment
- ci: Switch the compilation GH action to Ubuntu 26.04
- ci: Use ubuntu-latest instead of ubuntu-24.04 in GH workflows
- dm: Add bd_dm_get_thin_pool_stats for generic thin pools
- loop: Add _from_fd variants for the remaining loop functions
- loop: Remove useless access check when getting loop backing file
- dm: Check dm_task_run return value in bd_dm_map_exists
- crypto: Set libdevmapper logging in crypto plugin too
- fs: Reject NTFS labels starting with a dash
- fs: Prevent VFAT labels from being interpreted as options
- fs: Tell resize.f2fs to stop asking questions
- ci: Better test coverage with packit and testing farm
- misc: Add exfatprogs to test dependencies on CentOS
- tests: Move exfatprogs version check to the test class
- misc: Allow vendor change when installing build dependencies
- s390: Add support for pervasive encryption using zkey
- s390: Add support for validating the PAES setup of a LUKS2 device
- s390: Fix parsing of multi-line values in bd_s390_zkey_list
- tests: Write s390 plugin to config_h when available
- misc: Install s390utils on s390x
- crypto: Add bd_crypto_luks_format_volume_key for formatting with a given
volume key
- s390: Fix argument order for zkey-cryptsetup calls
- s390: Use NULL for empty key description in BDS390ZkeyInfo
- spec: Fix version in the changelog

dependabot[bot] (1):

- infra: bump actions/checkout from 6 to 7


Libblockdev 3.5.0
------------------

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# configure.ac for libblockdev

AC_INIT([libblockdev], [3.5.0], [], [], [https://github.com/storaged-project/libblockdev])
AC_INIT([libblockdev], [3.6.0], [], [], [https://github.com/storaged-project/libblockdev])

# Disable building static libraries.
# This needs to be set before initializing automake
Expand Down
44 changes: 42 additions & 2 deletions dist/libblockdev.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
%define configure_opts %{?python3_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?tools_copts} %{?gi_copts} %{?nvme_copts} %{?smart_copts} %{?smartmontools_copts}

Name: libblockdev
Version: 3.5.0
Version: 3.6.0
Release: 1%{?dist}
Summary: A library for low-level manipulation with block devices
License: LGPL-2.1-or-later
Expand Down Expand Up @@ -958,7 +958,47 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%files plugins-all

%changelog
* Mon Apr 27 2026 Vojtech Trefny <[email protected]> - 3.4.1-1
* Wed Nov 11 2026 Vojtech Trefny <[email protected]> - 3.6.0-1
- spec: Fix version in the changelog (vtrefny)
- s390: Use NULL for empty key description in BDS390ZkeyInfo (vtrefny)
- s390: Fix argument order for zkey-cryptsetup calls (vtrefny)
- crypto: Add bd_crypto_luks_format_volume_key for formatting with a given volume key (vtrefny)
- misc: Install s390utils on s390x (vtrefny)
- tests: Write s390 plugin to config_h when available (vtrefny)
- s390: Fix parsing of multi-line values in bd_s390_zkey_list (vtrefny)
- s390: Add support for validating the PAES setup of a LUKS2 device (vtrefny)
- s390: Add support for pervasive encryption using zkey (vtrefny)
- tests: Fix race condition in test_set_bitmap_location (rkossak)
- misc: Allow vendor change when installing build dependencies (vtrefny)
- tests: Move exfatprogs version check to the test class (vtrefny)
- misc: Add exfatprogs to test dependencies on CentOS (vtrefny)
- ci: Better test coverage with packit and testing farm (vtrefny)
- fs: Tell resize.f2fs to stop asking questions (vtrefny)
- fs: Prevent VFAT labels from being interpreted as options (vtrefny)
- fs: Reject NTFS labels starting with a dash (vtrefny)
- btrfs: fix integer overflow in bd_btrfs_create_volume argument counter (kouwenqi)
- utils: Resolve symlinks with an absolute target in bd_utils_resolve_device (geert)
- crypto: Set libdevmapper logging in crypto plugin too (vtrefny)
- dm: Check dm_task_run return value in bd_dm_map_exists (vtrefny)
- loop: Remove useless access check when getting loop backing file (vtrefny)
- loop: Add _from_fd variants for the remaining loop functions (vtrefny)
- dm: Add bd_dm_get_thin_pool_stats for generic thin pools (vtrefny)
- ci: Use ubuntu-latest instead of ubuntu-24.04 in GH workflows (vtrefny)
- ci: Switch the compilation GH action to Ubuntu 26.04 (vtrefny)
- Fix a pylint disable comment (vtrefny)
- misc: Use ansible_facts instead of deprecated top-level fact variables (vtrefny)
- lvm: Add warning when user specifies invalid VDO index memory size (vtrefny)
- utils: Fix typo libkmod log messages prefix (vtrefny)
- infra: bump actions/checkout from 6 to 7 (49699333+dependabot[bot])
- fs: Adjust to new mkfs.exfat behaviour in exfatprogs >= 1.4.0 (vtrefny)
- fs: Fix parsing tune.exfat output with variable whitespace (vtrefny)
- ci: Run csmock with both default and rawhide mock config (vtrefny)
- utils: Fail early when calling bd_utils_resolve_device with NULL (vtrefny)
- ci: Add GitHub action to check RST files (vtrefny)
- NEWS: Fix formatting (vtrefny)
- README: Update location for libblockdev docs on storaged.org (vtrefny)

* Mon Apr 27 2026 Vojtech Trefny <[email protected]> - 3.5.0-1
- Fix gtk-doc warnings for docstrings and sections file (vtrefny)
- btrfs: Add bd_btrfs_delete_subvolume_recursive function (vtrefny)
- btrfs: Add bd_btrfs_device_stats() to expose per-device error stats (vtrefny)
Expand Down
Loading