🔍 CVE-2026-31657

9.8
CVSS Score
CRITICAL
2026-04-24
2026-10-19 19:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 batman-adv 모듈에서 백본 게이트웨이 참조를 적절히 유지하지 못해 발생하는 취약점입니다. 특정 경로에서 게이트웨이 포인터를 참조할 때 참조 횟수(reference count)를 고정하지 않아, 데이터가 사용 중인 상태에서 메모리에서 해제될 수 있는 Race Condition 문제가 존재합니다.

💡 쉬운 설명

네트워크 연결을 관리하는 프로그램이 사용 중인 데이터를 갑자기 삭제해버려 시스템이 충돌하거나 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안상 취약한 상태가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: batman-adv: hold claim backbone gateways by reference batadv_bla_add_claim() can replace claim->backbone_gw and drop the old gateway's last reference while readers still follow the pointer. The netlink claim dump path dereferences claim->backbone_gw->orig and takes claim->backbone_gw->crc_lock without pinning the underlying backbone gateway. batadv_bla_check_claim() still has the same naked pointer access pattern. Reuse batadv_bla_claim_get_backbone_gw() in both readers so they operate on a stable gateway reference until the read-side work is complete. This keeps the dump and claim-check paths aligned with the lifetime rules introduced for the other BLA claim readers.

📍 영향받는 시스템

Linux kernel (batman-adv 모듈 사용 환경)

⚔️ 공격 벡터

특정 네트워크 패킷이나 Netlink 메시지를 조작하여 Race Condition을 유도함으로써 메모리 오류 발생

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 batadv_bla_claim_get_backbone_gw() 함수가 적용된 버전을 사용하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel