🇰🇷 한글 설명
Linux 커널의 arm64 아키텍처에서 MTE(Memory Tagging Extension) 관련 경고가 발생하는 취약점입니다. 페이지 마이그레이션 실패 후 재시도 과정에서 이미 태그가 지정된 페이지를 다시 복사할 때 불필요한 경고가 발생하던 문제를 해결했습니다.
💡 쉬운 설명
컴퓨터 메모리를 옮기는 과정에서 실수로 경고 메시지가 뜨는 버그가 있었습니다. 실제 보안 위협이라기보다는 시스템 운영 중 불필요한 경고가 발생하는 현상을 수정한 것입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
arm64: mte: Do not warn if the page is already tagged in copy_highpage()
The arm64 copy_highpage() assumes that the destination page is newly
allocated and not MTE-tagged (PG_mte_tagged unset) and warns
accordingly. However, following commit 060913999d7a ("mm: migrate:
support poisoned recover from migrate folio"), folio_mc_copy() is called
before __folio_migrate_mapping(). If the latter fails (-EAGAIN), the
copy will be done again to the same destination page. Since
copy_highpage() already set the PG_mte_tagged flag, this second copy
will warn.
Replace the WARN_ON_ONCE(page already tagged) in the arm64
copy_highpage() with a comment.
📍 영향받는 시스템
MTE를 지원하는 arm64 아키텍처 기반의 Linux 커널
⚔️ 공격 벡터
직접적인 공격 벡터 없음 (시스템 경고 발생 문제)
🛡️ 대응 방법
해당 수정 사항이 반영된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 최신 버전인지 확인