🔍 CVE-2026-97923

0.0
CVSS Score
UNKNOWN
2026-09-25
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 tracing 기능에서 var_ref 초기화 실패 시 메모리 누수가 발생하는 취약점이 발견되었습니다. create_var_ref() 함수가 메모리를 할당한 후 init_var_ref()에서 오류가 발생하면, 해당 메모리가 해제되지 않고 남게 됩니다.

💡 쉬운 설명

컴퓨터가 작업을 하다가 중간에 실수가 생겼을 때, 사용했던 메모리를 제대로 치우지 않고 버려두는 문제가 있습니다. 이 문제가 반복되면 시스템의 메모리가 점점 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tracing: Free histogram the var ref when its initialization fails create_var_ref() allocates a VAR_REF hist_field and then calls init_var_ref() to fill it in. When that fails the field is leaked. commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy var_refs") made destroy_hist_field() return early for HIST_FIELD_FL_VAR_REF, since var refs are freed by walking the trigger's var_refs[] array instead. create_var_ref() adds the field to that array only after init_var_ref() has succeeded, so on this path the field is in neither place and nothing frees it. The call was correct when it was written, before var refs were taken out of destroy_hist_field(). init_var_ref() cannot free it either. The caller owns the field, so init_var_ref() undoes only its own string allocations and leaves the field alone. Freeing it there would leave create_var_ref() passing freed memory to destroy_hist_field(), which reads its flags. Call __destroy_hist_field(), which frees the field without consulting the flag.

📍 영향받는 시스템

Linux Kernel (tracing 기능 사용 시)

⚔️ 공격 벡터

로컬 사용자가 특정 tracing 트리거를 조작하여 메모리 누수를 유도할 수 있음

🛡️ 대응 방법

커널 패치를 적용하여 init_var_ref() 실패 시 메모리를 즉시 해제하도록 업데이트해야 함

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel