cve.bz

CVE-2023-1838 Use After Free

7.1 highEPSS 0.3%

High (7.1). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1838 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1838?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1838?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1838 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-1838

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-1838](https://cve.bz/cve/badge/CVE-2023-1838.svg)](https://cve.bz/cve/CVE-2023-1838)

HTML:

<a href="https://cve.bz/cve/CVE-2023-1838"><img src="https://cve.bz/cve/badge/CVE-2023-1838.svg" alt="CVE-2023-1838"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.13 before 4.14.317
linux:linux_kernelfrom 4.15 before 4.19.245
linux:linux_kernelfrom 4.20 before 5.4.196
linux:linux_kernelfrom 5.5 before 5.10.118
linux:linux_kernelfrom 5.11 before 5.15.42
linux:linux_kernelfrom 5.16 before 5.17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.17.11-1DEBIAN-CVE-2023-1838
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1085.92~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1091.96~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1089.97~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-126.142~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1033.37~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1083.91~18.04.1UBUNTU-CVE-2023-1838
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1070.80~18.04.1UBUNTU-CVE-2023-1838
Ubuntu20.04:LTSlinux5.4.0-126.142UBUNTU-CVE-2023-1838
Ubuntu20.04:LTSlinux-aws5.4.0-1085.92UBUNTU-CVE-2023-1838
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1019.23~20.04.1UBUNTU-CVE-2023-1838
56 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-513.18.1.el8_9RHSA-2024:0897
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-513.18.1.rt7.320.el8_9RHSA-2024:0881
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-513.18.1.rt7.320.el8_9RHSA-2024:0881
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
4 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-default-base5.3.18-150200.24.151.1.150200.9.73.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.151.1SUSE-SU-2023:2146-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSSkernel-64kb, kernel-docs, kernel-source and 3 more5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morekernel-default-base5.3.18-150300.59.121.2.150300.18.70.2SUSE-SU-2023:2148-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 3 morekernel-syms5.3.18-150300.59.121.1SUSE-SU-2023:2148-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.151.1SUSE-SU-2023:2146-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.121.2SUSE-SU-2023:2148-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 3 morekernel-default5.14.21-150400.24.60.1SUSE-SU-2023:1897-1
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Module for Legacy 15 SP5 and 1 morekernel-default5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_361-150200.5.3.1SUSE-SU-2023:2146-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_321-150300.7.3.2SUSE-SU-2023:2148-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4-RT_Update_61-150400.1.3.3SUSE-SU-2023:1992-1
20 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.121.1SUSE-SU-2023:2148-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.60.1SUSE-SU-2023:1897-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.46.1SUSE-SU-2023:1895-1
openSUSELeap 15.4kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150400.15.23.1SUSE-SU-2023:1992-1
openSUSELeap 15.4, Leap Micro 5.3kernel-default-base5.14.21-150400.24.60.1.150400.24.24.3SUSE-SU-2023:1897-1
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.7.1SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.3.1SUSE-SU-2023:2646-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.7.1.150500.6.2.5SUSE-SU-2023:2871-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.5.1SUSE-SU-2023:2809-1
openSUSELeap Micro 5.3kernel-default5.14.21-150400.24.60.1SUSE-SU-2023:1897-1
openSUSELeap Micro 5.3kernel-rt5.14.21-150400.15.23.1SUSE-SU-2023:1992-1
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-513.18.1.el8_9ALSA-2024:0897
Azure Linux2kernel5.15.107.1-2AZL-26032

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

This flaw can be mitigated by preventing the affected Host kernel accelerator (vhost-net) kernel module from loading during the boot time, ensure the module is added to the blacklist file.

~~~

Refer:

How do I blacklist a kernel module to prevent it from loading automatically?

https://access.redhat.com/solutions/41278

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-513.18.1.rt7.320.el8_9Fixed 2024-02-20RHSA-2024:0881
Red Hat Enterprise Linux 8kernel-0:4.18.0-513.18.1.el8_9Fixed 2024-02-20RHSA-2024:0897
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 8.8 Extended Update Supportkernel-0:4.18.0-477.43.1.el8_8Fixed 2024-01-30RHSA-2024:0575
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1838.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON