CVE-2025-39859 in Linux정보

요약

\~에 의해 VulDB • 2026. 06. 29.

리눅스 커널에서 다음 취약점이 해결되었습니다:

ptp: ocp: ptp_ocp_watchdog로 인해 발생하는 use-after-free 버그 수정

ptp_ocp_detach()는 타이머가 대기 상태(pending)인 경우에만 워치독 타이머를 종료합니다. 그러나 이미 타이머 핸들러가 실행 중인 경우 timer_delete_sync()이 호출되지 않습니다. 이로 인해 ptp_ocp를 포함하는 devlink가 할당 해제되는 동안 타이머 핸들러가 여전히 해당 메모리에 접근하여 use-after-free 버그가 발생하는 경합 조건(race condition)이 초래됩니다. 다음 내용은 이러한 경합 시나리오 중 하나입니다.

(스레드 1) | (스레드 2) ptp_ocp_remove() | ptp_ocp_detach() | ptp_ocp_watchdog() if (timer_pending(&bp->watchdog))| bp = timer_container_of() timer_delete_sync() | | devlink_free(devlink) // 할당 해제 | | bp-> // 접근

타이머가 신뢰성 있게 비활성화되어 free 이후의 모든 접근을 방지하도록, 타이머를 조건 없이 제거하기 위해 timer_delete_sync()을 무조건 호출하여 이 문제를 해결합니다.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

책임이 있는

Linux

예약하다

2025. 04. 16.

모더레이션

수락

항목

VDB-325055

EPSS

0.00146

출처

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!