🔍 CVE-2026-64596

0.0
CVSS Score
UNKNOWN
2026-08-06
2026-08-17 05:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 libfs에서 pseudo filesystem 생성 시 SB_I_NOEXEC 및 SB_I_NODEV 플래그가 기본적으로 설정되지 않아 발생하는 문제입니다. 이로 인해 CONFIG_DEBUG_VFS가 활성화된 커널에서 dma-buf와 같은 익명 inode 파일을 mmap할 때 경고(WARNING)가 발생합니다. 이를 해결하기 위해 init_pseudo() 함수에서 해당 플래그들을 기본값으로 설정하도록 수정되었습니다.

💡 쉬운 설명

컴퓨터의 임시 저장 공간을 사용할 때 보안 규칙이 제대로 적용되지 않아 시스템이 경고를 보내는 문제입니다. 이 수정사항은 임시 공간에서 실행 파일이 멋대로 실행되지 않도록 기본 보안 설정을 강화하는 역할을 합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: libfs: set SB_I_NOEXEC and SB_I_NODEV by default in init_pseudo() Since commit 1e7ab6f67824 ("anon_inode: rework assertions"), path_noexec() warns when an anonymous-inode file is mmap'd from a superblock that has not set SB_I_NOEXEC. dma-buf backs its files this way and never set the flag, so mmap of any exported buffer trips the warning on a CONFIG_DEBUG_VFS=y kernel: WARNING: CPU: 11 PID: 121813 at fs/exec.c:118 path_noexec+0x47/0x50 do_mmap+0x2b5/0x680 vm_mmap_pgoff+0x129/0x210 ksys_mmap_pgoff+0x177/0x240 __x64_sys_mmap+0x33/0x70 init_pseudo() sets up internal SB_NOUSER mounts that are never path-reachable. Set both flags here so every pseudo filesystem gets them by default instead of each caller setting them. SB_I_NODEV is inert for unreachable mounts. SB_I_NOEXEC has one visible effect: an executable mapping of a pseudo-fs fd, such as a dma-buf, now fails with -EPERM, which is the invariant the assertion enforces. No in-tree caller maps these executable. Reproduce on CONFIG_DEBUG_VFS=y: make -C tools/testing/selftests/dmabuf-heaps sudo ./tools/testing/selftests/dmabuf-heaps/dmabuf-heap -t system

📍 영향받는 시스템

CONFIG_DEBUG_VFS=y 옵션이 활성화된 리눅스 커널 (dma-buf 사용 환경)

⚔️ 공격 벡터

직접적인 공격보다는 커널 디버그 모드에서 시스템 경고를 유발하여 로그를 생성하거나 가용성을 저해할 수 있음

🛡️ 대응 방법

해당 패치가 적용된 최신 리눅스 커널 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 패치가 포함된 커널 릴리스 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel