🇰🇷 한글 설명
Linux 커널의 SMB 클라이언트에서 심볼릭 링크 대상 경로를 검증하기 전에 NT 경로 수정 작업을 수행하여 발생하는 취약점입니다. symlinkroot가 설정되지 않은 상태에서 절대 경로가 NT 드라이브 경로로 변환되지 않으면, 메모리 할당 범위를 초과하여 쓰기가 발생하거나 정수 언더플로우로 인한 대규모 메모리 복사가 발생할 수 있습니다.
💡 쉬운 설명
공격자가 공유 폴더에 특수하게 조작된 파일을 올려두면, 컴퓨터가 이를 읽는 과정에서 메모리 오류를 일으켜 시스템을 망가뜨릴 수 있습니다. 이는 잘못된 경로 계산 방식 때문에 발생하는 보안 결함입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
smb: client: validate absolute native symlink targets before NT fixups
With symlinkroot unset, an absolute target is copied without conversion
to an NT drive path. Later code still assumes an NT prefix is present
when modifying the target and calculating the print name length.
For "/ab", this causes two failures: sym[5] and path[5] are written
past their allocations, and plen -= 2 * poff subtracts an assumed
8-byte prefix from a 6-byte UTF-16 target, wrapping u16 plen to 65534.
That underflow causes another overflow: memcpy() copies 65534 bytes
into a 24-byte buffer. A user with write access to a mounted share
can trigger these bugs with default settings.
Validate the NT drive prefix, including an ASCII drive letter, before
accessing fixed offsets or subtracting the prefix length.
📍 영향받는 시스템
Linux kernel (SMB client component)
⚔️ 공격 벡터
쓰기 권한이 있는 마운트된 SMB 공유 폴더에 조작된 심볼릭 링크 파일 배치
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전 이상인지 확인합니다.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux