Lucene search

K
cveLinuxCVE-2022-48730
HistoryJun 20, 2024 - 12:15 p.m.

CVE-2022-48730

2024-06-2012:15:11
Linux
web.nvd.nist.gov
29
linux kernel
spectre v1
fix

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

15.6%

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

dma-buf: heaps: Fix potential spectre v1 gadget

It appears like nr could be a Spectre v1 gadget as it’s supplied by a
user and used as an array index. Prevent the contents
of kernel memory from being leaked to userspace via speculative
execution by using array_index_nospec.

[sumits: added fixes and cc: stable tags]

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.65.10.99
OR
linuxlinux_kernelRange5.11.05.15.22
OR
linuxlinux_kernelRange5.16.05.16.8
OR
linuxlinux_kernelRange5.17.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/dma-buf/dma-heap.c"
    ],
    "versions": [
      {
        "version": "c02a81fba74f",
        "lessThan": "5d40f1bdad3d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c02a81fba74f",
        "lessThan": "24f8e12d965b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c02a81fba74f",
        "lessThan": "cc8f7940d9c2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "c02a81fba74f",
        "lessThan": "92c4cfaee687",
        "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/dma-buf/dma-heap.c"
    ],
    "versions": [
      {
        "version": "5.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.6",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.99",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.22",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.16.8",
        "lessThanOrEqual": "5.16.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.17",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

15.6%