---
id: CVE-2023-1838
title: >-
  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
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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-416
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.13, < 4.14.317'
  - 'linux_kernel >= 4.15, < 4.19.245'
  - 'linux_kernel >= 4.20, < 5.4.196'
  - 'linux_kernel >= 5.5, < 5.10.118'
  - 'linux_kernel >= 5.11, < 5.15.42'
  - 'linux_kernel >= 5.16, < 5.17.10'
  - h300s
  - h410c
  - h410s
  - h500s
  - h700s
patched:
  - linux_kernel 5.17.10
published: '2023-04-05'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:17:22.263'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-1838'
references:
  - url: >-
      https://lore.kernel.org/netdev/20220516084213.26854-1-jasowang%40redhat.com/T/
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20230517-0003/'
    label: secalert@redhat.com
  - url: >-
      https://lore.kernel.org/netdev/20220516084213.26854-1-jasowang%40redhat.com/T/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20230517-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00251
epssPercentile: 0.15084
ingestedAt: '2026-10-08T23:16:47.349Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 4.13, < 4.14.317`
- `linux_kernel >= 4.15, < 4.19.245`
- `linux_kernel >= 4.20, < 5.4.196`
- `linux_kernel >= 5.5, < 5.10.118`
- `linux_kernel >= 5.11, < 5.15.42`
- `linux_kernel >= 5.16, < 5.17.10`
- `h300s`
- `h410c`
- `h410s`
- `h500s`
- `h700s`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.17.10`
