🔍 CVE-2026-98487

7.8
CVSS Score
HIGH
2026-10-18
2026-10-24 14:16
✅ 완료

🇰🇷 한글 설명

Linux 커널의 네트워크 브리지 MDB(멀티캐스트 데이터베이스) 처리 과정에서, br_mdb_flush_pgs()가 포트 그룹을 순회하며 삭제할 때 커서가 해제된 메모리를 가리키는 문제가 있습니다. 이로 인해 이후 RTM_GETMDB 요청 시 use-after-free가 발생할 수 있으며, 수정 사항은 삭제 후 순회 커서를 mp->ports로 재설정하는 것입니다.

💡 쉬운 설명

리눅스 커널의 네트워크 브리지 기능에서 멀티캐스트 그룹 정보를 지우는 중 잘못된 메모리를 참조하는 결함이 있습니다. 이 때문에 시스템 메모리가 손상되거나 비정상 종료될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: bridge: mdb: restart port group walk after deletion br_mdb_flush_pgs() keeps a pointer-to-pointer cursor while walking mp->ports. br_multicast_del_pg() can re-enter the same MDB entry through br_multicast_sg_del_exclude_ports() and unlink other port groups. If the cursor points into one of those groups, the next iteration dereferences a stale cursor and can leave mp->ports pointing at freed memory. A following RTM_GETMDB exposes the dangling pointer: BUG: KASAN: slab-use-after-free in br_mdb_dump Read of size 8 br_mdb_dump rtnl_mdb_dump rtnl_dumpit netlink_dump Reset the cursor to mp->ports after every deletion. The deletion removes at least the selected group, so the restarted walk always makes progress.

📍 영향받는 시스템

패치가 적용되지 않은 Linux 커널 (브리지 및 MDB 기능 사용 환경)

⚔️ 공격 벡터

로컬 사용자 또는 권한을 가진 프로세스가 브리지 MDB 조회/삭제 netlink 요청을 조작해 해제된 메모리를 읽거나 손상시키는 방식

🛡️ 대응 방법

배포판 벤더가 제공하는 보안 업데이트 커널로 업그레이드하거나, 해당 수정이 포함된 커널 버전으로 재빌드 및 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판의 보안 권고문(CVE-2026-98487)에 명시된 수정 버전과 비교하여 수정 여부를 판단하며, 수정 버전 이상이면 패치 적용된 것입니다.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel