In the Linux kernel, the following vulnerability has been resolved:
hisiaccvfio_pci: Update migration data pointer correctly on saving/resume
When the optional PRE_COPY support was added to speed up the device compatibility check, it failed to update the saving/resuming data pointers based on the fd offset. This results in migration data corruption and when the device gets started on the destination the following error is reported in some cases,
[ 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] hisizip 0000:31:00.0: qmaxirresp [error status=0x1] found [ 478.955930] hisizip 0000:31:00.0: qmdbtimeout [error status=0x400] found [ 478.955944] hisi_zip 0000:31:00.0: qm sq doorbell timeout in function 2
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52453.json",
"cna_assigner": "Linux"
}[
{
"deprecated": false,
"id": "CVE-2023-52453-0058d201",
"digest": {
"function_hash": "254315045288130778602815299542165967235",
"length": 658.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_save_read",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be12ad45e15b5ee0e2526a50266ba1d295d26a88",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-2b4b151d",
"digest": {
"function_hash": "120431791364578788357950648873389677113",
"length": 756.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_resume_write",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45f80b2f230df10600e6fa1b83b28bf1c334185e",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-4fa51494",
"digest": {
"function_hash": "254315045288130778602815299542165967235",
"length": 658.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_save_read",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6bda81e24a35a856f58e6a5786de579b07371603",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-5521e769",
"digest": {
"function_hash": "254315045288130778602815299542165967235",
"length": 658.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_save_read",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45f80b2f230df10600e6fa1b83b28bf1c334185e",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-771bc759",
"digest": {
"function_hash": "120431791364578788357950648873389677113",
"length": 756.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_resume_write",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be12ad45e15b5ee0e2526a50266ba1d295d26a88",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-946c17b5",
"digest": {
"line_hashes": [
"74247700064494045600094889711439563800",
"333861539706375762293344897396710072142",
"57697649184908168181315581273159785486",
"67289514202278999165638286196609706780",
"319432072050172162250708989393499589920",
"89135790991187968255017639117386576611",
"53610902608233088648258989357795503100",
"291288560818483611025989830324235033007",
"34597283627082523877467688991830009498",
"135079734566145547395593859480195153442",
"116433890473815531841444451081613300084",
"237798081886490042430401796431799630556"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@45f80b2f230df10600e6fa1b83b28bf1c334185e",
"signature_type": "Line"
},
{
"deprecated": false,
"id": "CVE-2023-52453-b25911d2",
"digest": {
"line_hashes": [
"74247700064494045600094889711439563800",
"333861539706375762293344897396710072142",
"57697649184908168181315581273159785486",
"67289514202278999165638286196609706780",
"319432072050172162250708989393499589920",
"89135790991187968255017639117386576611",
"53610902608233088648258989357795503100",
"291288560818483611025989830324235033007",
"34597283627082523877467688991830009498",
"135079734566145547395593859480195153442",
"116433890473815531841444451081613300084",
"237798081886490042430401796431799630556"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6bda81e24a35a856f58e6a5786de579b07371603",
"signature_type": "Line"
},
{
"deprecated": false,
"id": "CVE-2023-52453-c2a7e250",
"digest": {
"function_hash": "120431791364578788357950648873389677113",
"length": 756.0
},
"signature_version": "v1",
"target": {
"function": "hisi_acc_vf_resume_write",
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6bda81e24a35a856f58e6a5786de579b07371603",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2023-52453-d7e8c0db",
"digest": {
"line_hashes": [
"74247700064494045600094889711439563800",
"333861539706375762293344897396710072142",
"57697649184908168181315581273159785486",
"67289514202278999165638286196609706780",
"319432072050172162250708989393499589920",
"89135790991187968255017639117386576611",
"53610902608233088648258989357795503100",
"291288560818483611025989830324235033007",
"34597283627082523877467688991830009498",
"135079734566145547395593859480195153442",
"116433890473815531841444451081613300084",
"237798081886490042430401796431799630556"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be12ad45e15b5ee0e2526a50266ba1d295d26a88",
"signature_type": "Line"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52453.json"