CVE-2023-4194CWE-843

Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid

Medium · published August 7, 2023

CVSS v3.1
5.5
EPSS
0%
Percentile
17.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00267 · 17.9th percentile
Weakness
CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2023-08-07T13:19Z
EPSS history
Timeline
  • 07 AUG 13:19Z
    Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
    cvelistv5