CVE-2023-4194
Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-843 |
| Vendor | red hat |
| Product | red hat enterprise linux 9 |
| Published | Aug 7, 2023 |
| Last Updated | Mar 24, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat enterprise linux 9
Be the first to know when new medium vulnerabilities affecting red hat red hat enterprise linux 9 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Affected Versions
Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Enterprise Linux 6
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Enterprise Linux 7
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 8
All versions affected Red Hat / Red Hat Enterprise Linux 9
All versions affected Red Hat / Red Hat Virtualization 4
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2023:6583 access.redhat.com: https://access.redhat.com/security/cve/CVE-2023-4194 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2229498 lore.kernel.org: https://lore.kernel.org/all/[email protected]/ lore.kernel.org: https://lore.kernel.org/all/[email protected]/ lore.kernel.org: https://lore.kernel.org/all/[email protected]/ lists.debian.org: https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html lists.fedoraproject.org: https://lists.fedoraproject.org/archives/list/[email protected]/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/ lists.fedoraproject.org: https://lists.fedoraproject.org/archives/list/[email protected]/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/ security.netapp.com: https://security.netapp.com/advisory/ntap-20231027-0002/ debian.org: https://www.debian.org/security/2023/dsa-5480 debian.org: https://www.debian.org/security/2023/dsa-5492
Credits
This issue was discovered by Laszlo Ersek (Red Hat).