🔍 CVE-2026-46078

7.1
CVSS Score
HIGH
2026-05-27
2026-10-19 20:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 EROFS 파일 시스템에서 디렉토리 엔트리의 nameoff 처리에 오류가 있어 경계 외 읽기(Out-of-bounds read)가 발생할 수 있습니다. 조작된 EROFS 이미지를 사용할 경우 nameoff 값이 최대 크기를 초과하여 언더플로우를 유발하고, 이로 인해 strnlen() 함수가 디렉토리 블록 범위를 벗어나 메모리를 읽을 수 있습니다.

💡 쉬운 설명

특수하게 제작된 파일 시스템을 컴퓨터에 연결하면, 시스템이 파일 이름을 읽는 과정에서 허용된 메모리 범위를 넘어서 정보를 읽어 들일 수 있는 보안 취약점입니다. 이는 시스템의 안정성을 해치거나 민감한 정보가 노출될 위험을 초래할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: erofs: fix the out-of-bounds nameoff handling for trailing dirents Currently we already have boundary-checks for nameoffs, but the trailing dirents are special since the namelens are calculated with strnlen() with unchecked nameoffs. If a crafted EROFS has a trailing dirent with nameoff >= maxsize, maxsize - nameoff can underflow, causing strnlen() to read past the directory block. nameoff0 should also be verified to be a multiple of `sizeof(struct erofs_dirent)` as well [1]. [1] https://sashiko.dev/#/patchset/20260416063511.3173774-1-hsiangkao%40linux.alibaba.com

📍 영향받는 시스템

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

⚔️ 공격 벡터

조작된 nameoff 값을 포함한 EROFS 이미지 파일을 마운트하여 공격

🛡️ 대응 방법

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:N/A:H

💻 영향받는 소프트웨어

Linux Kernel