🔍 CVE-2024-47703

7.8
CVSS Score
HIGH
2024-10-21
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 BPF LSM에서 file_alloc_security 훅에 연결된 BPF 프로그램이 양수 값을 반환할 경우 커널 패닉이 발생할 수 있는 취약점입니다. 파일 시스템이 이 양수 값을 오류 코드가 아닌 유효한 파일 포인터로 잘못 해석하여 시스템이 충돌하게 됩니다. 이를 방지하기 위해 검증기(verifier) 단계에서 LSM 반환 값을 확인하는 로직이 추가되었습니다.

💡 쉬운 설명

특정 보안 프로그램이 잘못된 숫자 값을 내보내면 컴퓨터의 두뇌 역할을 하는 커널이 이를 실제 데이터로 착각하여 시스템이 갑자기 멈춰버리는 문제입니다. 이로 인해 시스템이 강제로 재부팅되거나 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: bpf, lsm: Add check for BPF LSM return value A bpf prog returning a positive number attached to file_alloc_security hook makes kernel panic. This happens because file system can not filter out the positive number returned by the LSM prog using IS_ERR, and misinterprets this positive number as a file pointer. Given that hook file_alloc_security never returned positive number before the introduction of BPF LSM, and other BPF LSM hooks may encounter similar issues, this patch adds LSM return value check in verifier, to ensure no unexpected value is returned.

📍 영향받는 시스템

BPF LSM 기능이 활성화된 리눅스 커널 버전

⚔️ 공격 벡터

특권 권한을 가진 사용자가 조작된 BPF 프로그램을 로드하여 커널 패닉 유도

🛡️ 대응 방법

해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 보안 패치가 적용된 최신 배포판의 버전인지 확인

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