Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48864
HistoryJul 16, 2024 - 12:25 p.m.

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

2024-07-1612:25:27
Linux
www.cve.org
6
cve-2022-48864
vdpa/mlx5
virtio_net_ctrl_mq_vq_pairs_set
validation
vulnerability
linux kernel
kernel panic
driver
multiqueue

EPSS

0

Percentile

5.1%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/vdpa/mlx5/net/mlx5_vnet.c"
    ],
    "versions": [
      {
        "version": "52893733f2c5",
        "lessThan": "e7e118416465",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "52893733f2c5",
        "lessThan": "9f6effca7562",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "52893733f2c5",
        "lessThan": "ed0f849fc3a6",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/vdpa/mlx5/net/mlx5_vnet.c"
    ],
    "versions": [
      {
        "version": "5.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.29",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.15",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]