CVE-2023-1838 json
A use-after-free flaw was found in vhost_net_set_backend in drivers/vhost/net.c in virtio network subcomponent in the Linux kernel due to a…
published 2023-04-05 3 y ago modified 2026-10-08 31 d ago also EUVD-2023-24040
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
A use-after-free flaw was found in vhost_net_set_backend in drivers/vhost/net.c in virtio network subcomponent in the Linux kernel due to a double fget. This flaw could allow a local attacker to crash the system, and could even lead to a kernel information leak problem.
Patch / fix
- linux linux_kernel 4.14.317, 4.19.245, 5.4.196, 5.10.118, 5.15.42, 5.17.10
- linux Debian 14, Debian 13, Debian 12 5.17.11-1
debian advisories DEBIAN-CVE-2023-1838
- linux Ubuntu 20.04 LTS 5.4.0-126.142
- linux Ubuntu 22.04 LTS 5.15.0-47.51
- linux-aws Ubuntu 20.04 LTS 5.4.0-1085.92
- linux-aws Ubuntu 22.04 LTS 5.15.0-1019.23
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1089.97
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1017.23
- linux-gke Ubuntu 20.04 LTS 5.4.0-1083.89
- linux-gke Ubuntu 22.04 LTS 5.15.0-1015.18
ubuntu advisories UBUNTU-CVE-2023-1838
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
- perf rhev hypervisor 4.4, RHEL 8.6 EUS 4.18.0-372.87.1.el8_6
- 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
red hat advisories RHSA-2024:0412RHSA-2023:6583RHSA-2024:0575RHSA-2024:0881RHSA-2024:0897
- dtb-aarch64 openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-64kb SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-syms SLE Module for Development Tools 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-obs-qa openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-source SLE Module for Development Tools 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-default SLE Workstation Extension 15 SP5, SLE Module for Legacy 15 SP5, SLE Module for Basesystem 15 SP5 +3 more 5.14.21-150500.55.7.1
- kernel-kvmsmall openSUSE Leap 15.5 5.14.21-150500.55.7.1
- kernel-zfcpdump SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.14.21-150500.55.7.1
suse advisories SUSE-SU-2023:2871-1SUSE-SU-2023:2809-1SUSE-SU-2023:2646-1SUSE-SU-2023:2148-1SUSE-SU-2023:2147-1SUSE-SU-2023:2146-1
- kernel AlmaLinux 8 4.18.0-513.18.1.el8_9
- perf AlmaLinux 8 4.18.0-513.18.1.el8_9
- bpftool AlmaLinux 8 4.18.0-513.18.1.el8_9
- kernel-core AlmaLinux 8 4.18.0-513.18.1.el8_9
- kernel-tools AlmaLinux 8 4.18.0-513.18.1.el8_9
- python3-perf AlmaLinux 8 4.18.0-513.18.1.el8_9
- kernel-modules AlmaLinux 8 4.18.0-513.18.1.el8_9
- kernel-zfcpdump AlmaLinux 8 4.18.0-513.18.1.el8_9
almalinux advisories ALSA-2024:0897
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-1838 updated cvss 7.1
kernel: Possible use-after-free since the two fdget() during vhost_net_set_backend()
-
Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internalaffected: workaround, no fix available
-
Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.18.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.18.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.18.1.el8_9fixed: vendor fix RHSA-2024:0897
-
Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.87.1.el8_6fixed: vendor fix RHSA-2024:0412
-
Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-debuginfo-common-x86_64 4.18.0-477.43.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.43.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.43.1.el8_8fixed: vendor fix RHSA-2024:0575
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.18.1.el8_9, kernel 4.18.0-513.18.1.el8_9, bpftool 4.18.0-513.18.1.el8_9, kernel-core 4.18.0-513.18.1.el8_9, kernel-tools 4.18.0-513.18.1.el8_9, python3-perf 4.18.0-513.18.1.el8_9, +15 morefixed: vendor fix RHSA-2024:0897
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.87.1.el8_6, kernel 4.18.0-372.87.1.el8_6, bpftool 4.18.0-372.87.1.el8_6, kernel-core 4.18.0-372.87.1.el8_6, kernel-tools 4.18.0-372.87.1.el8_6, python3-perf 4.18.0-372.87.1.el8_6, +15 morefixed: vendor fix RHSA-2024:0412
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) perf 4.18.0-477.43.1.el8_8, kernel 4.18.0-477.43.1.el8_8, bpftool 4.18.0-477.43.1.el8_8, kernel-core 4.18.0-477.43.1.el8_8, kernel-tools 4.18.0-477.43.1.el8_8, python3-perf 4.18.0-477.43.1.el8_8, +15 morefixed: vendor fix RHSA-2024:0575
-
Red Hat Enterprise Linux for Real Time (v. 8) kernel-rt 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-core 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-modules 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-debug-core 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-debug-modules 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-modules-extra 4.18.0-513.18.1.rt7.320.el8_9, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-kvm 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-core 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-modules 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-debug-kvm 4.18.0-513.18.1.rt7.320.el8_9, kernel-rt-debug-core 4.18.0-513.18.1.rt7.320.el8_9, +4 morefixed: vendor fix RHSA-2024:0881
show 2 moreshow fewer
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6fixed: vendor fix RHSA-2024:0412
-
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 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 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 7.1
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
- 31 d ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected products
- n/a Kernel
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
lore.kernel.org
/netdev/20220516084213.26854-1-jasowang%40redhat.com/T/
third-party-advisory
-
security.netapp.com
/advisory/ntap-20230517-0003/
third-party-advisory, vdb-entry
Sources
- CVE List CVE-2023-1838
- NVD CVE-2023-1838
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.