🇰🇷 한글 설명
Linux 커널의 WireGuard 모듈에서 unaligned 64비트 메모리 접근으로 인해 발생하는 취약점입니다. 특히 parisc 플랫폼에서 IPv6 주소를 처리할 때 정렬되지 않은 메모리 위치에서 데이터를 로드하려고 시도하여 커널 경고가 발생합니다.
💡 쉬운 설명
컴퓨터가 데이터를 읽을 때 정해진 규칙(정렬)을 지키지 않아 발생하는 오류입니다. 이로 인해 특정 시스템에서 시스템 경고가 발생하거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
wireguard: allowedips: avoid unaligned 64-bit memory accesses
On the parisc platform, the kernel issues kernel warnings because
swap_endian() tries to load a 128-bit IPv6 address from an unaligned
memory location:
Kernel: unaligned access to 0x55f4688c in wg_allowedips_insert_v6+0x2c/0x80 [wireguard] (iir 0xf3010df)
Kernel: unaligned access to 0x55f46884 in wg_allowedips_insert_v6+0x38/0x80 [wireguard] (iir 0xf2010dc)
Avoid such unaligned memory accesses by instead using the
get_unaligned_be64() helper macro.
[Jason: replace src[8] in original patch with src+8]
📍 영향받는 시스템
WireGuard 모듈을 사용하는 Linux 커널 (특히 parisc 아키텍처 환경)
⚔️ 공격 벡터
직접적인 원격 공격보다는 특정 하드웨어 아키텍처에서 잘못된 메모리 접근을 유도하는 방식
🛡️ 대응 방법
get_unaligned_be64() 헬퍼 매크로가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인합니다.