CVE-2023-3812: Out-of-bounds memory access in Linux kernel TUN/TAP oversized-packet handling
- Vendors
- LinuxRed Hat
CVE-2023-3812 is an out-of-bounds memory access vulnerability in the Linux kernel TUN/TAP device driver. When NAPI fragments are enabled, improper handling of oversized network packets in tun_napi_alloc_frags() allows a local user to trigger invalid memory access. Exploitation can crash the system and may permit local privilege escalation.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local attacker can cause a kernel crash, resulting in system-wide denial of service. Successful exploitation may also allow privilege escalation; this outcome is potential rather than demonstrated.
Mitigation
If you can’t patch tonight, do this now.
Where patching cannot be performed immediately, prevent the TUN kernel module from loading to remove access to the vulnerable TUN/TAP driver functionality. Restrict untrusted local users from creating or controlling TUN/TAP interfaces and minimize assignment of network-administration capabilities.
Remediation
Patch, then assume compromise.
Install the vendor kernel update addressing CVE-2023-3812 for the applicable distribution and support stream, then reboot into the updated kernel. Fixed builds include RHEL 8 kernel 4.18.0-513.9.1.el8_9 under RHSA-2023:7549 and RHEL 9.0 EUS kernel 5.14.0-70.80.1.el9_0 under RHSA-2023:7382. For supported RHEL configurations, a matching vendor kpatch-patch update can instead modify the running kernel without a conventional reboot; confirm that the live patch is loaded.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-3812 exploited in the wild?
- As of Nov 8, 2026, Mallory has no reports of CVE-2023-3812 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-3812?
- As of Nov 8, 2026, Mallory has found no public exploit for CVE-2023-3812.
- Is there a patch for CVE-2023-3812?
- Install the vendor kernel update addressing CVE-2023-3812 for the applicable distribution and support stream, then reboot into the updated kernel. Fixed builds include RHEL 8 kernel 4.18.0-513.9.1.el8_9 under RHSA-2023:7549 and RHEL 9.0 EUS kernel 5.14.0-70.80.1.el9_0 under RHSA-2023:7382.
- What products are affected by CVE-2023-3812?
- Linux Kernel and Red Hat Enterprise Linux.
- How severe is CVE-2023-3812?
- CVE-2023-3812 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.53% (38th percentile) as of Nov 8, 2026.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.