🔍 CVE-2024-38580

7.8
CVSS Score
HIGH
2024-06-19
2026-08-04 11:18
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 epoll 메커니즘에서 파일 포인터의 수명 주기 관리 오류로 인해 발생하는 취약점입니다. vfs_poll() 호출 시 파일 참조 횟수(f_count)가 0이 되어 파일 객체가 해제될 수 있는 레이스 컨디션 문제가 존재합니다.

💡 쉬운 설명

컴퓨터가 파일을 관리하는 과정에서 파일이 이미 닫혔는데도 계속 사용하려고 시도하는 오류가 발생할 수 있습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: epoll: be better about file lifetimes epoll can call out to vfs_poll() with a file pointer that may race with the last 'fput()'. That would make f_count go down to zero, and while the ep->mtx locking means that the resulting file pointer tear-down will be blocked until the poll returns, it means that f_count is already dead, and any use of it won't actually get a reference to the file any more: it's dead regardless. Make sure we have a valid ref on the file pointer before we call down to vfs_poll() from the epoll routines.

📍 영향받는 시스템

Linux Kernel (epoll 관련 기능이 포함된 버전)

⚔️ 공격 벡터

특정 타이밍에 파일 참조를 해제하는 정교한 레이스 컨디션 공격

🛡️ 대응 방법

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

🔧 검증 코드

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

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