CVE-2023-3812: Kernel: tun: bugs for oversize packet when napi frags enabled in tun_napi_alloc_frags
Vulnerability summary
CVE-2023-3812 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in linux linux_kernel. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 27.9% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 52 · Related 30Timeline
- 24-07-2023PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.34% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu90 products
- linux< 4.15.0-206.217 | < 5.4.0-139.156 | < 5.15.0-60.66
- linux-aws< 4.15.0-1151.164 | < 5.4.0-1096.104 | < 5.15.0-1030.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
Redhat10 products
- enterprise_linux8.0 | 9.0
- kpatch-patch-4_18_0-193_116_1< 0:1-4.el8_2
- kpatch-patch-4_18_0-193_116_1-debuginfo< 0:1-4.el8_2
- kpatch-patch-4_18_0-193_116_1-debugsource< 0:1-4.el8_2
- kpatch-patch-4_18_0-193_119_1< 0:1-3.el8_2
Debian1 product
- linux< 6.0.8-1
Linux1 product
- linux_kernel≥ 4.15, < 4.19.265 | ≥ 4.20, < 5.4.224 | ≥ 5.5, < 5.10.154 | ≥ 5.11, < 5.15.78 | ≥ 5.16, < 6.0.8
4 vendors · 102 products
References
33 links- access.redhat.com/errata/RHSA-2023:6799Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:6813Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7370Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7379Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7382Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7389Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7411Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7418Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7548Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2023:7549Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
Show all 33 references
- access.redhat.com/errata/RHSA-2023:7554Vendor AdvisoryX Refsource REDHATThird Party AdvisoryVDB Entry
- bugzilla.redhat.com/show_bug.cgi?id=2224048Issue TrackingX Refsource REDHATREPORTPatchThird Party Advisory