🇰🇷 한글 설명
Linux 커널의 xsk 구성 요소에서 사용자 공간이 요청 처리 후 메타데이터 플래그를 변경할 경우, 요청되지 않은 타임스탬프가 기록될 수 있는 취약점입니다. mlx5 멀티 패킷 WQE 경로에서 메타데이터 평가 방식의 오류로 인해 특정 세션의 디스크립터들에 원치 않는 타임스탬프가 기록될 수 있습니다.
💡 쉬운 설명
사용자가 요청하지 않은 데이터(시간 정보)가 시스템 내부에서 멋대로 기록될 수 있는 보안 결함입니다. 특정 네트워크 처리 방식에서 설정값이 중간에 바뀌어 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xsk: clear metadata pointer when no timestamp is requested
User space can change metadata flags after request processing. Rereading
them during completion can therefore make the kernel write a timestamp
that was not requested when the packet was submitted.
Clear the metadata pointer during request processing unless timestamp
completion is requested. Completion handling can then use the pointer
itself instead of rereading the flags.
On the mlx5 multi-packet WQE path metadata is evaluated per batch:
xsk_tx_metadata_request() runs only for the descriptor that starts a
session, just like the checksum offload that is applied once through the
shared WQE. Only that descriptor's pointer is reset, so completion
handling can record a timestamp for the other descriptors of the session
regardless of their own XDP_TXMD_FLAGS_TIMESTAMP bit. The write stays
inside the metadata area; the single-WQE, other zero-copy, and generic
paths reset the pointer per descriptor and are unaffected.
📍 영향받는 시스템
Linux kernel (xsk 및 mlx5 드라이버 관련 구성 요소)
⚔️ 공격 벡터
사용자 공간(User space)에서 요청 처리 중 메타데이터 플래그를 조작하여 의도치 않은 커널 동작 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 제조사의 보안 공지를 통해 대조