🔍 CVE-2025-39826

8.8
CVSS Score
HIGH
2025-09-16
2026-10-19 21:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 rose 네트워크 모듈에서 rose_neigh 구조체의 'use' 필드가 원자적(atomic)으로 처리되지 않아 발생하는 취약점입니다. 이로 인해 레이스 컨디션이 발생하여 구조체가 참조 중임에도 메모리에서 해제되는 Use-After-Free 문제가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터가 어떤 데이터를 사용 중인지 체크하는 숫자가 정확하게 관리되지 않아, 사용 중인 데이터를 실수로 지워버리는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해킹 공격에 이용될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: rose: convert 'use' field to refcount_t The 'use' field in struct rose_neigh is used as a reference counter but lacks atomicity. This can lead to race conditions where a rose_neigh structure is freed while still being referenced by other code paths. For example, when rose_neigh->use becomes zero during an ioctl operation via rose_rt_ioctl(), the structure may be removed while its timer is still active, potentially causing use-after-free issues. This patch changes the type of 'use' from unsigned short to refcount_t and updates all code paths to use rose_neigh_hold() and rose_neigh_put() which operate reference counts atomically.

📍 영향받는 시스템

Linux kernel (rose network module 사용 환경)

⚔️ 공격 벡터

특정 ioctl 작업을 통한 레이스 컨디션 유발 및 메모리 해제 유도

🛡️ 대응 방법

커널 패치를 적용하여 'use' 필드를 refcount_t 타입으로 변경하고 원자적 연산을 사용하도록 업데이트

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel