🔍 CVE-2021-47132

7.5
CVSS Score
HIGH
2024-03-15
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 MPTCP 구현에서 재전송 시 sk_forward_memory 필드를 처리할 때 적절한 스핀락(spin_lock)을 사용하지 않아 메모리 오염이 발생할 수 있는 취약점입니다. 이 문제는 특정 코드 경로에서 잠금 메커니즘 없이 필드를 업데이트함으로써 발생하며, 이를 해결하기 위해 msk 스핀락을 명시적으로 사용하는 방식으로 수정되었습니다.

💡 쉬운 설명

리눅스 운영체제의 네트워크 통신 기능 중 하나에서 데이터 처리 순서가 꼬여 메모리가 망가질 수 있는 결함이 발견되었습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: mptcp: fix sk_forward_memory corruption on retransmission MPTCP sk_forward_memory handling is a bit special, as such field is protected by the msk socket spin_lock, instead of the plain socket lock. Currently we have a code path updating such field without handling the relevant lock: __mptcp_retrans() -> __mptcp_clean_una_wakeup() Several helpers in __mptcp_clean_una_wakeup() will update sk_forward_alloc, possibly causing such field corruption, as reported by Matthieu. Address the issue providing and using a new variant of blamed function which explicitly acquires the msk spin lock.

📍 영향받는 시스템

MPTCP 기능이 활성화된 Linux 커널 버전

⚔️ 공격 벡터

네트워크 재전송 과정을 유도하여 메모리 오염을 일으키는 방식

🛡️ 대응 방법

MPTCP 관련 스핀락 수정 사항이 반영된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel