🔍 CVE-2025-38273

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

🇰🇷 한글 설명

Linux 커널의 TIPC 프로토콜 구현 중 네트워크 네임스페이스가 삭제되는 과정에서 참조 횟수(refcount) 경고가 발생하는 취약점입니다. TIPC 탐색 타이머가 네임스페이스 정리 중에 실행될 때 이미 참조 횟수가 0인 네임스페이스에 접근하여 Use-After-Free 문제를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 네트워크 공간이 사라지는 도중에 프로그램이 해당 공간을 사용하려고 시도하여 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 동작이 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: tipc: fix refcount warning in tipc_aead_encrypt syzbot reported a refcount warning [1] caused by calling get_net() on a network namespace that is being destroyed (refcount=0). This happens when a TIPC discovery timer fires during network namespace cleanup. The recently added get_net() call in commit e279024617134 ("net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done") attempts to hold a reference to the network namespace. However, if the namespace is already being destroyed, its refcount might be zero, leading to the use-after-free warning. Replace get_net() with maybe_get_net(), which safely checks if the refcount is non-zero before incrementing it. If the namespace is being destroyed, return -ENODEV early, after releasing the bearer reference. [1]: https://lore.kernel.org/all/[email protected]/T/#m12019cf9ae77e1954f666914640efa36d52704a2

📍 영향받는 시스템

TIPC 프로토콜이 활성화된 Linux 커널 버전

⚔️ 공격 벡터

네트워크 네임스페이스 삭제 시점과 TIPC 타이머 실행 시점을 정밀하게 조작하여 발생 (로컬/네트워크 환경)

🛡️ 대응 방법

get_net() 대신 maybe_get_net()을 사용하는 최신 커널 패치 적용

🔧 검증 코드

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

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