CVE-2023-4194 json
Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
published 2023-08-07 3 y ago modified 2026-11-07 47 h ago also EUVD-2023-54072
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 18%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Red Hat Red Hat Enterprise Linux 9 0:5.14.0-362.8.1.el9_3
- linux Debian 12 6.1.52-1
- linux Debian 14, Debian 13 6.4.11-1
debian advisories DEBIAN-CVE-2023-4194
- linux Ubuntu 20.04 LTS 5.4.0-164.181
- linux Ubuntu 22.04 LTS 5.15.0-86.96
- linux-aws Ubuntu 20.04 LTS 5.4.0-1111.120
- linux-aws Ubuntu 22.04 LTS 5.15.0-1047.52
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1115.124
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1044.52
- linux-gke Ubuntu 22.04 LTS 5.15.0-1044.49
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1058.63
ubuntu advisories UBUNTU-CVE-2023-4194
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-362.8.1.el9_3
- rv RHEL 9 5.14.0-362.8.1.el9_3
- perf RHEL 9 5.14.0-362.8.1.el9_3
- rtla RHEL 9 5.14.0-362.8.1.el9_3
- bpftool RHEL 9 7.2.0-362.8.1.el9_3
- libperf RHEL 9 5.14.0-362.8.1.el9_3
- kernel-rt RHEL 9 5.14.0-362.8.1.el9_3
- kernel-64k RHEL 9 5.14.0-362.8.1.el9_3
red hat advisories RHSA-2023:6583
- kernel-rt SLE Micro 5.5, Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-syms-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-rt_debug Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- kernel-source-rt Real Time Module 15 SP5, openSUSE Leap 15.5 5.14.21-150500.13.18.1
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.28.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.28.1
suse advisories SUSE-SU-2023:3988-1SUSE-SU-2023:3971-1SUSE-SU-2023:3969-1SUSE-SU-2023:3964-1SUSE-SU-2023:3785-1SUSE-SU-2023:3599-1
- kernel-source openSUSE Tumbleweed 6.4.11-1.1
- kernel-source openSUSE Tumbleweed 6.6.17-1.1
opensuse advisories openSUSE-SU-2024:13145-1openSUSE-SU-2024:13704-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-4194 updated cvss 5.5
kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available
-
Red Hat Virtualization 4 redhat-virtualization-host-image-updateaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 9) libperf 5.14.0-362.8.1.el9_3, kernel-debuginfo-common-s390x 5.14.0-362.8.1.el9_3, kernel-debuginfo-common-x86_64 5.14.0-362.8.1.el9_3, kernel-debuginfo-common-aarch64 5.14.0-362.8.1.el9_3, kernel-debuginfo-common-ppc64le 5.14.0-362.8.1.el9_3 Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-362.8.1.el9_3, perf 5.14.0-362.8.1.el9_3, rtla 5.14.0-362.8.1.el9_3, kernel-devel-matched 5.14.0-362.8.1.el9_3, kernel-64k-devel-matched 5.14.0-362.8.1.el9_3, kernel-debug-devel-matched 5.14.0-362.8.1.el9_3, +6 more Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.2.0-362.8.1.el9_3, kernel 5.14.0-362.8.1.el9_3, kernel-64k 5.14.0-362.8.1.el9_3, kernel-core 5.14.0-362.8.1.el9_3, kernel-tools 5.14.0-362.8.1.el9_3, python3-perf 5.14.0-362.8.1.el9_3, +28 more Red Hat Enterprise Linux Real Time (v. 9) kernel-rt 5.14.0-362.8.1.el9_3, kernel-rt-core 5.14.0-362.8.1.el9_3, kernel-rt-modules 5.14.0-362.8.1.el9_3, kernel-rt-debug-core 5.14.0-362.8.1.el9_3, kernel-rt-modules-core 5.14.0-362.8.1.el9_3, kernel-rt-debug-modules 5.14.0-362.8.1.el9_3, +4 more Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt 5.14.0-362.8.1.el9_3, kernel-rt-kvm 5.14.0-362.8.1.el9_3, kernel-rt-core 5.14.0-362.8.1.el9_3, kernel-rt-modules 5.14.0-362.8.1.el9_3, kernel-rt-debug-kvm 5.14.0-362.8.1.el9_3, kernel-rt-debug-core 5.14.0-362.8.1.el9_3, +6 morefixed: vendor fix RHSA-2023:6583
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-046-11 updated cvss 5.5
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected products
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Virtualization 4
Classification
- Weakness
- Technology feeds
References
-
lore.kernel.org
/all/20230731164237.48365-1-lersek@redhat.com/
mailing-list, patch, vendor-advisory
-
lore.kernel.org
/all/20230731164237.48365-2-lersek@redhat.com/
mailing-list, patch, vendor-advisory
-
lore.kernel.org
/all/20230731164237.48365-3-lersek@redhat.com/
mailing-list, patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2023:6583
vendor-advisory, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2023-4194
vdb-entry, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2229498
issue-tracking, third-party-advisory
- lists.debian.org /debian-lts-announce/2023/10/msg00027.html
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/
- security.netapp.com /advisory/ntap-20231027-0002/
- debian.org /security/2023/dsa-5480
- debian.org /security/2023/dsa-5492
Sources
- CVE List CVE-2023-4194
- NVD CVE-2023-4194
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.