{"id":"CVE-2023-52453","state":"PUBLISHED","title":"hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume","description":"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","publishedAt":"2024-02-23T14:46:17.082Z","updatedAt":"2026-08-05T09:10:03.119Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"45f80b2f230df10600e6fa1b83b28bf1c334185e","versionType":"git"},{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"6bda81e24a35a856f58e6a5786de579b07371603","versionType":"git"},{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"be12ad45e15b5ee0e2526a50266ba1d295d26a88","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.14","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.2","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"]}],"references":["https://git.kernel.org/stable/c/45f80b2f230df10600e6fa1b83b28bf1c334185e","https://git.kernel.org/stable/c/6bda81e24a35a856f58e6a5786de579b07371603","https://git.kernel.org/stable/c/be12ad45e15b5ee0e2526a50266ba1d295d26a88"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52453.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52453","state":"PUBLISHED","datePublished":"2024-02-23T14:46:17.082Z","dateUpdated":"2026-08-05T09:10:03.119Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-20T12:30:33.293Z"},"containers":{"cna":{"title":"hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume","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"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"45f80b2f230df10600e6fa1b83b28bf1c334185e","versionType":"git"},{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"6bda81e24a35a856f58e6a5786de579b07371603","versionType":"git"},{"version":"d9a871e4a143047d1d84a606772af319f11516f9","status":"affected","lessThan":"be12ad45e15b5ee0e2526a50266ba1d295d26a88","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.14","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.2","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"]}],"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"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable save/resume paths are reached only via local VFIO migration file descriptors obtained through VFIO_DEVICE_FEATURE migration ioctls on a bound HiSilicon ACC VF; there is no network or adjacent-protocol reachability.\nAC:L - An attacker who can drive live migration reliably triggers the bug by performing normal multi-chunk read/write of the migration FD (as QEMU does); success does not depend on races or other conditions outside attacker control.\nPR:L - Exploitation requires access to the VFIO device/migration FD (typically a qemu/kvm-group process with an assigned ACC VF), which is low privilege relative to full root and does not require init-namespace CAP_SYS_ADMIN once the device is assigned.\nUI:N - No separate victim action is required; the attacker (or their VMM process) initiates migration state transitions and I/O on the migration FD themselves.\nS:U - The flaw is in the host VFIO migration driver and impacts the same host security authority (device/IOMMU faults and PF error reporting); it is not a guest-to-host escape or IOMMU bypass.\nC:N - Both the buggy read and write stay within the bounded acc_vf_data object and only mishandle the intended migration payload; there is no out-of-bounds or unauthorized kernel memory disclosure.\nI:H - Corrupted migration contents are loaded into hardware via vf_qm_load_data (registers and DMA addresses such as eqe/aeqe/sqc/cqc), so device configuration integrity is fully compromised and shared PF state can be affected.\nA:H - Loading the corrupted state causes SMMU translation faults, QM AXI response errors, and doorbell timeouts that render the accelerator VF (and potentially PF services) unavailable."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T09:10:03.119Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.7.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-10-01T19:12:05.859768Z","id":"CVE-2023-52453","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:12:14.044Z"}},{"title":"CVE Program Container","references":[{"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","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:03:19.607Z"}}]}}}