Skip to main content
Mallory
MediumVulnerability

CVE-2023-1076: Linux kernel TUN/TAP socket UID confusion enabling network filter bypass

Published Mar 27, 2023 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS5.5Medium · v3.1
EPSS0.31%16th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2023-1076CWE-843 · Access of Resource Using…

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().

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.