cve-2023-52453
Vulnerability from cvelistv5
Published
2024-02-23 14:46
Modified
2024-08-02 23:03
Severity
Summary
hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume
Impacted products
VendorProduct
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-52453",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-02-23T18:15:40.771242Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:23:54.060Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T23:03:19.607Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/45f80b2f230df10600e6fa1b83b28bf1c334185e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6bda81e24a35a856f58e6a5786de579b07371603"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/be12ad45e15b5ee0e2526a50266ba1d295d26a88"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "45f80b2f230d",
              "status": "affected",
              "version": "d9a871e4a143",
              "versionType": "git"
            },
            {
              "lessThan": "6bda81e24a35",
              "status": "affected",
              "version": "d9a871e4a143",
              "versionType": "git"
            },
            {
              "lessThan": "be12ad45e15b",
              "status": "affected",
              "version": "d9a871e4a143",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.14",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.2",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume\n\nWhen the optional PRE_COPY support was added to speed up the device\ncompatibility check, it failed to update the saving/resuming data\npointers based on the fd offset. This results in migration data\ncorruption and when the device gets started on the destination the\nfollowing error is reported in some cases,\n\n[  478.907684] arm-smmu-v3 arm-smmu-v3.2.auto: event 0x10 received:\n[  478.913691] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000310200000010\n[  478.919603] arm-smmu-v3 arm-smmu-v3.2.auto:  0x000002088000007f\n[  478.925515] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000000000000000\n[  478.931425] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000000000000000\n[  478.947552] hisi_zip 0000:31:00.0: qm_axi_rresp [error status=0x1] found\n[  478.955930] hisi_zip 0000:31:00.0: qm_db_timeout [error status=0x400] found\n[  478.955944] hisi_zip 0000:31:00.0: qm sq doorbell timeout in function 2"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-29T05:12:08.555Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/45f80b2f230df10600e6fa1b83b28bf1c334185e"
        },
        {
          "url": "https://git.kernel.org/stable/c/6bda81e24a35a856f58e6a5786de579b07371603"
        },
        {
          "url": "https://git.kernel.org/stable/c/be12ad45e15b5ee0e2526a50266ba1d295d26a88"
        }
      ],
      "title": "hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume",
      "x_generator": {
        "engine": "bippy-a5840b7849dd"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-52453",
    "datePublished": "2024-02-23T14:46:17.082Z",
    "dateReserved": "2024-02-20T12:30:33.293Z",
    "dateUpdated": "2024-08-02T23:03:19.607Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-52453\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-02-23T15:15:08.083\",\"lastModified\":\"2024-02-23T16:14:43.447\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nhisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume\\n\\nWhen the optional PRE_COPY support was added to speed up the device\\ncompatibility check, it failed to update the saving/resuming data\\npointers based on the fd offset. This results in migration data\\ncorruption and when the device gets started on the destination the\\nfollowing error is reported in some cases,\\n\\n[  478.907684] arm-smmu-v3 arm-smmu-v3.2.auto: event 0x10 received:\\n[  478.913691] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000310200000010\\n[  478.919603] arm-smmu-v3 arm-smmu-v3.2.auto:  0x000002088000007f\\n[  478.925515] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000000000000000\\n[  478.931425] arm-smmu-v3 arm-smmu-v3.2.auto:  0x0000000000000000\\n[  478.947552] hisi_zip 0000:31:00.0: qm_axi_rresp [error status=0x1] found\\n[  478.955930] hisi_zip 0000:31:00.0: qm_db_timeout [error status=0x400] found\\n[  478.955944] hisi_zip 0000:31:00.0: qm sq doorbell timeout in function 2\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: hisi_acc_vfio_pci: actualiza correctamente el puntero de datos de migraci\u00f3n al guardar/reanudar Cuando se agreg\u00f3 el soporte PRE_COPY opcional para acelerar la verificaci\u00f3n de compatibilidad del dispositivo, no se pudieron actualizar los punteros de datos de guardado/reanudaci\u00f3n seg\u00fan el desplazamiento fd. Esto da como resultado la corrupci\u00f3n de los datos de migraci\u00f3n y cuando el dispositivo se inicia en el destino, en algunos casos se informa el siguiente error,  [ 478.907684] arm-smmu-v3 arm-smmu-v3.2.auto: event 0x10 received: [ 478.913691] arm-smmu-v3 arm-smmu-v3.2.auto: 0x0000310200000010 [ 478.919603] arm-smmu-v3 arm-smmu-v3.2.auto: 0x000002088000007f [ 478.925515] arm-smmu-v3 arm-smmu-v3.2.auto: 0x0000000000000000 [ 478.931425] arm-smmu-v3 arm-smmu-v3.2.auto: 0x0000000000000000 [ 478.947552] hisi_zip 0000:31:00.0: qm_axi_rresp [error status=0x1] found [ 478.955930] hisi_zip 0000:31:00.0: qm_db_timeout [error status=0x400] found [ 478.955944] hisi_zip 0000:31:00.0: qm sq doorbell timeout in function 2 \"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/45f80b2f230df10600e6fa1b83b28bf1c334185e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6bda81e24a35a856f58e6a5786de579b07371603\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/be12ad45e15b5ee0e2526a50266ba1d295d26a88\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...