Body Background
TrendAI™ Zero Day Initiative™ Logo

FreeBSD Kernel Netmap Time-Of-Check Time-Of-Use Privilege Escalation Vulnerability

September 20th, 2022

Vulnerability Details

This vulnerability allows local attackers to escalate privileges on affected installations of FreeBSD Kernel. An attacker must first obtain the ability to execute high-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of arguments to the Netmap device. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel.

Additional Details

FreeBSD has issued an update to correct this vulnerability. More details can be found at:
https://www.freebsd.org/security/advisories/FreeBSD-SA-22:04.netmap.asc

Disclosure Timeline

  • 2022-02-18 - Vulnerability reported to vendor
  • 2022-09-20 - Coordinated public release of advisory

Credit

Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.