Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | >= 13.1-RC1, < p1; >= 13.0-RELEASE, < p11; >= 12.3-RELEASE, < p5 |
| freebsd | freebsd | >= 13.1-rc1, < p1; >= 13.0-release, < p11; >= 12.3-release, < p5 |
References
- https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.ascVendor Advisory
- https://security.netapp.com/advisory/ntap-20240419-0003/Third Party Advisory
- https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.ascVendor Advisory
- https://security.netapp.com/advisory/ntap-20240419-0003/Third Party Advisory
Timeline
- Published
- Feb 15, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed