🔍 CVE-2025-38321

7.8
CVSS Score
HIGH
2025-07-10
2026-10-15 22:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB(CIFS) 모듈에서 메모리가 부족한 상황일 때 캐시된 디렉토리를 닫는 과정에서 발생하는 취약점입니다. 메모리 부족으로 인해 dentries를 안전하게 해제하지 못해 'Dentry still in use' 오류와 함께 커널 경고가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 메모리가 매우 부족할 때, 네트워크 공유 폴더를 정리하는 과정에서 오류가 발생하여 시스템에 경고를 남기는 문제입니다. 이로 인해 시스템이 불안정해지거나 특정 작업이 제대로 완료되지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: Log an error when close_all_cached_dirs fails Under low-memory conditions, close_all_cached_dirs() can't move the dentries to a separate list to dput() them once the locks are dropped. This will result in a "Dentry still in use" error, so add an error message that makes it clear this is what happened: [ 495.281119] CIFS: VFS: \\otters.example.com\share Out of memory while dropping dentries [ 495.281595] ------------[ cut here ]------------ [ 495.281887] BUG: Dentry ffff888115531138{i=78,n=/} still in use (2) [unmount of cifs cifs] [ 495.282391] WARNING: CPU: 1 PID: 2329 at fs/dcache.c:1536 umount_check+0xc8/0xf0 Also, bail out of looping through all tcons as soon as a single allocation fails, since we're already in trouble, and kmalloc() attempts for subseqeuent tcons are likely to fail just like the first one did.

📍 영향받는 시스템

Linux kernel (SMB/CIFS module 사용 환경)

⚔️ 공격 벡터

직접적인 공격보다는 시스템의 메모리 고갈(Low-memory condition) 상태를 유도하여 발생할 수 있음

🛡️ 대응 방법

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