CVE-2023-1076

kernel: tap: tap_open(): correctly initialize socket uid

Published Mar 27, 2023 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3404-1 linux-5.10 security update
Ubuntu USN Ubuntu USN USN-6033-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6171-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6172-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6185-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6187-1 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6207-1 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-6222-1 Linux kernel (Xilinx ZynqMP) vulnerabilities
Ubuntu USN Ubuntu USN USN-6223-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-6256-1 Linux kernel (IoT) vulnerabilities
Ubuntu USN Ubuntu USN USN-6385-1 Linux kernel (OEM) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Feb 24, 2025, 5:04 PM
Reserved
Feb 27, 2023, 12:00 AM
Status
Modified
Published
Mar 27, 2023, 9:15 PM
Modified
Jun 17, 2026, 5:27 AM
Severity
Low
Public date
Feb 4, 2023, 12:00 AM