🔍 CVE-2021-47427

9.8
CVSS Score
CRITICAL
2024-05-21
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SCSI iSCSI 스택에서 iscsi_task 객체에 대한 Use-After-Free 취약점이 발견되었습니다. abort 핸들러 처리 과정에서 참조 카운트 관리가 잘못되어 이미 해제된 메모리 영역에 접근할 수 있는 결함이 존재합니다.

💡 쉬운 설명

컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix iscsi_task use after free Commit d39df158518c ("scsi: iscsi: Have abort handler get ref to conn") added iscsi_get_conn()/iscsi_put_conn() calls during abort handling but then also changed the handling of the case where we detect an already completed task where we now end up doing a goto to the common put/cleanup code. This results in a iscsi_task use after free, because the common cleanup code will do a put on the iscsi_task. This reverts the goto and moves the iscsi_get_conn() to after we've checked if the iscsi_task is valid.

📍 영향받는 시스템

iscsi 스택을 사용하는 Linux 커널 버전 (패치 적용 전 버전)

⚔️ 공격 벡터

특수하게 조작된 iSCSI 명령을 전송하여 커널의 메모리 관리 로직을 트리거함

🛡️ 대응 방법

커널 업데이트를 통해 해당 커밋(d39df158518c)이 포함된 최신 보안 패치를 적용하십시오.

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel