CVE-2021-0342
publishedkernel: use after free in tun_get_user of tun.c could lead to local escalation of privilege
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | AndroidAndroid kernel | Affected | Not stated | google_android |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-305.el8 | ALSA-2021:1578 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-305.el8 | ELSA-2021-1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-devels390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesppc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-moduless390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extraaarch64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrappc64le | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extras390x | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-305.el8 | RHSA-2021:1578 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtsrc | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtx86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-corex86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debugx86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-corex86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-debuginfox86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-develx86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rt-debug-kvmx86_64 | Advisory build | 4.18.0-305.rt7.72.el8 | RHSA-2021:1739 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In tun_get_user of tun.c, there is possible memory corruption due to a use after free. This could lead to local escalation of privilege with System execution privileges required. User interaction is not required for exploitation. Product: Android; Versions: Android kernel; Android ID: A-146554327.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Android | Android kernel (affected) | google_android · cna |
Weaknesses
1- Elevation of privilege
References
1Provider assertions
2google_android · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 1ef8284581b1bf807f0f8ffdff98c90563ba812ec08f8410d9c46bde9f83de5b
- Ingested
- 23 Sep 2026, 07:51:56 UTC
- Source record
- Official CVE record