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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2023-07-24T15:19:21.817Z
- Modified: 2026-11-26T14:17:00.017Z
- Weaknesses: CWE-416, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- kernel-rt: no versions given (not affected: from 0:4.18.0-513.9.1.rt7.311.el8_9 before *; from 0:4.18.0-193.133.1.rt13.184.el8_2 before *; from 0:4.18.0-305.120.1.rt7.196.el8_4 before *; from 0:5.14.0-70.80.1.rt21.151.el9_0 before *; from 0:5.14.0-284.40.1.rt14.325.el9_2 before *)
- kernel: no versions given (not affected: from 0:4.18.0-513.9.1.el8_9 before *; from 0:4.18.0-147.94.1.el8_1 before *; from 0:4.18.0-193.133.1.el8_2 before *; from 0:4.18.0-305.120.1.el8_4 before *; from 0:4.18.0-372.87.1.el8_6 before *; from 0:4.18.0-477.43.1.el8_8 before *; from 0:5.14.0-362.18.1.el9_3 before *; from 0:5.14.0-70.80.1.el9_0 before *; from 0:5.14.0-284.40.1.el9_2 before *)
- kpatch-patch: no versions given
- linux linux_kernel: from 4.15 before 4.19.265; from 4.20 before 5.4.224; from 5.5 before 5.10.154; from 5.11 before 5.15.78; from 5.16 before 6.0.8
- redhat enterprise_linux: 8.0; 9.0

## Every score

- redhat: 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`
- NVD: 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`

## References

- <https://access.redhat.com/errata/RHSA-2023:6799> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:6813> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7370> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7379> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7382> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7389> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7411> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7418> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7548> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7549> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2023:7554> (third-party-advisory, vdb-entry, vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0340> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0378> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0412> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0461> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0554> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0562> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0563> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0575> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0593> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:1961> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2006> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2008> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-3812> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2224048> (issue-tracking, patch, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363a5328f4b0> (patch)

## Sources

- CVE List: [CVE-2023-3812](https://www.cve.org/CVERecord?id=CVE-2023-3812), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2023-3812](https://nvd.nist.gov/vuln/detail/CVE-2023-3812), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2023-3812 · Whole record: https://cve.day/CVE-2023-3812.json · Rebuilt by cve.day 2026-11-26T14:17:33.408Z
