CVE-2022-48864

vdpa/mlx5: add validation for VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command

State
Published
Severity
8.8 High
Published
Jul 16, 2024
Updated
Aug 5, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 52893733f2c5886fc74be6c386d12b59a3f581df to before e7e118416465f2ba8b55007e5b789823e101421eAffected
  • 52893733f2c5886fc74be6c386d12b59a3f581df to before 9f6effca75626c7a7c7620dabcb1a254ca530230Affected
  • 52893733f2c5886fc74be6c386d12b59a3f581df to before ed0f849fc3a63ed2ddf5e72cdb1de3bdbbb0f8ebAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.29 through 5.15.*Not affected
  • 5.16.15 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.