🇰🇷 한글 설명
Linux 커널의 bnxt_en 드라이버에서 TPA 버퍼 할당 실패 시 오류를 제대로 전파하지 못하는 취약점이 발견되었습니다. 이로 인해 일부가 초기화되지 않은 링 버퍼가 설치될 수 있으며, 하드웨어가 0으로 된 DMA 주소를 선택할 경우 시스템 불안정이나 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 장치가 메모리를 빌려 쓰는 과정에서 일부 빌리기에 실패했을 때, 이를 제대로 처리하지 못해 발생하는 문제입니다. 이로 인해 장치가 잘못된 메모리 주소를 참조하게 되어 시스템에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
bnxt_en: Propagate TPA buffer allocation failures in bnxt_queue_mem_alloc()
bnxt_alloc_one_tpa_info_data() returns -ENOMEM as soon as one allocation
fails. This leaves the remaining rxr->rx_tpa[] entries zeroed.
bnxt_queue_mem_alloc() discards that return value, so the partially
initialized ring is installed by bnxt_queue_start().
Since the agg_id is picked by the hardware and bnxt_alloc_agg_idx maps
it to a SW index in rxr->rx_tpa[], it is possible that an uninitialized
slot can be chosen which would hand a zero DMA address to the device.
Fix this by checking the return value of bnxt_alloc_one_tpa_info_data
and unwinding, freeing the ring buffers.
📍 영향받는 시스템
Linux kernel (bnxt_en driver 사용 시스템)
⚔️ 공격 벡터
메모리 부족 상황을 유도하여 초기화되지 않은 DMA 주소를 사용하게 만드는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.