Lucene search

K
cveLinuxCVE-2023-52687
HistoryMay 17, 2024 - 3:15 p.m.

CVE-2023-52687

2024-05-1715:15:19
Linux
web.nvd.nist.gov
39
linux kernel
safexcel
vulnerability
crypto
error handling
dma_map_sg
dma_unmap_sg
linux verification center
static analysis tool
svace
nvd

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%

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

crypto: safexcel - Add error handling for dma_map_sg() calls

Macro dma_map_sg() may return 0 on error. This patch enables
checks in case of the macro failure and ensures unmapping of
previously mapped buffers with dma_unmap_sg().

Found by Linux Verification Center (linuxtesting.org) with static
analysis tool SVACE.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.16.1.75
OR
linuxlinux_kernelRange6.2.06.6.14
OR
linuxlinux_kernelRange6.7.06.7.2
OR
linuxlinux_kernelRange6.8.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/crypto/inside-secure/safexcel_cipher.c"
    ],
    "versions": [
      {
        "version": "49186a7d9e46",
        "lessThan": "4c0ac81a172a",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "49186a7d9e46",
        "lessThan": "8084b788c2fb",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "49186a7d9e46",
        "lessThan": "fc0b785802b8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "49186a7d9e46",
        "lessThan": "87e02063d077",
        "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/crypto/inside-secure/safexcel_cipher.c"
    ],
    "versions": [
      {
        "version": "6.1",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.1",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.75",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.14",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.2",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.5%