Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2021-47605
HistoryJun 19, 2024 - 3:15 p.m.

CVE-2021-47605

2024-06-1915:15:55
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
21
linux kernel
memory corruption
vulnerability

6.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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

vduse: fix memory corruption in vduse_dev_ioctl()

The “config.offset” comes from the user. There needs to a check to
prevent it being out of bounds. The “config.offset” and
“dev->config_size” variables are both type u32. So if the offset if
out of bounds then the “dev->config_size - config.offset” subtraction
results in a very high u32 value. The out of bounds offset can result
in memory corruption.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.155.15.11
OR
linuxlinux_kernelRange5.16.0

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/vdpa/vdpa_user/vduse_dev.c"
    ],
    "versions": [
      {
        "version": "c8a6153b6c59",
        "lessThan": "e6c67560b434",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c8a6153b6c59",
        "lessThan": "ff9f9c6e7484",
        "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/vdpa_user/vduse_dev.c"
    ],
    "versions": [
      {
        "version": "5.15",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.15",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.11",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%