Linux Kernel TUN/TAP OOB MemAccess PrivEsc via Malicious Packet
CVE-2023-3812 Published on July 24, 2023
Kernel: tun: bugs for oversize packet when napi frags enabled in tun_napi_alloc_frags
An out-of-bounds memory access flaw was found in the Linux kernels 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.
Vulnerability Analysis
CVE-2023-3812 is exploitable with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public.
Weakness Type
What is a Memory Corruption Vulnerability?
The software writes data past the end, or before the beginning, of the intended buffer. Typically, this can result in corruption of data, a crash, or code execution. The software may modify an index or perform pointer arithmetic that references a memory location that is outside of the boundaries of the buffer. A subsequent write operation then produces undefined or unexpected results.
CVE-2023-3812 has been classified to as a Memory Corruption vulnerability or weakness.
Products Associated with CVE-2023-3812
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-3812 are published in these products:
Affected Versions
Red Hat Enterprise Linux 8:- Version 0:4.18.0-513.9.1.rt7.311.el8_9 and below * is unaffected.
- Version 0:4.18.0-513.9.1.el8_9 and below * is unaffected.
- Version 0:4.18.0-147.94.1.el8_1 and below * is unaffected.
- Version 0:4.18.0-193.133.1.el8_2 and below * is unaffected.
- Version 0:4.18.0-193.133.1.rt13.184.el8_2 and below * is unaffected.
- Version 0:4.18.0-193.133.1.el8_2 and below * is unaffected.
- Version 0:4.18.0-193.133.1.el8_2 and below * is unaffected.
- Version 0:4.18.0-305.120.1.el8_4 and below * is unaffected.
- Version 0:4.18.0-305.120.1.rt7.196.el8_4 and below * is unaffected.
- Version 0:4.18.0-305.120.1.el8_4 and below * is unaffected.
- Version 0:4.18.0-305.120.1.el8_4 and below * is unaffected.
- Version 0:4.18.0-372.87.1.el8_6 and below * is unaffected.
- Version 0:4.18.0-477.43.1.el8_8 and below * is unaffected.
- Version 0:5.14.0-362.18.1.el9_3 and below * is unaffected.
- Version 0:5.14.0-362.18.1.el9_3 and below * is unaffected.
- Version 0:5.14.0-70.80.1.el9_0 and below * is unaffected.
- Version 0:5.14.0-70.80.1.rt21.151.el9_0 and below * is unaffected.
- Version 0:5.14.0-284.40.1.el9_2 and below * is unaffected.
- Version 0:5.14.0-284.40.1.rt14.325.el9_2 and below * is unaffected.
- Version 0:4.18.0-372.87.1.el8_6 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.