Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
Summary
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 - a096...
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2023-4194 linux Fix available
- Ubuntu UBUNTU-CVE-2023-4194 linux-xilinx-zynqmp, linux-riscv-5.15, linux-realtime +46 more Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- advisory access.redhat.com
- advisory access.redhat.com
- advisory bugzilla.redhat.com
- patch lore.kernel.org
- patch lore.kernel.org
- patch lore.kernel.org
- web lists.debian.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com
- web debian.org
- web debian.org