🇰🇷 한글 설명
Linux 커널의 IPv6 AH(Authentication Header) 출력 과정에서 필드 범위를 초과하는 memcpy 경고가 발생하는 취약점이 해결되었습니다. 이는 IPv6 주소 필드에 확장 헤더를 복사할 때 fortify-string 경고를 유발하며, 주소와 확장 헤더를 분리하여 복사하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 네트워크 데이터를 처리할 때 정해진 칸보다 더 많은 데이터를 쓰려고 시도하여 경고가 발생하는 문제입니다. 실제 데이터가 넘치는 것은 아니지만, 시스템이 이를 오류로 오인할 수 있는 상황을 바로잡았습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net: ipv6: fix field-spanning memcpy warning in AH output
Fix field-spanning memcpy warnings in ah6_output() and
ah6_output_done() where extension headers are copied to/from IPv6
address fields, triggering fortify-string warnings about writes beyond
the 16-byte address fields.
memcpy: detected field-spanning write (size 40) of single field "&top_iph->saddr" at net/ipv6/ah6.c:439 (size 16)
WARNING: CPU: 0 PID: 8838 at net/ipv6/ah6.c:439 ah6_output+0xe7e/0x14e0 net/ipv6/ah6.c:439
The warnings are false positives as the extension headers are
intentionally placed after the IPv6 header in memory. Fix by properly
copying addresses and extension headers separately, and introduce
helper functions to avoid code duplication.
📍 영향받는 시스템
IPv6 AH 기능을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
직접적인 공격보다는 시스템 로그에 경고를 발생시키거나 커널의 보안 검사 기능을 자극할 수 있음
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인