🔍 CVE-2024-38583

7.8
CVSS Score
HIGH
2024-06-19
2026-08-04 11:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 NILFS2 파일 시스템에서 로그 작성 스레드의 타이머 사용 시 Use-After-Free 취약점이 발견되었습니다. 이 문제는 타이머가 스레드의 생명주기와 관계없이 사용되어 메모리 오류를 유발할 수 있으며, 언마운트 시 데드락이나 시스템 프리징을 초래할 수 있습니다.

💡 쉬운 설명

파일 시스템이 데이터를 기록하는 과정에서 이미 종료된 작업의 타이머를 다시 호출하여 컴퓨터 시스템에 오류를 일으키는 문제입니다. 이로 인해 시스템이 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of timer for log writer thread Patch series "nilfs2: fix log writer related issues". This bug fix series covers three nilfs2 log writer-related issues, including a timer use-after-free issue and potential deadlock issue on unmount, and a potential freeze issue in event synchronization found during their analysis. Details are described in each commit log. This patch (of 3): A use-after-free issue has been reported regarding the timer sc_timer on the nilfs_sc_info structure. The problem is that even though it is used to wake up a sleeping log writer thread, sc_timer is not shut down until the nilfs_sc_info structure is about to be freed, and is used regardless of the thread's lifetime. Fix this issue by limiting the use of sc_timer only while the log writer thread is alive.

📍 영향받는 시스템

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

⚔️ 공격 벡터

로컬 공격자가 특정 파일 시스템 조작을 통해 메모리 오류를 유발하여 시스템 안정성을 해칠 수 있음

🛡️ 대응 방법

NILFS2 관련 패치가 적용된 최신 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