🔍 CVE-2026-43163

4.7
CVSS Score
MEDIUM
2026-05-06
2026-05-13 21:19
✅ 완료

🇰🇷 한글 설명

Linux kernel md/bitmap 모듈의 배열 resize 중 race condition으로 인한 use-after-free 취약점입니다. bitmap_daemon_work()가 bitmap->storage.filemap을 잠금 없이 순회하는 동안 __bitmap_resize()가 해당 저장소를 해제하여 일반 보호 장애(GPF)를 유발합니다. mddev->bitmap_info.mutex를 잠그어 동시 접근을 방지함으로 해결됩니다.

💡 쉬운 설명

RAID 저장소 크기 조정 중에 메모리 정리와 접근 사이에 충돌이 발생합니다. 이미 해제된 메모리에 접근하려고 할 때 시스템이 중단됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: md/bitmap: fix GPF in write_page caused by resize race A General Protection Fault occurs in write_page() during array resize: RIP: 0010:write_page+0x22b/0x3c0 [md_mod] This is a use-after-free race between bitmap_daemon_work() and __bitmap_resize(). The daemon iterates over `bitmap->storage.filemap` without locking, while the resize path frees that storage via md_bitmap_file_unmap(). `quiesce()` does not stop the md thread, allowing concurrent access to freed pages. Fix by holding `mddev->bitmap_info.mutex` during the bitmap update.

📍 영향받는 시스템

md/bitmap 모듈이 포함된 Linux kernel (일반적으로 RAID 지원 커널)

⚔️ 공격 벡터

로컬 공격자가 RAID 배열 resize 작업 중 특정 조건을 유발하여 커널 패닉/GPF 유도

🛡️ 대응 방법

Linux kernel을 최신 버전으로 업데이트하거나 md/bitmap 모듈 관련 보안 패치 적용

🔧 검증 코드

CONFIG_BLK_DEV_MD=y 출력 시 RAID 지원이 활성화된 커널입니다. 해당 커널 버전의 md/bitmap 패치 여부를 확인해야 합니다.

Shell / Script
grep -i 'CONFIG_BLK_DEV_MD' /boot/config-$(uname -r) 2>/dev/null || echo 'Not found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel