Description

The ZFS_IOC_USERSPACE_MANY ioctl, used by zfs-userspace(8), truncated a 64-bit output buffer size to a 32-bit integer for the kernel allocation, but used the original 64-bit size as the buffer limit when writing records. A local user with the "userused" delegated ZFS permission can trigger a kernel heap overflow via the ZFS_IOC_USERSPACE_MANY ioctl, potentially escalating privileges.

Weaknesses

  • CWE-122 — CWE-122: Heap-based Buffer Overflow

Affected products

VendorProductVersions
FreeBSDFreeBSD15.1-RELEASE to <p1; 15.0-RELEASE to <p11; 14.4-RELEASE to <p7; 14.3-RELEASE to <p16

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 19 Aug 2026 07:05 UTC.