Use-after-free in FreeBSD - CVE-2026-101316

 

Use-after-free in FreeBSD - CVE-2026-101316

Published: November 18, 2026


Vulnerability identifier: #VU166860
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-101316
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

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.


Affected software

FreeBSD

How to mitigate CVE-2026-101316

Install security update from vendor's website.


External References

Related Security Bulletins