🔍 CVE-2025-68299

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-14 16:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 AFS(Andrew File System) 구현에서 셀의 익명 키 할당이 지연될 때 발생하는 취약점입니다. 특정 조건에서 키 설명이 설정되기 전에 키 조회를 시도할 경우 커널 Oops(시스템 오류)가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 파일을 찾기 위해 필요한 암호 키를 준비하는 과정에서 순서가 뒤바뀌어 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 키가 아직 만들어지지 않았는데 사용하려고 시도할 때 문제가 생깁니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: afs: Fix delayed allocation of a cell's anonymous key The allocation of a cell's anonymous key is done in a background thread along with other cell setup such as doing a DNS upcall. In the reported bug, this is triggered by afs_parse_source() parsing the device name given to mount() and calling afs_lookup_cell() with the name of the cell. The normal key lookup then tries to use the key description on the anonymous authentication key as the reference for request_key() - but it may not yet be set and so an oops can happen. This has been made more likely to happen by the fix for dynamic lookup failure. Fix this by firstly allocating a reference name and attaching it to the afs_cell record when the record is created. It can share the memory allocation with the cell name (unfortunately it can't just overlap the cell name by prepending it with "afs@" as the cell name already has a '.' prepended for other purposes). This reference name is then passed to request_key(). Secondly, the anon key is now allocated on demand at the point a key is requested in afs_request_key() if it is not already allocated. A mutex is used to prevent multiple allocation for a cell. Thirdly, make afs_request_key_rcu() return NULL if the anonymous key isn't yet allocated (if we need it) and then the caller can return -ECHILD to drop out of RCU-mode and afs_request_key() can be called. Note that the anonymous key is kind of necessary to make the key lookup cache work as that doesn't currently cache a negative lookup, but it's probably worth some investigation to see if NULL can be used instead.

📍 영향받는 시스템

Linux Kernel (AFS 모듈을 사용하는 버전)

⚔️ 공격 벡터

로컬 사용자가 afs_parse_source()를 통해 특정 장치 이름을 mount()로 호출하여 트리거 가능

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel