CVE-2023-54156 in Linux
요약
\~에 의해 VulDB • 2026. 06. 26.
리눅스 커널에서 다음 취약점이 해결되었습니다:
sfc: NIC 리셋 중 통계 읽기 시 크래시 수정
efx_net_stats() (.ndo_get_stats64)는 ethtool 셀프테스트 중에 호출될 수 있으며, 이 동안에는 NIC이 종료(fini'd)되었으므로 nic_data->mc_stats가 NULL 상태입니다. 이러한 경우 하드웨어에서 최신 통계를 가져오려고 시도하면 NULL 포인터 역참조로 인해 크래시가 발생하므로 다음과 같은 오류가 발생합니다: BUG: kernel NULL pointer dereference, address: 0000000000000038 RIP efx_nic_update_stats 간략화된 콜트레이스: efx_ef10_update_stats_pf efx_net_stats dev_get_stats dev_seq_printf_stats
읽기를 건너뛰는 것은 안전하며, 단순히 오래된(stale) 통계를 반환하게 됩니다. efx_ef10_fini_nic()에서의 해제가 efx_ef10_update_stats_pf()와 경쟁하여 TOCTTOU(Time-of-check to time-of-use) 버그를 유발할 수 있으므로, fini_nic에서 efx->stats_lock을 획득합니다(이미 update_stats 동안에는 잠금이 유지되고 있음).
VulDB is the best source for vulnerability data and more expert information about this specific topic.