Skip to content
Heist/ feed
High

iommufd: Do not add the same hwpt to the ioas->hwpt_list twice

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: iommufd: Do not add the same hwpt to the ioas->hwpt_list twice The hwpt is added to the hwpt_list only during its creation, it is never added again. This hunk is some missed leftover from rework. Adding it twice will corrupt the linked list in some cases. It effects HWPT specific attachment, which is something the test suite cannot cover until we can create a legitimate struct device with a non-system iommu "driver" (ie we need the bus removed from the iommu code)

Announced Group revision 1
Original source ↗

CVE-2023-54043

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2023-54043

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "e8d57210035b6377d424ba964961892d01127cf6",
        "lessThan": "c44adefdcf472f946f0632f4e0ddcbf3e00b8516",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "e8d57210035b6377d424ba964961892d01127cf6",
        "lessThan": "b4ff830eca097df51af10a9be29e8cc817327919",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/iommu/iommufd/device.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.2.3",
        "versionType": "semver",
        "lessThanOrEqual": "6.2.*"
      },
      {
        "status": "unaffected",
        "version": "6.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/iommu/iommufd/device.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2023-54043

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30337 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement