🔍 CVE-2025-38431

5.5
CVSS Score
MEDIUM
2025-07-25
2026-11-05 21:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 SMB 클라이언트에서 네이티브 SMB 심볼릭 링크 처리에 회귀(regression)가 발생했습니다. 클라이언트가 해석할 수 없는 심볼릭 링크 대상이 있으면 복사 대상 디렉터리 전체가 실패하던 문제이며, lstat(2)와 readlink(2)가 대상 해석 실패와 무관하게 성공하도록 수정되었습니다.

💡 쉬운 설명

백업이나 복사 도구가 해석할 수 없는 심볼릭 링크를 만나면 작업 전체가 실패하던 문제입니다. 이번 수정으로 링크를 따라가지 않는 경우에는 기존처럼 정상 동작합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix regression with native SMB symlinks Some users and customers reported that their backup/copy tools started to fail when the directory being copied contained symlink targets that the client couldn't parse - even when those symlinks weren't followed. Fix this by allowing lstat(2) and readlink(2) to succeed even when the client can't resolve the symlink target, restoring old behavior.

📍 영향받는 시스템

CONFIG_CIFS(SMB 클라이언트) 및 네이티브 SMB 심볼릭 링크를 사용하는 수정 이전 Linux 커널 버전

⚔️ 공격 벡터

공격 벡터보다는 기능 회귀(호환성 문제)에 대한 수정이며, 악의적 원격 공격 경로는 명시되어 있지 않음

🛡️ 대응 방법

패치가 포함된 최신 Linux 커널 버전으로 업데이트하거나 배포판 보안 업데이트를 적용

🔧 검증 코드

출력된 커널 버전이 배포판의 패치된 버전 이상인지 확인하고, cifs 모듈이 없으면 SMB 심볼릭 링크 문제에 영향받지 않으므로 위험도가 낮음

Shell / Script
uname -r && (grep -i cifs /proc/filesystems 2>/dev/null || echo 'cifs not loaded') && (ls /sys/module/cifs 2>/dev/null && echo 'cifs module present' || echo 'cifs module absent')

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel