🔍 CVE-2021-47328

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

🇰🇷 한글 설명

리눅스 커널의 SCSI iSCSI 구현에서 리셋 과정 중 연결 객체를 해제한 후 다시 참조하는 Use-After-Free 취약점이 발견되었습니다. 이 문제는 iSCSI 연결 해제 시 EH 스레드가 여전히 연결 객체에 접근하고 있는 상태에서 객체가 메모리에서 해제되어 발생합니다.

💡 쉬운 설명

컴퓨터가 데이터를 주고받는 통로를 정리하는 과정에서, 이미 없어진 통로를 다시 사용하려고 시도하여 시스템이 충돌하거나 오류가 발생하는 문제입니다. 이로 인해 시스템이 멈추거나 보안상 위험이 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix conn use after free during resets If we haven't done a unbind target call we can race where iscsi_conn_teardown wakes up the EH thread and then frees the conn while those threads are still accessing the conn ehwait. We can only do one TMF per session so this just moves the TMF fields from the conn to the session. We can then rely on the iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session call to remove the target and it's devices, and know after that point there is no device or scsi-ml callout trying to access the session.

📍 영향받는 시스템

iSCSI 기능을 사용하는 취약한 버전의 Linux Kernel

⚔️ 공격 벡터

특수하게 조작된 iSCSI 리셋 요청을 통해 커널 메모리 오류 유도

🛡️ 대응 방법

iSCSI 연결 관리 로직이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 보안 권고안과 비교합니다.

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