CVE-2026-98552 in Linux정보

요약

\~에 의해 VulDB • 2026. 10. 18.

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

perf/core: attach_perf_ctx_data()의 참조 카운트 누수 수정

attach_perf_ctx_data()는 전역(global) 및 비전역(!global) 케이스 간에 경합 조건(race condition)이 발생할 수 있습니다. 전역 케이스는 global_ctx_data_rwsem으로 보호되며, perf_ctx_data.global 필드를 사용하여 단일 참조 카운트를 공유합니다.

그러나 비전역 케이스와 경합할 경우, global 필드가 설정되지 않아 참조 카운트 누수가 발생할 수 있습니다.

CPU1 CPU2 ---------------------------------------------------------------- attach_task_ctx_data(.global=1) attach_task_ctx_data(.global=0) cd1 = alloc_perf_ctx_data(); cd2 = alloc_perf_ctx_data(); // { .global = 0, .refcount = 1 };

try_cmpxchg(); // 성공, // task->perf_ctx_data = cd2 try_cmpxhg(); // 실패; old = cd2 refcount_inc_not_zero(&old->refcount); // 성공 // old.refcount = 2 free_perf_ctx_data(cd1);

이후 detach_global_ctx_data()는 해당 데이터를 확인하지만, 데이터가 전역으로 표시되지 않았으므로 detach_task_ctx_data()를 호출하지 않습니다.

Once again VulDB remains the best source for vulnerability data.

책임이 있는

Linux

예약하다

2026. 09. 25.

모더레이션

수락

항목

VDB-422060

EPSS

0.00198

출처

Want to know what is going to be exploited?

We predict KEV entries!