# CVE-2023-53499: virtio_net: Fix error unwinding of XDP initialization

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-01T11:45:50.367Z
- Modified: 2026-10-15T22:17:41.020Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 754b8a21a96d5f11712245aef907149606b323ae before 6a7690f2bd178eee80f33411ae32e543ae66379c; from 754b8a21a96d5f11712245aef907149606b323ae before 73f53bc295727a3cdbd9d6bcdfaa239258970cf4; from 754b8a21a96d5f11712245aef907149606b323ae before 037768b28e3752c07d63d1c72a651a6775b080bb; from 754b8a21a96d5f11712245aef907149606b323ae before 5306623a9826aa7d63b32c6a3803c798a765474d; 4.16 (not affected: before 4.16; from 5.15.113 up to 5.15.*; from 6.1.30 up to 6.1.*; from 6.3.4 up to 6.3.*; from 6.4 up to *)
- linux linux_kernel: from 4.16 before 5.15.113; from 5.16 before 6.1.30; from 6.2 before 6.3.4; 6.4

## Every score

- Linux: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/6a7690f2bd178eee80f33411ae32e543ae66379c> (patch)
- <https://git.kernel.org/stable/c/73f53bc295727a3cdbd9d6bcdfaa239258970cf4> (patch)
- <https://git.kernel.org/stable/c/037768b28e3752c07d63d1c72a651a6775b080bb> (patch)
- <https://git.kernel.org/stable/c/5306623a9826aa7d63b32c6a3803c798a765474d> (patch)

## Sources

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

---

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