CVE-2023-3812: Kernel: tun: bugs for oversize packet when napi frags enabled in tun_napi_alloc_frags

Published Jul 19, 2023
·
Updated

A flaw in the Linux Kernel found. If napi frags enabled and patch 363a5328f4b0 ("net: tun: fix bugs for oversize packet when napi frags enabled") not applied, then when local user try to send too large IPV6 packet (with big packet length), it can lead to out of bounds memory bug.

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363a5328f4b0

Other sources

An out-of-bounds memory access flaw was found in the Linux kernel’s TUN/TAP device driver functionality in how a user generates a malicious (too big) networking packet when napi frags is enabled. This flaw allows a local user to crash or potentially escalate their privileges on the system.

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by an out-of-bounds memory access flaw in the TUN/TAP device driver function when napi frags is enabled. By generating a specially crafted packet, an authenticated attacker could exploit this vulnerability to gain elevated privileges or cause the system to crash.

IBM

Affected Software

14 affected componentsFixes available
Linux Linux kernel>=4.15<4.19.265
Linux Linux kernel>=4.20<5.4.224
Linux Linux kernel>=5.5<5.10.154
Linux Linux kernel>=5.11<5.15.78
Linux Linux kernel>=5.16<6.0.8
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Linux Linux kernel<=6.0.19
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
IBM Security Verify Governance, Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager virtual appliance component<=ISVG 10.0.2
redhat/kernel<6.1
6.1

Event History

Jul 24, 2023
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
DescriptionSeverityWeakness
Data Sourced
04:15 PM
Description
Mar 20, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-3812?

CVE-2023-3812 is an out-of-bounds memory access flaw found in the Linux kernel’s TUN/TAP device driver functionality.

2

How does CVE-2023-3812 impact a system?

CVE-2023-3812 allows a local user to crash or potentially escalate their privileges on the system.

3

What is the severity of CVE-2023-3812?

CVE-2023-3812 has a severity value of 7, indicating a high severity.

4

What software versions are affected by CVE-2023-3812?

The Linux kernel versions up to and including 6.1, Linux Kernel versions 6.0.19, Linux Kernel version 6.1-rc1, Linux Kernel version 6.1-rc2, Linux Kernel version 6.1-rc3, Redhat Enterprise Linux version 8.0, and Redhat Enterprise Linux version 9.0 are affected by CVE-2023-3812.

5

How can CVE-2023-3812 be fixed?

To fix CVE-2023-3812, users should update their Linux kernel to version 6.1 or apply the appropriate patches from the Linux kernel repository.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203