CVE-2023-1076: Linux kernel TUN/TAP socket UID confusion enabling network filter bypass
- Vendor
- Linux
CVE-2023-1076 is a type-confusion vulnerability in Linux kernel TUN/TAP socket initialization that incorrectly assigns socket UID 0. For sockets created by non-root users with CAP_NET_ADMIN, this misrepresents the socket owner's identity and can cause incorrect UID-dependent network filtering or routing decisions, potentially bypassing network filters. The affected initialization paths include tun_chr_open() and tap_open(). Initial fixes incorrectly derived the socket UID from inode ownership; the subsequent correction, tracked as CVE-2023-4194, initializes sk_uid from current_fsuid().
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A local non-root user with CAP_NET_ADMIN may have TUN/TAP traffic evaluated under UID 0 rather than the appropriate user identity. Where filtering or routing policies distinguish users by socket UID, this can bypass network restrictions and permit otherwise unauthorized network access. The vulnerability does not itself grant root privileges or arbitrary code execution.
Mitigation
If you can’t patch tonight, do this now.
Until the corrected kernel is deployed, restrict CAP_NET_ADMIN and TUN/TAP device access to trusted users and services. Review UID-dependent filtering and routing policies, particularly exceptions for UID 0, and enforce necessary network restrictions through controls that do not depend on the affected socket UID.
Remediation
Patch, then assume compromise.
Install the vendor-supported kernel updates addressing CVE-2023-1076 and the incomplete-fix follow-up CVE-2023-4194, then reboot into the updated kernel. The complete correction sets sk_uid from current_fsuid() in tun_chr_open() and tap_open(), rather than using inode ownership. RHEL 9 updates are available through RHSA-2023:6583. For affected Chainguard linux-qemu-6.12 installations, update that package and related packages to 6.12.71-r0 or later.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-1076 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2023-1076 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-1076?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2023-1076.
- Is there a patch for CVE-2023-1076?
- Install the vendor-supported kernel updates addressing CVE-2023-1076 and the incomplete-fix follow-up CVE-2023-4194, then reboot into the updated kernel. The complete correction sets sk_uid from current_fsuid() in tun_chr_open() and tap_open(), rather than using inode ownership.
- What products are affected by CVE-2023-1076?
- Linux Kernel.
- How severe is CVE-2023-1076?
- CVE-2023-1076 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.31% (16th percentile) as of Nov 27, 2026.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.