# CVE-2023-1838: A use-after-free flaw was found in vhostnetsetbackend in drivers/vhost/net.c in virtio network subcomponent in the Linux kernel due to a do…

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2023-04-05T00:00:00.000Z
- Modified: 2026-10-08T22:17:22.263Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- Kernel: Linux Kernel prior to kernel 5.18 25
- linux linux_kernel: from 4.13 before 4.14.317; from 4.15 before 4.19.245; from 4.20 before 5.4.196; from 5.5 before 5.10.118; from 5.11 before 5.15.42; from 5.16 before 5.17.10
- netapp h300s: no versions given
- netapp h410c: no versions given
- netapp h410s: no versions given
- netapp h500s: no versions given
- netapp h700s: no versions given

## References

- <https://lore.kernel.org/netdev/20220516084213.26854-1-jasowang%40redhat.com/T/> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230517-0003/> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2023-1838](https://www.cve.org/CVERecord?id=CVE-2023-1838), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2023-1838](https://nvd.nist.gov/vuln/detail/CVE-2023-1838), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2023-1838 · Whole record: https://cve.day/CVE-2023-1838.json · Rebuilt by cve.day 2026-11-25T22:58:23.145Z
