🔍 CVE-2025-21646

7.5
CVSS Score
HIGH
2025-01-19
2026-07-30 06:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 AFS 파일 시스템에서 셀 이름의 최대 길이를 제한하는 과정에서 발생한 오류입니다. 기존에는 셀 이름을 256바이트까지 허용했으나, procfs의 파일 이름 제한인 255바이트를 초과하여 경고가 발생하던 문제를 셀 이름 제한을 253바이트로 수정하여 해결했습니다.

💡 쉬운 설명

컴퓨터가 파일 이름을 만들 때 정해진 길이보다 긴 이름을 사용하려고 해서 오류가 발생하는 문제입니다. 이름의 최대 길이를 규칙에 맞게 조금 줄여서 오류가 나지 않도록 고쳤습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: afs: Fix the maximum cell name length The kafs filesystem limits the maximum length of a cell to 256 bytes, but a problem occurs if someone actually does that: kafs tries to create a directory under /proc/net/afs/ with the name of the cell, but that fails with a warning: WARNING: CPU: 0 PID: 9 at fs/proc/generic.c:405 because procfs limits the maximum filename length to 255. However, the DNS limits the maximum lookup length and, by extension, the maximum cell name, to 255 less two (length count and trailing NUL). Fix this by limiting the maximum acceptable cellname length to 253. This also allows us to be sure we can create the "/afs/.<cell>/" mountpoint too. Further, split the YFS VL record cell name maximum to be the 256 allowed by the protocol and ignore the record retrieved by YFSVL.GetCellName if it exceeds 253.

📍 영향받는 시스템

Linux kernel (AFS filesystem module 사용 환경)

⚔️ 공격 벡터

직접적인 공격보다는 시스템 운영 중 특정 길이 이상의 셀 이름을 사용할 때 커널 경고 및 예외가 발생하는 논리적 결함입니다.

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel