🔍 CVE-2026-98229

7.8
CVSS Score
HIGH
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 xfrm 구성 요소에서 secpath가 초기화되기 전에 입력 상태 데이터를 저장하지 않아 발생하는 취약점입니다. 특정 입력 경로에서 secpath를 초기화할 때 xfrm_input() 함수가 이미 해제된 상태를 참조하게 되어 Use-After-Free 오류가 발생할 수 있습니다.

💡 쉬운 설명

네트워크 데이터를 처리하는 과정에서 이미 삭제된 메모리 정보를 다시 사용하려고 시도할 때 발생하는 보안 결함입니다. 이로 인해 시스템이 충돌하거나 공격자가 시스템 제어권을 획득할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: xfrm: save input state data before secpath resets xfrm_input() stores the current xfrm_state in the skb secpath while it continues receive-side processing. Some input paths can reset that secpath before xfrm_input() has finished dereferencing the state. Receive callback users such as VTI and XFRM interfaces can reset the secpath. The VTI receive path does so before checking whether the packet crosses network namespaces, while the XFRM interface path does so only for cross-network-namespace packets. The XFRM_MAX_DEPTH error path can also reset the secpath before the final drop callback reports the current state's protocol. If secpath_reset() drops the last state reference while the state is concurrently deleted, xfrm_input() can still dereference the freed state when selecting transport_finish() or reporting the drop callback protocol. Save the state protocol on the stack while the state is still valid, and use the already saved address family for transport_finish(). A larval XFRM_STATE_ACQ state has no type, so retain nexthdr as its protocol. This preserves the existing drop-path fallback while avoiding the post-reset state dereferences without adding an extra state reference to every received packet.

📍 영향받는 시스템

Linux Kernel (xfrm 모듈 사용 시스템)

⚔️ 공격 벡터

특수하게 조작된 네트워크 패킷을 전송하여 secpath 초기화와 상태 참조 간의 경쟁 상태(Race Condition) 유도

🛡️ 대응 방법

xfrm 관련 패치가 적용된 최신 Linux 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux