cve.bz

CVE-2023-1076 linux linux kernel: Type Confusion

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the Linux Kernel. The tun/tap sockets have their socket UID hardcoded to 0 due to a type confusion in their initialization function. While it will be often correct, as tuntap devices require CAP_NET_ADMIN, it may not always be the case, e.g., a non-root user only having that capability. This would make tun/tap sockets being incorrectly treated in filtering/routing decisions, possibly bypassing network filters.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-843 Access of Resource Using Incompatible Type (Type Confusion)
CWE-791 Incomplete Filtering of Special Elements
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1076 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1076?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1076?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1076 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux-5.105.10.178-3~deb10u1DLA-3404-1
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-1076
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1076
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-1076
Ubuntu20.04:LTSlinux5.4.0-152.169UBUNTU-CVE-2023-1076 USN-6172-1
Ubuntu20.04:LTSlinux-aws5.4.0-1104.112UBUNTU-CVE-2023-1076 USN-6185-1
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1038.43~20.04.1UBUNTU-CVE-2023-1076 USN-6172-1
Ubuntu20.04:LTSlinux-azure5.4.0-1110.116UBUNTU-CVE-2023-1076 USN-6185-1
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1040.47~20.04.1UBUNTU-CVE-2023-1076 USN-6172-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1040.47~20.04.1.1USN-6172-1
Ubuntu20.04:LTSlinux-bluefield5.4.0-1065.71UBUNTU-CVE-2023-1076 USN-6185-1
Ubuntu20.04:LTSlinux-gcp5.4.0-1107.116UBUNTU-CVE-2023-1076 USN-6185-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1036.44~20.04.1UBUNTU-CVE-2023-1076 USN-6172-1
Ubuntu20.04:LTSlinux-gke5.4.0-1102.109UBUNTU-CVE-2023-1076 USN-6185-1
53 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.148.1.150200.9.71.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-syms and 4 more5.3.18-150300.59.118.1SUSE-SU-2023:1811-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.118.1.150300.18.68.1SUSE-SU-2023:1811-1
SUSELinux Enterprise High Availability Extension 12 SP4drbd9.0.14+git.62f906cf-4.26.2SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.125.1SUSE-SU-2023:2232-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.156.1SUSE-SU-2023:1803-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.142.1SUSE-SU-2023:1848-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.148.1SUSE-SU-2023:1800-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.118.1SUSE-SU-2023:1811-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 4 morekernel-default5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
35 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.118.1SUSE-SU-2023:1811-1
openSUSELeap 15.4dtb-aarch64, kernel-docs, kernel-syms and 1 more5.14.21-150400.24.55.1SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-64kb, kernel-source, kernel-zfcpdump5.14.21-150400.24.55.2SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.40.1SUSE-SU-2023:1608-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-kvmsmall and 1 more5.14.21-150400.24.55.3SUSE-SU-2023:1710-1
openSUSELeap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.142.1SUSE-SU-2023:1848-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.18.1SUSE-SU-2023:1609-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.55.3.150400.24.22.7SUSE-SU-2023:1710-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.5.1SUSE-SU-2023:2809-1
4 more for openSUSE in the JSON and on openSUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

To mitigate this issue, prevent modules tap and tun from being loaded. Please see https://access.redhat.com/solutions/41278 for how to blacklist a kernel module to prevent it from loading automatically.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.8.1.el9_3Fixed 2023-11-07RHSA-2023:6583
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernel-rtAffected
Red Hat Virtualization 4redhat-virtualization-hostOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1076.

References

Check your stackJSON