CWE
787 120
Advisory Published
Updated

CVE-2022-23085: Potential jail escape vulnerabilities in netmap

First published: Thu Feb 15 2024(Updated: )

A user-provided integer option was passed to nmreq_copyin() without checking if it would overflow. This insufficient bounds checking 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.

Credit: secteam@freebsd.org

Affected SoftwareAffected VersionHow to fix
FreeBSD Kernel>=12.0<12.3
FreeBSD Kernel=12.3
FreeBSD Kernel=12.3-p1
FreeBSD Kernel=12.3-p2
FreeBSD Kernel=12.3-p3
FreeBSD Kernel=12.3-p4
FreeBSD Kernel=13.0
FreeBSD Kernel=13.0-beta1
FreeBSD Kernel=13.0-beta2
FreeBSD Kernel=13.0-beta3
FreeBSD Kernel=13.0-beta3-p1
FreeBSD Kernel=13.0-beta4
FreeBSD Kernel=13.0-p1
FreeBSD Kernel=13.0-p10
FreeBSD Kernel=13.0-p2
FreeBSD Kernel=13.0-p3
FreeBSD Kernel=13.0-p4
FreeBSD Kernel=13.0-p5
FreeBSD Kernel=13.0-p6
FreeBSD Kernel=13.0-p7
FreeBSD Kernel=13.0-p8
FreeBSD Kernel=13.0-p9
FreeBSD Kernel=13.0-rc1
FreeBSD Kernel=13.0-rc2
FreeBSD Kernel=13.0-rc3
FreeBSD Kernel=13.0-rc4
FreeBSD Kernel=13.0-rc5
FreeBSD Kernel=13.0-rc5-p1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-23085?

    CVE-2022-23085 has a high severity rating due to its ability to cause kernel memory corruption.

  • How do I fix CVE-2022-23085?

    To fix CVE-2022-23085, update your FreeBSD installation to a version that includes the security patch.

  • Which versions of FreeBSD are affected by CVE-2022-23085?

    CVE-2022-23085 affects FreeBSD versions from 12.0 to 12.3 and various 13.x releases.

  • Can unprivileged users exploit CVE-2022-23085?

    No, CVE-2022-23085 requires a privileged process running in a jail for exploitation.

  • What is the nature of the vulnerability in CVE-2022-23085?

    CVE-2022-23085 is an insufficient bounds checking vulnerability that can lead to kernel memory corruption.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203