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
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to <p1; 15.0-RELEASE to <p11; 14.4-RELEASE to <p7; 14.3-RELEASE to <p16 |
References
- https://security.freebsd.org/advisories/FreeBSD-SA-26:40.zfs.asc (vendor-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.