Use-after-free in FreeBSD - CVE-2026-101316
Published: November 18, 2026
Vulnerability details
The vulnerability allows a local user to escalate privileges, potentially gaining full control of the affected system.
The vulnerability exists due to use-after-free in the FreeBSD kernel's inotify_log_one() function when automatically removing file system watches. A local user can force the 32-bit watch descriptor counter to wrap around and cause a new watch to reuse the descriptor of a watch being removed concurrently, causing the kernel to free a watch that is still in use, to potentially escalate privileges.