ZDI-26-785: FreeBSD Kernel Shared Memory Time-Of-Check Time-Of-Use Local Privilege Escalation Vulnerability
Summary
A local privilege escalation vulnerability has been identified in the FreeBSD Kernel related to Shared Memory Time-Of-Check Time-Of-Use (TOCTOU). Tracked as CVE-2026-58094 / ZDI-26-785, this vulnerability carries a CVSS score of 7.8 (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H).
Affected Products
- Vendor: FreeBSD
- Product: Kernel
Technical Details
The specific flaw exists within the FIOSSHMLPGCNF handler. The issue results from the lack of proper locking when performing operations on an object. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
Impact
A local attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.
Mitigation
FreeBSD has issued a security update to correct this vulnerability. Users are recommended to apply the update according to FreeBSD official guidance.
References
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.