🔍 CVE-2024-46780

7.8
CVSS Score
HIGH
2024-09-18
2026-08-04 11:20
✅ 완료

🇰🇷 한글 설명

Linux 커널의 nilfs2 파일 시스템에서 sysfs 속성을 통해 슈퍼블록 파라미터에 접근할 때 상호 배제(mutual exclusion)가 누락된 취약점입니다. 이로 인해 런타임 중 슈퍼블록이 교체되거나 변경될 때 잘못된 포인터 역참조 및 메모리 접근 문제가 발생할 수 있습니다.

💡 쉬운 설명

파일 시스템의 핵심 정보를 관리하는 메모리 영역에 접근할 때 보호 장치가 제대로 작동하지 않는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 잘못된 메모리 주소를 참조하여 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect references to superblock parameters exposed in sysfs The superblock buffers of nilfs2 can not only be overwritten at runtime for modifications/repairs, but they are also regularly swapped, replaced during resizing, and even abandoned when degrading to one side due to backing device issues. So, accessing them requires mutual exclusion using the reader/writer semaphore "nilfs->ns_sem". Some sysfs attribute show methods read this superblock buffer without the necessary mutual exclusion, which can cause problems with pointer dereferencing and memory access, so fix it.

📍 영향받는 시스템

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

⚔️ 공격 벡터

로컬 사용자가 sysfs 속성을 통해 특정 파일 시스템 파라미터에 접근하여 메모리 오류 유도

🛡️ 대응 방법

nilfs2 슈퍼블록 접근 시 nilfs->ns_sem 세마포어를 사용하도록 커널을 최신 버전으로 업데이트

🔧 검증 코드

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

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