🔍 CVE-2026-64057

7.8
CVSS Score
HIGH
2026-07-19
2026-10-15 11:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 AFS 파일 시스템에서 심볼릭 링크를 처리할 때 잠금(locking) 메커니즘이 올바르게 구현되지 않아 발생하는 취약점입니다. 이로 인해 여러 호출 간의 경합 조건(race condition)이 발생하여 메모리 누수나 데이터 불일치가 발생할 수 있습니다.

💡 쉬운 설명

파일의 바로가기(심볼릭 링크)를 읽는 과정에서 여러 작업이 동시에 충돌하여 시스템 메모리가 새어나가거나 오류가 생길 수 있는 문제입니다. 시스템이 안정적으로 작동하지 않게 만들 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: afs: Fix the locking used by afs_get_link() The afs filesystem in the kernel doesn't do locking correctly for symbolic links. There are a number of problems: (1) It doesn't do any locking around afs_read_single() to prevent races between multiple ->get_link() calls, thereby allowing the possibility of leaks. (2) It doesn't use RCU barriering when accessing the buffer pointers during RCU pathwalk. (3) It can race with another thread updating the contents of the symlink if a third party updated it on the server. Fix this by the following means: (0) Move symlink handling into its own file as this makes it more complicated. (1) Take the validate_lock around afs_read_single() to prevent races between multiple ->get_link() calls. (2) Keep a separate copy of the symlink contents with an rcu_head. This is always going to be a lot smaller than a page, so it can be kmalloc'd and save quite a bit of memory. It also needs a refcount for non-RCU pathwalk. (3) Split the symlink read and write-to-cache routines in afs from those for directories. (4) Discard the I/O buffer as soon as the write-to-cache completes as this is a full page (plus a folio_queue). (5) If there's no cache, discard the I/O buffer immediately after reading and copying if there is no cache.

📍 영향받는 시스템

Linux Kernel (AFS filesystem 사용 환경)

⚔️ 공격 벡터

심볼릭 링크를 빈번하게 읽거나 수정하는 작업을 통해 경합 조건을 유도하여 메모리 누수 또는 시스템 불안정 유발

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 공지(CVE-2026-64057)와 대조하십시오.

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