🔍 CVE-2025-38306

7.8
CVSS Score
HIGH
2025-07-10
2026-07-30 06:23
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 fs/fhandle.c 파일에서 has_locked_children() 함수 호출 시 락(lock)을 보유하지 않아 발생하는 레이스 컨디션 취약점입니다. may_decode_fh() 함수가 적절한 잠금 없이 해당 함수를 호출함으로써 시스템 오류(oops)를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 핵심 운영체제인 리눅스에서 여러 작업이 동시에 같은 데이터를 건드릴 때 발생하는 충돌 문제입니다. 이 충돌로 인해 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fs/fhandle.c: fix a race in call of has_locked_children() may_decode_fh() is calling has_locked_children() while holding no locks. That's an oopsable race... The rest of the callers are safe since they are holding namespace_sem and are guaranteed a positive refcount on the mount in question. Rename the current has_locked_children() to __has_locked_children(), make it static and switch the fs/namespace.c users to it. Make has_locked_children() a wrapper for __has_locked_children(), calling the latter under read_seqlock_excl(&mount_lock).

📍 영향받는 시스템

리눅스 커널 (fs/fhandle.c 관련 모듈을 사용하는 버전)

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 특정 파일 핸들 디코딩 과정을 유도하여 레이스 컨디션을 발생시킴

🛡️ 대응 방법

has_locked_children() 함수에 read_seqlock_excl(&mount_lock)을 적용한 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인

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