🔍 CVE-2026-46129

7.8
CVSS Score
HIGH
2026-05-28
2026-06-24 18:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 btrfs 파일 시스템에서 create_space_info() 함수 호출 중 오류가 발생할 경우 메모리가 중복 해제되는 취약점입니다. kobject_init_and_add() 실패 시 kobject_put()에 의해 이미 메모리가 해제되었음에도 불구하고, 이후 코드에서 다시 kfree()를 호출하여 double free가 발생합니다.

💡 쉬운 설명

컴퓨터가 사용하던 메모리를 정리하는 과정에서 이미 버린 메모리를 또 버리려고 시도하는 오류입니다. 이 과정에서 시스템이 충돌하거나 보안 공격에 악용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix double free in create_space_info() error path When kobject_init_and_add() fails, the call chain is: create_space_info() -> btrfs_sysfs_add_space_info_type() -> kobject_init_and_add() -> failure -> kobject_put(&space_info->kobj) -> space_info_release() -> kfree(space_info) Then control returns to create_space_info(): btrfs_sysfs_add_space_info_type() returns error -> goto out_free -> kfree(space_info) This causes a double free. Keep the direct kfree(space_info) for the earlier failure path, but after btrfs_sysfs_add_space_info_type() has called kobject_put(), let the kobject release callback handle the cleanup.

📍 영향받는 시스템

btrfs 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

특정 오류 경로를 유도하여 커널 메모리 관리 로직을 트리거하는 방식

🛡️ 대응 방법

해당 취약점이 수정된 최신 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