🔍 CVE-2024-50230

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

🇰🇷 한글 설명

Linux 커널의 NILFS2 파일 시스템에서 체크 플래그를 제대로 초기화하지 않아 발생하는 커널 버그입니다. 파일 시스템 손상으로 인해 읽기 전용 모드로 전환된 후 디렉토리 작업 시, 잘못된 페이지/폴리오 크기 접근으로 인해 커널 버그(BUG_ON)가 발생할 수 있습니다.

💡 쉬운 설명

파일 시스템에 오류가 생겨 읽기 전용으로 바뀔 때, 시스템이 데이터의 상태를 제대로 확인하지 못해 오류가 발생하는 문제입니다. 이로 인해 시스템이 갑자기 멈추거나 비정상적인 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of checked flag Syzbot reported that in directory operations after nilfs2 detects filesystem corruption and degrades to read-only, __block_write_begin_int(), which is called to prepare block writes, may fail the BUG_ON check for accesses exceeding the folio/page size, triggering a kernel bug. This was found to be because the "checked" flag of a page/folio was not cleared when it was discarded by nilfs2's own routine, which causes the sanity check of directory entries to be skipped when the directory page/folio is reloaded. So, fix that. This was necessary when the use of nilfs2's own page discard routine was applied to more than just metadata files.

📍 영향받는 시스템

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

⚔️ 공격 벡터

손상된 NILFS2 파일 시스템을 마운트하거나 디렉토리 작업을 수행하여 커널 오류 유도

🛡️ 대응 방법

NILFS2 관련 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel