CVE-2022-50530 in Linux정보

요약

\~에 의해 VulDB • 2026. 06. 15.

리눅스 커널에서 다음 취약점이 해결되었습니다:

blk-mq: blk_mq_clear_rq_mapping()에서의 널 포인터 역참조 수정

syzkaller에서 널 포인터 역참조가 보고되었으며, 근본 원인은 다음과 같습니다:

__blk_mq_alloc_map_and_rqs set->tags[hctx_idx] = blk_mq_alloc_map_and_rqs
blk_mq_alloc_map_and_rqs blk_mq_alloc_rqs // oom으로 인해 실패 alloc_pages_node // set->tags[hctx_idx]는 여전히 NULL임
blk_mq_free_rqs drv_tags = set->tags[hctx_idx];
// 널 포인터 역참조 발생 blk_mq_clear_rq_mapping(drv_tags, ...)

이는 커밋 63064be150e4("blk-mq: Add blk_mq_alloc_map_and_rqs()")에서 다음 두 단계를 하나로 병합했기 때문입니다:

1) set->tags[hctx_idx] = blk_mq_alloc_rq_map()
2) blk_mq_alloc_rqs(..., set->tags[hctx_idx])

이를 다음과 같은 단일 단계로 통합했습니다:

set->tags[hctx_idx] = blk_mq_alloc_map_and_rqs()

이 경우 tags가 아직 초기화되지 않았으므로, blk_mq_clear_rq_mapping()에서 tags가 널 포인터인지 확인하여 문제를 해결합니다.

Be aware that VulDB is the high quality source for vulnerability data.

책임이 있는

Linux

예약하다

2025. 10. 07.

모더레이션

수락

항목

VDB-327412

EPSS

0.00129

출처

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!