Description
A flaw was found in libblockdev. The bd_fs_ntfs_set_label() and bd_fs_vfat_set_label() functions pass caller-supplied label values as bare positional arguments to the ntfslabel and fatlabel utilities without end-of-options separators or input validation for values beginning with a dash. This allows a label starting with '-' to be interpreted as a command-line flag by the spawned tool, potentially bypassing safety checks or causing unintended operations. This is reachable by unprivileged local users through the udisks2 Filesystem.SetLabel() D-Bus method without administrator authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libblockdev | No fix yet | — |
| Debian 13 | libblockdev | No fix yet | — |
| Debian 12 | libblockdev | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libblockdev | No fix yet | — |
| Ubuntu 26.04 LTS | libblockdev | No fix yet | — |
| Ubuntu 24.04 LTS | libblockdev | No fix yet | — |
| Ubuntu 22.04 LTS | libblockdev | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libblockdev | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libblockdev | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libblockdev | 3.5.0-2.1 | openSUSE-SU-2026:12462-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libblockdev | No fix yet | — |
Advisories 1
- openSUSE-SU-2026:12462-1 libbd_btrfs-devel-3.5.0-2.1 on GA media SUSE / openSUSE Security Updates · Nov 7, 2026
References
- https://access.redhat.com/security/cve/CVE-2026-111581 vdb-entry
- RHBZ#2554104 issue-tracking