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.
Published: 2026-08-19
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The ZFS_IOC_USERSPACE_MANY ioctl truncates a 64‑bit buffer size to 32 bits when allocating kernel memory, yet still uses the original 64‑bit size when writing records. This mismatch leads to a heap overflow that a local user with the ‘userused’ delegated ZFS permission can trigger, potentially allowing that user to gain higher privileges. The vulnerability is a classic buffer overflow, classified as CWE‑122. The impact is the elevation of local user privileges to kernel level, compromising system integrity and confidentiality.

Affected Systems

FreeBSD kernels vulnerable to the ZFS_IOC_USERSPACE_MANY ioctl. No specific affected releases are listed, so all FreeBSD installations that expose this ioctl and use the ‘userused’ permission may be impacted.

Risk and Exploitability

The attack vector is local: an attacker must be able to execute commands on the affected system and possess the ‘userused’ ZFS permission. The exploit requires kernel interaction via the ioctl interface, making it complex for a casual attacker but straightforward for a legitimate user with delegated rights. With no EPSS score or KEV listing available, the likelihood of widespread exploitation cannot be quantified, but the ability to elevate privileges makes it a high‑severity risk if a user can obtain the required permission.

Generated by OpenCVE AI on August 19, 2026 at 06:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest FreeBSD security update that patches the ZFS_IOC_USERSPACE_MANY ioctl buffer overflow.
  • Limit the ‘userused’ delegated ZFS permission to only trusted users, reducing the local privilege escalation surface.
  • Regularly monitor system logs for ZFS-related anomalies and investigate any unexpected ioctl activity.

Generated by OpenCVE AI on August 19, 2026 at 06:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 19 Aug 2026 05:30:00 +0000

Type Values Removed Values Added
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.
Title Kernel heap overflow in ZFS_IOC_USERSPACE_MANY ioctl
Weaknesses CWE-122
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-19T05:15:21.198Z

Reserved: 2026-05-29T20:24:28.616Z

Link: CVE-2026-49429

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-19T06:17:42.513

Modified: 2026-08-19T06:17:42.513

Link: CVE-2026-49429

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-19T07:00:12Z

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow