NetSight
high7.5

CVE-2022-23084

The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin.

Impact

The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin. This time-of-check to time-of-use bug could lead to kernel memory corruption. On systems configured to include netmap in their devfs_ruleset, a privileged process running in a jail can affect the host environment.

Affected products

VendorProductAffected versions
FreebsdFreebsd
from 12.0 before 12.3
Versions 12.3, 13.0

Weakness classification

References