🇰🇷 한글 설명
Linux 커널의 RDMA/hfi1 드라이버에서 할당 실패 시 유닛 번호를 잘못 처리하는 취약점이 발견되었습니다. 자원 할당 중 오류가 발생하면 초기화된 0번 유닛을 실제 장치가 할당된 것으로 오인하여, 엉뚱한 장치의 정보를 삭제할 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터 부품을 설치하다가 오류가 났을 때, 시스템이 실수로 이미 잘 작동 중인 다른 부품의 정보를 지워버릴 수 있는 오류입니다. 이로 인해 시스템의 네트워크 연결 장치 정보가 꼬일 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hfi1: Preserve unit 0 on allocation failure
hfi1_free_devdata() assumes that the device was inserted into the unit
table and unconditionally erases dd->unit. If xa_alloc_irq() fails, the
zero-initialized unit remains zero, so full cleanup can remove an
unrelated device from index 0.
Release only the rdmavt allocation and return immediately while the unit
table has not acquired the device.
📍 영향받는 시스템
Linux kernel (RDMA/hfi1 driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 자원 할당 실패를 유도하여 커널 데이터 구조를 오염시키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.