🇰🇷 한글 설명
Linux 커널의 mlx5e 드라이버에서 IPsec SA 획득 시 eswitch 모드 블록 언더플로우 취약점이 발견되었습니다. acquire-flow 임시 SA를 처리하는 과정에서 하드웨어 오프로드 설정 없이 성공 라벨로 점프하여, 증가하지 않은 상태에서 unblock 함수가 호출되어 카운트가 감소하는 문제가 발생합니다.
💡 쉬운 설명
네트워크 보안 설정을 처리하는 과정에서 숫자를 계산하는 방식에 오류가 있어 시스템 설정값이 꼬일 수 있는 문제입니다. 이로 인해 네트워크 하드웨어의 특정 기능이 제대로 작동하지 않거나 오작동할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA
mlx5e_xfrm_add_state() handles acquire-flow temporary SAs by allocating
software state and skipping hardware offload setup.
That path jumps to the common success label before taking the eswitch mode
block. After tunnel-mode validation was moved earlier, the common success
label unconditionally calls mlx5_eswitch_unblock_mode(). For acquire SAs,
this decrements esw->offloads.num_block_mode without a matching increment.
Return directly after installing the acquire SA offload handle, so only the
paths that successfully called mlx5_eswitch_block_mode() call the matching
unblock.
📍 영향받는 시스템
Linux kernel (mlx5e driver 사용 시스템)
⚔️ 공격 벡터
특정 IPsec 트래픽 패턴을 유도하여 커널 내 eswitch 모드 카운트를 조작하는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.