Vulnerabilities

CVE-2023-4194

Medium 5.5 CVSS 3.1

Description

A flaw was found in the Linux kernel's TUN/TAP functionality. This issue could allow a local user to bypass network filters and gain unauthorized access to some resources. The original patches fixing CVE-2023-1076 are incorrect or incomplete. The problem is that the following upstream commits - a096ccca6e50 ("tun: tun_chr_open(): correctly initialize socket uid"), - 66b2c338adce ("tap: tap_open(): correctly initialize socket uid"), pass "inode->i_uid" to sock_init_data_uid() as the last parameter and that turns out to not be accurate.

Description as published by the source, in English.

Key facts

Published
2023-08-07
Last modified
2026-11-26
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 20 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Debian Debian Linux 10.0 Affected
Debian Debian Linux 11.0 Affected
Debian Debian Linux 12.0 Affected
Fedoraproject Fedora 37 Affected
Fedoraproject Fedora 38 Affected
Linux Linux Kernel ≤ 6.4 Affected
Linux Linux Kernel 6.5 Affected
Redhat Enterprise Linux 8.0 Affected
Redhat Enterprise Linux 9.0 Affected

Weakness type

  • CWE-843: Access of Resource Using Incompatible Type

    The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.

  • CWE-863: Incorrect Authorization

    The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities