Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42277
HistoryAug 17, 2024 - 9:08 a.m.

CVE-2024-42277 iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en

2024-08-1709:08:45
Linux
www.cve.org
5
linux kernel
vulnerability
resolved
iommu
sprd
null deref
sprd_iommu_hw_en
linux verification center
svace

EPSS

0

Percentile

5.1%

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

iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en

In sprd_iommu_cleanup() before calling function sprd_iommu_hw_en()
dom->sdev is equal to NULL, which leads to null dereference.

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

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/iommu/sprd-iommu.c"
    ],
    "versions": [
      {
        "version": "92c089a931fd",
        "lessThan": "8c79ceb4ecf8",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8745f3592ee4",
        "lessThan": "dfe90030a0cf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9afea57384d4",
        "lessThan": "b62841e49a2b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9afea57384d4",
        "lessThan": "d5fe884ce28c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "9afea57384d4",
        "lessThan": "630482ee0653",
        "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/iommu/sprd-iommu.c"
    ],
    "versions": [
      {
        "version": "6.4",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.4",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.103",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.44",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.3",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

5.1%