Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
cve-program · CVE-2023-4194
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-4194 · CVE overview and exploitation status
cve-program · CVE-2023-4194
Related changes
Linked by CVE identifier- Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid · Affected-version evidence changed · 7 Nov 2026
- Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid · Affected-version evidence changed · 3 Nov 2026