🔍 CVE-2026-23257

5.5
CVSS Score
MEDIUM
2026-03-18
2026-11-05 22:18
✅ 완료

🇰🇷 한글 설명

Linux kernel의 liquidio 드라이버에서 NIC 장치 초기화 실패 시 cleanup 루프가 마지막 할당된 장치를 정리하지 못해 메모리 누수 발생. 변수 i를 루프 시작 시점에서 감소시키지 않아 실패한 인덱스를 건너뜀. 패치로 cleanup 루프를 0까지 제대로 순회하도록 수정.

💡 쉬운 설명

Linux 커널의 네트워크 드라이버에서 장치 초기화 실패 시 메모리 정리가 제대로 되지 않아 메모리 누수 발생. 시간이 지나면서 누적된 메모리로 인해 시스템 성능 저하 또는 멈춤 가능.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: liquidio: Fix off-by-one error in PF setup_nic_devices() cleanup In setup_nic_devices(), the initialization loop jumps to the label setup_nic_dev_free on failure. The current cleanup loop while(i--) skip the failing index i, causing a memory leak. Fix this by changing the loop to iterate from the current index i down to 0. Also, decrement i in the devlink_alloc failure path to point to the last successfully allocated index. Compile tested only. Issue found using code review.

📍 영향받는 시스템

Linux kernel (liquidio 드라이버 탑재): 영향받는 특정 버전은 공개되지 않음, 일반적으로 커널 6.x 이상

⚔️ 공격 벡터

로컬 공격자가 NIC 장치 초기화를 반복적으로 실패 유도하여 메모리 누수 가속화

🛡️ 대응 방법

Linux kernel을 최신 버전으로 업데이트하거나 liquidio 드라이버 패치 적용

🔧 검증 코드

liquidio이 로드된 경우 커널 버전을 확인 후 최신 버전으로 업데이트 여부 판단, 로드되지 않은 경우 해당 하드웨어 미사용

Shell / Script
lsmod | grep -q liquidio && echo 'Check kernel version with uname -r and update if needed' || echo 'liquidio driver not loaded'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel