🔍 CVE-2026-97959

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

🇰🇷 한글 설명

Linux 커널의 net/sched: cls_route 구성 요소에서 필터를 이동할 때 비어 있는 버킷을 해제하지 않는 취약점이 발견되었습니다. 이로 인해 필터가 삭제되어도 빈 버킷이 메모리에 남아 있게 되어 tcf_proto 구조체가 해제되지 않는 메모리 누수가 발생합니다.

💡 쉬운 설명

네트워크 설정을 변경하는 과정에서 사용하지 않는 메모리 공간을 제대로 치우지 않아 컴퓨터의 메모리가 조금씩 낭비되는 문제입니다. 시간이 지나면 시스템의 메모리 자원이 부족해질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_route: free emptied bucket on filter move route4_change can move an existing filter to a different top-level bucket: route4_set_parms recomputes the handle from TCA_ROUTE4_TO/ FROM/IIF, and the handle-mismatch check is gated on the 'new' flag, so for an existing filter the new handle may differ from the old one and land in a different bucket. When this happens, the filter is unlinked from the old bucket, but the bucket itself is never freed once it goes empty. The stale empty bucket remains in head->table[], causing route4_delete to report *last=false even after the last live filter is gone. That pins the empty tcf_proto and causes a leak. Fix this by refcounting the filters linked to a bucket and freeing the bucket when the count drops to zero. The existing scan in route4_delete goes away with it. The count is updated at all sites that link or unlink a filter during add, change and delete, and the bucket is dropped from head->table[] as soon as it reaches zero. Conditions to recreate the bug: CONFIG_NET_CLS_ROUTE4=y, CONFIG_NET_SCH_INGRESS=y, CONFIG_NET_CLS_ACT=y. tc qdisc replace dev lo clsact tc filter add dev lo ingress protocol ip pref 100 route from 1 to 1 tc filter change dev lo ingress protocol ip pref 100 handle 0x10001 \ route from 1 to 2 tc filter del dev lo ingress protocol ip pref 100 handle 0x10002 \ route from 1 to 2 tc filter show dev lo ingress | grep -c 'pref 100 route chain 0 '

📍 영향받는 시스템

CONFIG_NET_CLS_ROUTE4, CONFIG_NET_SCH_INGRESS, CONFIG_NET_CLS_ACT 옵션이 활성화된 Linux 커널

⚔️ 공격 벡터

특정 네트워크 필터 설정(tc)을 반복적으로 생성, 변경, 삭제하여 메모리 누수를 유도하는 방식

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 패치가 적용된 배포판의 보안 업데이트 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel