---
id: CVE-2023-53499
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  virtio_net: Fix error unwinding of XDP initialization

  When initializing XDP in virtnet_open(), some rq xdp initialization
  may hit an error causing net device open fail…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  virtio_net: Fix error unwinding of XDP initialization

  When initializing XDP in virtnet_open(), some rq xdp initialization
  may hit an error causing net device open fail…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.16, < 5.15.113'
  - 'linux_kernel >= 5.16, < 6.1.30'
  - 'linux_kernel >= 6.2, < 6.3.4'
  - linux_kernel = 6.4
patched:
  - linux_kernel 6.3.4
published: '2025-10-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:17:41.020'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-53499'
references:
  - url: 'https://git.kernel.org/stable/c/037768b28e3752c07d63d1c72a651a6775b080bb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5306623a9826aa7d63b32c6a3803c798a765474d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6a7690f2bd178eee80f33411ae32e543ae66379c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/73f53bc295727a3cdbd9d6bcdfaa239258970cf4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.0016
epssPercentile: 0.05107
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:34:58.350373Z'
ingestedAt: '2026-10-15T22:48:25.407Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

virtio_net: Fix error unwinding of XDP initialization

When initializing XDP in virtnet_open(), some rq xdp initialization
may hit an error causing net device open failed. However, previous
rqs have already initialized XDP and enabled NAPI, which is not the
expected behavior. Need to roll back the previous rq initialization
to avoid leaks in error unwinding of init code.

Also extract helper functions of disable and enable queue pairs.
Use newly introduced disable helper function in error unwinding and
virtnet_close. Use enable helper function in virtnet_open.

## Affected

- `linux_kernel >= 4.16, < 5.15.113`
- `linux_kernel >= 5.16, < 6.1.30`
- `linux_kernel >= 6.2, < 6.3.4`
- `linux_kernel = 6.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.3.4`
