CVE-2023-53499
JSON

7.0high

virtio_net: Fix error unwinding of XDP initialization

Severity
7.0high CVSS:3.1 by Linux
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 4.16 before 5.15.113, from 5.16 before 6.1.30, from 6.2 before 6.3.4, 6.4NVD

All scores

Linux7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53499 changed 2026-10-15CVE Terms of Use
NVDCVE-2023-53499 changed 2026-10-15Public domain