Use-after-free in FreeBSD - CVE-2026-127750
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to corrupt kernel memory and potentially obtain superuser privileges.
The vulnerability exists due to use-after-free in the FreeBSD kqueue copying logic when copying a KQUEUE_CPONFORK kqueue during fork(2). A local user can register an event from another thread while the copy loop temporarily drops the kqueue lock, causing reallocation of the event-list array and subsequent writes to the freed array to corrupt kernel memory and potentially obtain superuser privileges.