Lucene search

K
cveLinuxCVE-2021-46965
HistoryFeb 27, 2024 - 7:04 p.m.

CVE-2021-46965

2024-02-2719:04:07
Linux
web.nvd.nist.gov
4790
linux
kernel
mtd
physmap
vulnerability
fix
cve-2021-46965
nvd
security

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

15.5%

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

mtd: physmap: physmap-bt1-rom: Fix unintentional stack access

Cast &data to (char *) in order to avoid unintentionally accessing
the stack.

Notice that data is of type u32, so any increment to &data
will be in the order of 4-byte chunks, and this piece of code
is actually intended to be a byte offset.

Addresses-Coverity-ID: 1497765 (“Out-of-bounds access”)

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.105.10.36
OR
linuxlinux_kernelRange5.11.05.11.20
OR
linuxlinux_kernelRange5.12.05.12.3
OR
linuxlinux_kernelRange5.13.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/mtd/maps/physmap-bt1-rom.c"
    ],
    "versions": [
      {
        "version": "b3e79e7682e0",
        "lessThan": "34ec706bf0b7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b3e79e7682e0",
        "lessThan": "4e4ebb827bf0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b3e79e7682e0",
        "lessThan": "4d786870e326",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b3e79e7682e0",
        "lessThan": "683313993dbe",
        "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/mtd/maps/physmap-bt1-rom.c"
    ],
    "versions": [
      {
        "version": "5.10",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.10",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.36",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.20",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.3",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

15.5%