🔍 CVE-2022-48786

7.8
CVSS Score
HIGH
2024-07-16
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 vsock 구성 요소에서 연결 시도가 신호(signal)에 의해 중단될 경우, 소켓이 연결 테이블에서 적절히 제거되지 않는 취약점입니다. 이로 인해 프로세스가 연결을 재시도할 때 동일한 소켓이 테이블에 중복 추가되어 연결 리스트가 손상될 수 있습니다.

💡 쉬운 설명

네트워크 연결을 시도하다가 갑자기 중단될 때, 시스템 내부 기록에 연결 정보가 잘못 남는 문제입니다. 이 오류가 반복되면 시스템의 연결 관리 목록이 꼬여서 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: vsock: remove vsock from connected table when connect is interrupted by a signal vsock_connect() expects that the socket could already be in the TCP_ESTABLISHED state when the connecting task wakes up with a signal pending. If this happens the socket will be in the connected table, and it is not removed when the socket state is reset. In this situation it's common for the process to retry connect(), and if the connection is successful the socket will be added to the connected table a second time, corrupting the list. Prevent this by calling vsock_remove_connected() if a signal is received while waiting for a connection. This is harmless if the socket is not in the connected table, and if it is in the table then removing it will prevent list corruption from a double add. Note for backporting: this patch requires d5afa82c977e ("vsock: correct removal of socket from the list"), which is in all current stable trees except 4.9.y.

📍 영향받는 시스템

Linux kernel (vsock 모듈 사용 환경, 4.9.y 미만 버전 제외)

⚔️ 공격 벡터

로컬 프로세스에서 vsock 연결 시도 중 의도적으로 신호를 보내 연결 리스트 손상을 유도

🛡️ 대응 방법

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

💻 영향받는 소프트웨어

Linux Kernel