CVE-2023-4194
MEDIUM 5.5CVSS 3.1Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
A flaw was found in the Linux kernel's TUN/TAP functionality. This issue could allow a local user to bypass network filters and gain unauthorized access to some resources. The original patches fixing CVE-2023-1076 are incorrect or incomplete. The problem is that the following upstream commits - a096ccca6e50 ("tun: tun_chr_open(): correctly initialize socket uid"), - 66b2c338adce ("tap: tap_open(): correctly initialize socket uid"), pass "inode->i_uid" to sock_init_data_uid() as the last parameter and that turns out to not be accurate.
- Published
- 7 Aug 2023
- Last modified
- 27 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-843
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
<= 6.4 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:* |
= 6.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:* |
= 6.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:* |
= 6.5 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:* |
= 6.5 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
= 38 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernel-rtcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernelcpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernel-rtcpe:/o:redhat:enterprise_linux:8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | kernel-rtcpe:/o:redhat:enterprise_linux:9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | redhat-virtualization-hostcpe:/a:redhat:rhev_manager:4 |
References
- https://access.redhat.com/errata/RHSA-2023:6583 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4194 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2229498 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://lore.kernel.org/all/20230731164237.48365-1-lersek@redhat.com/ · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/20230731164237.48365-2-lersek@redhat.com/ · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/20230731164237.48365-3-lersek@redhat.com/ · Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/ · x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/ · x_transferred
- https://security.netapp.com/advisory/ntap-20231027-0002/ · x_transferred
- https://www.debian.org/security/2023/dsa-5480 · x_transferred
- https://www.debian.org/security/2023/dsa-5492 · x_transferred
History
- 27 Nov 2026 04:51 UTC · NVD: updated (other details)
- 27 Nov 2026 03:57 UTC · CVE List: updated (other details)
- 26 Nov 2026 05:24 UTC · NVD: updated (other details)
- 26 Nov 2026 04:53 UTC · CVE List: first stored (published 7 Aug 2023)
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 7 Aug 2023)