CVE-2023-1076 Security feature bypass in Linux kernel

Medium 5.5 Published Updated

A type confusion in Linux kernel tun/tap sockets allows bypassing network filters by incorrectly treating socket UIDs, affecting network security controls.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-1076?

CVE-2023-1076 is a medium-severity vulnerability in Linux kernel, published on 27 Mar 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-843, CWE-791

Which versions are affected by CVE-2023-1076?

It affects 1 product.

Linux distribution packages (1)
kernel-source openSUSE:TumbleweedAll versions6.2.4-1.1

Products include Linux kernel.

How do I fix CVE-2023-1076?

Apply the vendor's patch.

Is CVE-2023-1076 being exploited?

There is no known exploitation of CVE-2023-1076 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-1076, GHSA-f7qv-v8h9-5244, UBUNTU-CVE-2023-1076, openSUSE-SU-2024:12779-1.

Is CVE-2023-1076 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free