Read the technical write-up to understand how a wrong buffer-copy size in a FreeBSD kernel function leads to a full local privilege escalation.
Run the denial-of-service proof-of-concept in a lab environment to verify that CVE-2026-45250 is present on a FreeBSD 14.x system.
Study the SMAP/SMEP-bypassing exploit to learn how a ZFS kernel module gadget can be used to achieve privilege escalation without an information leak.
Use the disclosure as a reference when patching or auditing FreeBSD systems to confirm whether the fix has been backported to the stable/14 branch.
Requires a vulnerable FreeBSD 14.x system, testing should only be done in an isolated lab environment with appropriate authorization.
This repository is a security research disclosure for CVE-2026-45250, a vulnerability in FreeBSD 14.x that allows any unprivileged user on the system to gain full root access. The technical term for this class of flaw is a local privilege escalation, meaning it does not require remote network access: someone already logged into the machine can run the exploit and become the system administrator. The underlying bug lives in a FreeBSD kernel function called kern_setcred_copyin_supp_groups(). It uses the wrong size when copying user-supplied data into a fixed-size buffer on the kernel stack, writing eight bytes per entry instead of four. Because the function runs before any permission check, any user can trigger it without special privileges. The repository includes a write-up that walks through the flaw in detail. The repository ships three exploit programs written in C. The first is a minimal denial-of-service proof-of-concept that any user can run to crash (panic) the kernel, demonstrating the flaw is real. The second is a full privilege-escalation exploit for systems where two CPU security features (SMAP and SMEP) are turned off. The third targets systems where those protections are enabled, using a code gadget found inside the ZFS filesystem module that ships as a standard component on typical FreeBSD server installs. The third exploit is noted as requiring no information leak to work. As of the report date, FreeBSD 14.4-RELEASE and the stable/14 branch were still affected. A fix reached the development branch in November 2025 as a side effect of an unrelated code change but had not been backported to the stable release at the time of publication. The repository also includes build scripts and a secondary write-up focused on the SMAP/SMEP-safe exploit path.
← venglin on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.