CVE-2023-4194
Kernel: tap: tap_open(): correctly initialize socket uid next fix of i_uid to current_fsuid
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Red Hat Enterprise Linux 9 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
≥ 0:5.14.0-362.8.1.el9_3; < * (unaffected, rpm)
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 6 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 7 Red Hat kernel-rt
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unaffected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat kernel
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 8 Red Hat kernel-rt
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Enterprise Linux 9 Red Hat kernel-rt
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: affected |
CNA: redhat |
| Red Hat Virtualization 4 Red Hat redhat-virtualization-host
https://access.redhat.com/downloads/content/package-browser/ |
Range not reported
Other versions: unknown |
CNA: redhat |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (4)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.5:rc1:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.5:rc2:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.5:rc3:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.5:rc4:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
},
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | CNA: redhat |
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD: [email protected] |
| 3.1 / 5.5 medium |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://access.redhat.com/errata/RHSA-2023:6583CNA: redhat · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-4194CNA: redhat · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2229498CNA: redhat · issue-tracking, x_refsource_REDHAT
- https://lore.kernel.org/all/[email protected]/CNA: redhat
- https://lore.kernel.org/all/[email protected]/CNA: redhat
- https://lore.kernel.org/all/[email protected]/CNA: redhat
- https://access.redhat.com/errata/RHSA-2023:6583ADP: CVE · vendor-advisory, x_refsource_REDHAT, x_transferred
- https://access.redhat.com/security/cve/CVE-2023-4194ADP: CVE · vdb-entry, x_refsource_REDHAT, x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2229498ADP: CVE · issue-tracking, x_refsource_REDHAT, x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.htmlADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/ADP: CVE · x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/ADP: CVE · x_transferred
- https://lore.kernel.org/all/[email protected]/ADP: CVE · x_transferred
- https://lore.kernel.org/all/[email protected]/ADP: CVE · x_transferred
- https://lore.kernel.org/all/[email protected]/ADP: CVE · x_transferred
- https://security.netapp.com/advisory/ntap-20231027-0002/ADP: CVE · x_transferred
- https://www.debian.org/security/2023/dsa-5480ADP: CVE · x_transferred
- https://www.debian.org/security/2023/dsa-5492ADP: CVE · x_transferred
- https://access.redhat.com/errata/RHSA-2023:6583[email protected] · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-4194[email protected] · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2229498[email protected] · Issue Tracking, Third Party Advisory
- https://lore.kernel.org/all/[email protected]/[email protected] · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/[email protected]/[email protected] · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/[email protected]/[email protected] · Mailing List, Patch, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:6583af854a3a-2127-422b-91ae-364da2661108 · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-4194af854a3a-2127-422b-91ae-364da2661108 · Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2229498af854a3a-2127-422b-91ae-364da2661108 · Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00027.htmlaf854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/344H6HO6SSC4KT7PDFXSDIXKMKHISSGF/af854a3a-2127-422b-91ae-364da2661108
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3TYLSJ2SAI7RF56ZLQ5CQWCJLVJSD73Q/af854a3a-2127-422b-91ae-364da2661108
- https://lore.kernel.org/all/[email protected]/af854a3a-2127-422b-91ae-364da2661108 · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/[email protected]/af854a3a-2127-422b-91ae-364da2661108 · Mailing List, Patch, Vendor Advisory
- https://lore.kernel.org/all/[email protected]/af854a3a-2127-422b-91ae-364da2661108 · Mailing List, Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20231027-0002/af854a3a-2127-422b-91ae-364da2661108
- https://www.debian.org/security/2023/dsa-5480af854a3a-2127-422b-91ae-364da2661108
- https://www.debian.org/security/2023/dsa-5492af854a3a-2127-422b-91ae-364da2661108
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.