CVE-2022-23084

Potential jail escape vulnerabilities in netmap

State
Published
Severity
7.8 High
Published
Feb 15, 2024
Updated
Feb 13, 2025
Reserved
Jan 10, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 13.1-RC1 to before p1Affected
  • 13.0-RELEASE to before p11Affected
  • 12.3-RELEASE to before p5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.