🔍 CVE-2026-98908

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 12:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Microchip Sparx5 네트워크 드라이버에서, PSFP(Per-Stream Filtering and Policing) 설정(flower setup)이 실패할 경우 앞서 할당된 스트림 게이트, 플로우 미터, 스트림 필터 리소스가 해제되지 않는 문제가 수정되었습니다. 또한 기존 플로우 미터를 재사용할 때 반환 ID가 0으로 남아 잘못된 플로우 미터를 삭제하려 하고 참조 카운트가 누수되는 문제도 함께 수정되었습니다.

💡 쉬운 설명

네트워크 장비가 트래픽 제어 설정을 만드는 도중 실패하면, 이미 잡아둔 내부 자원이 정리되지 않고 남는 버그가 있었습니다. 이번 수정으로 실패 시 자원을 올바르게 반환하도록 고쳐졌습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: microchip: sparx5: clean up PSFP resources on flower setup failure sparx5_tc_flower_psfp_setup() allocates PSFP stream gate, flow meter and stream filter resources before adding VCAP actions. If a later step fails, the resources allocated earlier in the function are not unwound. Add error paths to release the stream filter, flow meter and stream gate when setup fails after they have been acquired. Also make sparx5_psfp_fm_add() return the acquired flow-meter id before the existing-flow-meter early return. When an existing flow meter is reused, sparx5_psfp_fm_get() increments its pool reference count, but the caller previously kept psfp_fmid as 0. If a later setup step failed, the error path could try to delete flow-meter id 0 instead of the reused flow meter, leaving the incremented reference behind.

📍 영향받는 시스템

Linux 커널 중 Microchip Sparx5 네트워크 드라이버(net/microchip/sparx5)를 포함하는 버전 (수정 커밋 이전 커널)

⚔️ 공격 벡터

로컬 또는 네트워크 사용자가 PSFP 플로우 규칙 설정을 반복 실패시켜 커널 리소스를 고갈시키는 서비스 거부(DoS) 형태로 악용될 여지가 있음

🛡️ 대응 방법

커널 소스의 해당 수정 커밋이 포함된 최신 안정 버전 커널로 업데이트

🔧 검증 코드

커널 버전이 수정이 포함된 배포판 업데이트 버전 이상인지 확인하고, sparx5 모듈이 출력되면 해당 드라이버가 존재하므로 패치 적용 여부를 확인해야 하며, 아무것도 출력되지 않으면 영향을 받지 않습니다.

Shell / Script
uname -r && grep -l sparx5 /lib/modules/$(uname -r)/kernel/drivers/net/ethernet/microchip/* 2>/dev/null

💻 영향받는 소프트웨어

Linux Kernel