🔍 CVE-2024-50087

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

🇰🇷 한글 설명

Linux 커널의 btrfs 파일 시스템에서 read_alloc_one_name() 함수가 메모리 할당 실패 시 fscrypt_str 구조체의 name 필드를 초기화하지 않는 취약점이 발견되었습니다. 이로 인해 초기화되지 않은 포인터를 해제(free)하려는 시도가 발생하여 시스템 불안정성이나 보안 문제가 생길 수 있습니다.

💡 쉬운 설명

컴퓨터가 메모리를 빌려오려다 실패했을 때, 비어있는 공간을 제대로 정리하지 않고 사용하려다 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free on read_alloc_one_name() error The function read_alloc_one_name() does not initialize the name field of the passed fscrypt_str struct if kmalloc fails to allocate the corresponding buffer. Thus, it is not guaranteed that fscrypt_str.name is initialized when freeing it. This is a follow-up to the linked patch that fixes the remaining instances of the bug introduced by commit e43eec81c516 ("btrfs: use struct qstr instead of name and namelen pairs").

📍 영향받는 시스템

btrfs 파일 시스템을 사용하는 Linux 커널 버전 (특정 커밋 e43eec81c516 이후 버전)

⚔️ 공격 벡터

메모리 할당 실패를 유도하여 초기화되지 않은 포인터를 참조하게 만드는 로컬 공격

🛡️ 대응 방법

최신 보안 패치가 적용된 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