🔍 CVE-2026-97952

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

🇰🇷 한글 설명

Linux 커널의 sunvdc 드라이버에서 디스크립터 전송 실패 시 LDC 쿠키를 언맵(unmap)하지 않는 취약점이 발견되었습니다. 이로 인해 고정된 크기의 맵 테이블 엔트리가 영구적으로 누수되어, 결국 시스템의 I/O 요청이 실패하고 재부팅 전까지 디스크 사용이 불가능해질 수 있습니다.

💡 쉬운 설명

데이터를 주고받는 통로의 관리 목록에서 사용이 끝난 항목을 지우지 못해 목록이 가득 차는 문제입니다. 이 문제가 지속되면 컴퓨터가 디스크를 인식하지 못하게 되어 시스템이 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: sunvdc: unmap LDC cookies when the descriptor send fails __send_request() maps the request's pages into the LDC channel's map table (ldc_map_sg()), fills in the descriptor and marks it VIO_DESC_READY before ringing the doorbell via __vdc_tx_trigger(). When the trigger fails, the error path only prints a message: the descriptor stays READY and the cookies are never unmapped. The mapping is normally released in vdc_end_one() when the peer completes the descriptor - but a descriptor whose doorbell was never sent will never complete, and since dr->prod is not advanced on failure, the reset path (vdc_requeue_inflight(), which walks [cons, prod)) never visits it either. The map table entries are leaked permanently. Since commit a11f6ca9aef9 ("sunvdc: Do not spin in an infinite loop when vio_ldc_send() returns EAGAIN") trigger failures occur in practice under load, so every resulting I/O error also leaks one request's worth of entries from the fixed-size (8192 entries per channel) map table. Because the allocator hands out contiguous ranges, fragmentation makes large multi-segment requests fail first as the table drains, until ldc_map_sg() fails permanently and the disk is dead until reboot. It also makes any retry-based recovery unusable: requeuing the request on -EAGAIN remaps the pages on every attempt, overwriting desc->cookies and orphaning the previous mapping, so the table drains at the retry rate. This is the memory exhaustion observed when the requeue approach was first tested in October 2025. Roll back on failure: unmap the cookies, mark the descriptor FREE again and clear the request entry. If the trigger failed with -ENOTCONN, __vdc_tx_trigger() has already reset the port, which tears down and reallocates both the dring and the LDC channel including its map table - nothing to roll back, and the stale descriptor must not be touched.

📍 영향받는 시스템

Linux kernel (sunvdc driver components)

⚔️ 공격 벡터

부하가 높은 환경에서 I/O 전송 실패를 유도하여 리소스 누수를 가속화하는 방식

🛡️ 대응 방법

커널 패치(commit a11f6ca9aef9 관련 수정 사항 포함)를 적용하여 전송 실패 시 리소스를 정상적으로 해제하도록 업데이트

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel