🇰🇷 한글 설명
Linux 커널의 RDMA/rtrs 구성 요소에서 'ib_sge list' 변수가 특정 블록 내에 국한되어 선언됨으로써 발생하는 NULL 포인터 역참조 취약점입니다. 이로 인해 커널 패닉(BUG)이 발생하여 시스템이 중단될 수 있습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제(커널)에서 데이터를 처리할 때 필요한 정보가 담긴 상자를 잘못된 위치에 두어, 시스템이 정보를 찾지 못하고 멈춰버리는 문제입니다. 이 문제가 발생하면 컴퓨터가 갑자기 꺼지거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs: Ensure 'ib_sge list' is accessible
Move the declaration of the 'ib_sge list' variable outside the
'always_invalidate' block to ensure it remains accessible for use
throughout the function.
Previously, 'ib_sge list' was declared within the 'always_invalidate'
block, limiting its accessibility, then caused a
'BUG: kernel NULL pointer dereference'[1].
? __die_body.cold+0x19/0x27
? page_fault_oops+0x15a/0x2d0
? search_module_extables+0x19/0x60
? search_bpf_extables+0x5f/0x80
? exc_page_fault+0x7e/0x180
? asm_exc_page_fault+0x26/0x30
? memcpy_orig+0xd5/0x140
rxe_mr_copy+0x1c3/0x200 [rdma_rxe]
? rxe_pool_get_index+0x4b/0x80 [rdma_rxe]
copy_data+0xa5/0x230 [rdma_rxe]
rxe_requester+0xd9b/0xf70 [rdma_rxe]
? finish_task_switch.isra.0+0x99/0x2e0
rxe_sender+0x13/0x40 [rdma_rxe]
do_task+0x68/0x1e0 [rdma_rxe]
process_one_work+0x177/0x330
worker_thread+0x252/0x390
? __pfx_worker_thread+0x10/0x10
This change ensures the variable is available for subsequent operations
that require it.
[1] https://lore.kernel.org/linux-rdma/
[email protected]/
📍 영향받는 시스템
RDMA/rxe 모듈을 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
RDMA 네트워크를 통한 특수하게 조작된 데이터 패킷 전송을 통한 커널 NULL 포인터 역참조 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 배포판의 보안 업데이트 버전인지 확인