FreeBSD
Kernel heap overflow in ZFS_IOC_USERSPACE_MANY ioctl
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
FreeBSD FreeBSD
- >= 15.1-RELEASE, < p1
- >= 15.0-RELEASE, < p11
- >= 14.4-RELEASE, < p7
- >= 14.3-RELEASE, < p16
Fixed in p1, p11, p7, p16
Mitigation
Upgrade FreeBSD to p1 or p11 or p7 or p16 or later.
References
- Vendor advisory security.freebsd.org/advisories/FreeBSD-SA-26:40.zfs.asc
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.