cve.bz

CVE-2023-3812 Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-03-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-416 Use After Free
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.18.0-513.9.1.rt7.311.el8_9
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:4.18.0-513.9.1.el8_9
  • Red Hat Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions: fixed in 0:4.18.0-147.94.1.el8_1
  • Red Hat Red Hat Enterprise Linux 8.2 Advanced Update Support: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:4.18.0-193.133.1.rt13.184.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Telecommunications Update Service: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions: fixed in 0:4.18.0-193.133.1.el8_2
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.18.0-305.120.1.el8_4
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release
  • Patch: https://bugzilla.redhat.com/show_bug.cgi?id=2224048
  • Patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363a5328f4b0

Ask an AI about this CVE

Show the promptExplain CVE-2023-3812 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3812?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3812?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3812 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:4.18.0-513.9.1.rt7.311.el8_9
Red Hat Enterprise Linux 80:4.18.0-513.9.1.el8_9
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions0:4.18.0-147.94.1.el8_1
Red Hat Enterprise Linux 8.2 Advanced Update Support0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:4.18.0-193.133.1.rt13.184.el8_2
Red Hat Enterprise Linux 8.2 Telecommunications Update Service0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions0:4.18.0-193.133.1.el8_2
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.18.0-305.120.1.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.120.1.rt7.196.el8_4
Red Hat Enterprise Linux 8.4 Telecommunications Update Service0:4.18.0-305.120.1.el8_4
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions0:4.18.0-305.120.1.el8_4
Red Hat Enterprise Linux 8.6 Extended Update Support0:4.18.0-372.87.1.el8_6
Red Hat Enterprise Linux 8.8 Extended Update Support0:4.18.0-477.43.1.el8_8
Red Hat Enterprise Linux 90:5.14.0-362.18.1.el9_3
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.80.1.el9_0
Red Hat Enterprise Linux 9.0 Extended Update Support0:5.14.0-70.80.1.rt21.151.el9_0
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.40.1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.40.1.rt14.325.el9_2
Red Hat Virtualization 4 for Red Hat Enterprise Linux 80:4.18.0-372.87.1.el8_6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.0.8-1DEBIAN-CVE-2023-3812
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux4.15.0-206.217UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-aws4.15.0-1151.164UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1096.104~18.04.1UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1162.177UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1103.109~18.04.1UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1146.162UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1100.109~18.04.1UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-139.156~18.04.1UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1044.49~18.04.1UBUNTU-CVE-2023-3812
Ubuntu18.04:LTSlinux-kvm4.15.0-1136.141UBUNTU-CVE-2023-3812
57 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseoskpatch-patch-4_18_0-513_5_1, kpatch-patch-4_18_0-513_5_1-debuginfo, kpatch-patch-4_18_0-513_5_1-debugsource0:1-1.el8_9RHSA-2023:7554
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.9.1.el8_9RHSA-2023:7549
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.9.1.el8_9RHSA-2023:7549
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.9.1.rt7.311.el8_9RHSA-2023:7548
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.9.1.rt7.311.el8_9RHSA-2023:7548
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.18.1.el9_3RHSA-2024:0461
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.18.1.el9_3RHSA-2024:0461
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.18.1.el9_3RHSA-2024:0461
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.18.1.el9_3RHSA-2024:0461
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-362_13_1, kpatch-patch-5_14_0-362_13_1-debuginfo, kpatch-patch-5_14_0-362_13_1-debugsource0:1-1.el9_3RHSA-2024:0340
Red Hatenterprise_linux:9::baseoskpatch-patch-5_14_0-362_8_1, kpatch-patch-5_14_0-362_8_1-debuginfo, kpatch-patch-5_14_0-362_8_1-debugsource0:1-2.el9_3RHSA-2024:0340
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.18.1.el9_3RHSA-2024:0461
55 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.130.1SUSE-SU-2023:3391-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 morekernel-default-base5.3.18-150300.59.130.1.150300.18.76.1SUSE-SU-2023:3391-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.176.1SUSE-SU-2023:3705-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.157.1SUSE-SU-2023:3680-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.160.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.130.1SUSE-SU-2023:3391-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.12.1SUSE-SU-2023:3172-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1kernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.157.1SUSE-SU-2023:3680-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default, kernel-preempt, kernel-obs-build5.3.18-150200.24.160.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-default-base5.3.18-150200.24.160.2.150200.9.79.2SUSE-SU-2023:3390-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2kernel-docs5.3.18-150200.24.160.3SUSE-SU-2023:3390-1
50 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.130.1SUSE-SU-2023:3391-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.60.1SUSE-SU-2023:3182-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.157.1SUSE-SU-2023:3680-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.46.1SUSE-SU-2023:3318-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4kernel-default-base5.14.21-150400.24.74.1.150400.24.33.3SUSE-SU-2023:3171-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.12.1SUSE-SU-2023:3172-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.11.1SUSE-SU-2023:3180-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.12.1.150500.6.4.2SUSE-SU-2023:3172-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.11.1SUSE-SU-2023:3302-1
openSUSELeap 15.5kernel-vanilla4.12.14-150100.197.157.1SUSE-SU-2023:3680-1
openSUSELeap Micro 5.3, Leap Micro 5.4kernel-default5.14.21-150400.24.74.1SUSE-SU-2023:3171-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.9.1.el8_9ALSA-2023:7549
Rocky Linux8kernel0:4.18.0-513.9.1.el8_9RLSA-2023:7549
Rocky Linux8kernel0:4.18.0-513.9.1.el8_9.cloudRXSA-2023:7549
Rocky Linux8kernel-rt0:4.18.0-513.9.1.rt7.311.el8_9RLSA-2023:7548
Azure Linux2kernel5.15.126.1-1AZL-27764

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

To mitigate this issue, prevent the tun module from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.9.1.rt7.311.el8_9Fixed 2023-11-28RHSA-2023:7548
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.9.1.el8_9Fixed 2023-11-28RHSA-2023:7549
Red Hat Enterprise Linux 8kpatch-patchFixed 2023-11-28RHSA-2023:7554
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskpatch-patchFixed 2023-11-08RHSA-2023:6799
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionskernel-0:4.18.0-147.94.1.el8_1Fixed 2023-11-08RHSA-2023:6813
Red Hat Enterprise Linux 8.2 Advanced Update Supportkernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-rt-0:4.18.0-193.133.1.rt13.184.el8_2Fixed 2024-04-23RHSA-2024:2008
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicekernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskpatch-patchFixed 2024-04-23RHSA-2024:1961
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionskernel-0:4.18.0-193.133.1.el8_2Fixed 2024-04-23RHSA-2024:2006
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportkernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-rt-0:4.18.0-305.120.1.rt7.196.el8_4Fixed 2024-01-30RHSA-2024:0563
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicekernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskernel-0:4.18.0-305.120.1.el8_4Fixed 2024-01-30RHSA-2024:0562
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionskpatch-patchFixed 2024-01-30RHSA-2024:0593
Red Hat Enterprise Linux 8.6 Extended Update Supportkpatch-patchFixed 2024-01-23RHSA-2024:0378
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3812.

References

Check your stackJSON