🇰🇷 한글 설명
Linux 커널의 hisi_acc_vfio_pci 드라이버에서 장치 마이그레이션 시 데이터 포인터를 올바르게 업데이트하지 못하는 취약점이 발견되었습니다. 이로 인해 PRE_COPY 지원 과정에서 마이그레이션 데이터가 손상될 수 있으며, 장치 재시작 시 SMMU 오류 및 타임아웃이 발생할 수 있습니다.
💡 쉬운 설명
가상 머신을 다른 서버로 옮길 때 장치 정보를 저장하고 불러오는 과정에서 데이터가 꼬이는 문제입니다. 이로 인해 장치가 제대로 작동하지 않거나 시스템 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hisi_acc_vfio_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] 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
📍 영향받는 시스템
hisi_acc_vfio_pci 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 마이그레이션 프로세스를 조작하여 데이터 손상 및 시스템 불안정 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 확인