CVE-2022-23084 in Freebsd
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, high privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 12.3 13.0 ≥ 12.0, < 12.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-23084 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-313108-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| Published | 2024-02-15 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-367: CWE-367
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367
CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A time-of-check to time-of-use bug in the nmreq_copyin() function can lead to kernel memory corruption, potentially allowing a privileged process in a jail to affect the host environment on systems configured with netmap in their devfs_ruleset.
The vulnerability arises from the improper validation of the size of the user-provided nmreq structure before it is copied into kernel memory. An attacker with access to a privileged process within a jail could exploit this to corrupt kernel memory.
Questions
What is CVE-2022-23084?
A time-of-check to time-of-use bug in the nmreq_copyin() function can lead to kernel memory corruption, potentially allowing a privileged process in a jail to affect the host environment on systems configured with netmap in their devfs_ruleset.
What is the CVSS score for CVE-2022-23084?
CVE-2022-23084 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2022-23084 actively exploited?
No confirmed active exploitation of CVE-2022-23084 as of 2026-09-25.
How do I remediate CVE-2022-23084?
Priority: HIGH. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-22:04.netmap.asc PSIRT: [email protected]
What systems are affected by CVE-2022-23084?
CVE-2022-23084 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.