🇰🇷 한글 설명
Linux 커널의 xsk 구성 요소에서 런타임 메타데이터 크기 검증 오류가 발견되었습니다. 메타데이터 영역이 구조체의 전체 필드를 포함하지 않을 경우 이를 거부하고, 사용자 공간에서 플래그를 동시에 변경하더라도 일관된 결정을 내릴 수 있도록 스냅샷 기능을 도입하여 보안을 강화했습니다.
💡 쉬운 설명
데이터를 주고받을 때 사용하는 메모리 공간의 크기를 제대로 확인하지 않아 발생하는 보안 문제입니다. 공격자가 이 허점을 이용해 시스템의 데이터 처리를 방해하거나 비정상적인 동작을 유도할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xsk: validate launch-time metadata size
Launch-time metadata extends beyond the first 16 bytes of struct
xsk_tx_metadata. Reject the request when the registered metadata area does
not contain the complete field.
Snapshot the validated flags for the generic transmit path and use that
snapshot for request and completion processing, avoiding inconsistent
decisions if user space changes the flags concurrently.
Note that only xsk_skb_metadata is properly using the flags,
__xsk_buff_get_metadata ignores them. Next commits address that.
📍 영향받는 시스템
Linux kernel (xsk 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 메타데이터 크기를 가진 패킷 또는 요청을 전송하여 커널 메모리 처리 로직을 교란
🛡️ 대응 방법
xsk 메타데이터 검증 및 플래그 스냅샷 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인