Vulnerability · Published Jul 24, 2023 · Assigned by redhat
CVE-2023-3812Kernel: tun: bugs for oversize packet when napi frags enabled in tun_napi_alloc_frags
High 7.8
In plain English
A high-severity out-of-bounds write in Red Hat Enterprise Linux 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.3%top 71.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-core | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-debug | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-devel | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-doc | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-modules | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-tools | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | perf | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| AlmaLinux:8 | python3-perf | 4.18.0-513.9.1.el8_9 | ALSA-2023:7549 |
| Debian:12 | linux | 6.0.8-1 | DEBIAN-CVE-2023-3812 |
| Debian:13 | linux | 6.0.8-1 | DEBIAN-CVE-2023-3812 |
| Debian:14 | linux | 6.0.8-1 | DEBIAN-CVE-2023-3812 |
| Rocky Linux:8 | kernel | 0:4.18.0-513.9.1.el8_9 | RLSA-2023:7549 |
| Rocky Linux:8 | kernel | 0:4.18.0-513.9.1.el8_9.cloud | RXSA-2023:7549 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-513.9.1.rt7.311.el8_9 | RLSA-2023:7548 |
| Ubuntu:22.04:LTS | linux | 5.15.0-60.66 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1030.34 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1033.40 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1033.40.1 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1029.36 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1027.32 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1015.19 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | 5.19.0-32.33~22.04.1 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1025.28 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1025.30 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1028.33 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-60.66 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1017.17 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | 6.0.0-1008.8 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1029.35 | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1024.26 | UBUNTU-CVE-2023-3812 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-3812 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- RHSA-2023:6799 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:6813 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7370 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7379 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7382 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7389 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7411 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7418 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7548 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7549 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7554 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0340 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0378 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0412 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0461 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0554 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0562 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0563 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0575 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:0593 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:1961 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2006 vendor-advisory, x_refsource_REDHAT
- RHSA-2024:2008 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-3812 vdb-entry, x_refsource_REDHAT
- RHBZ#2224048 issue-tracking, x_refsource_REDHAT
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=363a5328f4b0