🔍 CVE-2026-97922

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

🇰🇷 한글 설명

리눅스 커널의 트레이싱 히스토그램 기능에서 동일한 변수를 세 번 이상 참조할 경우 변수 참조 및 문자열이 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 이 문제는 히스토그램 트리거를 제거할 때 참조 카운트 관리 오류로 인해 발생하며, 커널 메모리 자원을 지속적으로 점유하게 됩니다.

💡 쉬운 설명

리눅스 시스템의 기록 도구를 사용할 때 특정 설정을 반복하면 컴퓨터의 메모리가 제대로 비워지지 않고 계속 쌓이는 문제가 있습니다. 이로 인해 시스템의 메모리가 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: tracing: Free histogram var refs regardless of how often they are referenced Using the same variable three or more times in one hist trigger leaks the variable reference and its strings when the trigger is removed. commit 656fe2ba85e8 ("tracing: Use hist trigger's var_ref array to destroy var_refs") made a trigger's var_refs[] array the only owner of a var ref: destroy_hist_field() returns early for HIST_FIELD_FL_VAR_REF, so the field expressions never destroy one. One entry, freed once, no count needed. commit 8bcebc77e85f ("tracing: Fix histogram code when expression has same var as value") then made repeated references share one object and added a count of them. Only the increment side exists, since those expressions still return early and never drop a reference, so __destroy_hist_field() sees how many references were created rather than how many are left. It frees when the decremented count is 0 or 1, so two references work and three or more leak. Sharing kept one array entry per object, and create_var_ref() searches and appends within a single trigger, so nothing outside it holds the object. Removing a trigger whose variables are still referenced is already refused by check_var_refs() with -EBUSY. Drop the count and free unconditionally.

📍 영향받는 시스템

Linux Kernel (tracing histogram 기능이 활성화된 버전)

⚔️ 공격 벡터

로컬 사용자가 특정 히스토그램 트리거를 생성하여 동일한 변수를 반복 참조함으로써 메모리 누수를 유발

🛡️ 대응 방법

리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 관련 커밋(656fe2ba85e8)이 반영되도록 조치

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel