# CVE-2022-48864: vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-07-16T12:25:27.144Z
- Modified: 2026-08-05T08:52:40.854Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command

When control vq receives a VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command
request from the driver, presently there is no validation against the
number of queue pairs to configure, or even if multiqueue had been
negotiated or not is unverified. This may lead to kernel panic due to
uninitialized resource for the queues were there any bogus request
sent down by untrusted driver. Tie up the loose ends there.

(As written by CVE List.)

## Affected

- Linux Linux: from 52893733f2c5886fc74be6c386d12b59a3f581df before e7e118416465f2ba8b55007e5b789823e101421e; from 52893733f2c5886fc74be6c386d12b59a3f581df before 9f6effca75626c7a7c7620dabcb1a254ca530230; from 52893733f2c5886fc74be6c386d12b59a3f581df before ed0f849fc3a63ed2ddf5e72cdb1de3bdbbb0f8eb; 5.15 (not affected: before 5.15; from 5.15.29 up to 5.15.*; from 5.16.15 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.15 before 5.15.29; from 5.16 before 5.16.15

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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/e7e118416465f2ba8b55007e5b789823e101421e> (patch)
- <https://git.kernel.org/stable/c/9f6effca75626c7a7c7620dabcb1a254ca530230> (patch)
- <https://git.kernel.org/stable/c/ed0f849fc3a63ed2ddf5e72cdb1de3bdbbb0f8eb> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-48864 · Whole record: https://cve.day/CVE-2022-48864.json · Rebuilt by cve.day 2026-11-25T22:58:19.924Z
