{"id":"CVE-2023-4194","published":"2023-08-07T13:19:44Z","modified":"2026-11-07T11:31:57Z","title":"Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00267,"percentile":0.19265,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:6583","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-4194","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2229498","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://lore.kernel.org/all/20230731164237.48365-1-lersek@redhat.com/","tags":[]},{"url":"https://lore.kernel.org/all/20230731164237.48365-2-lersek@redhat.com/","tags":[]},{"url":"https://lore.kernel.org/all/20230731164237.48365-3-lersek@redhat.com/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20231027-0002/","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5480","tags":["x_transferred"]},{"url":"https://www.debian.org/security/2023/dsa-5492","tags":["x_transferred"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.85},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-03T16:14:49.416502Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-54072","exploited":false,"provenance":"source"}}