🇰🇷 한글 설명
Linux 커널의 mlx5 드라이버에서 트랜스포트 도메인(TD) 할당 후 루프백 활성화 과정에서 오류가 발생할 경우, 할당된 메모리가 해제되지 않고 누수되는 취약점이 발견되었습니다. 또한 뮤텍스 초기화 시점의 문제로 인해 시스템 안정성에 영향을 줄 수 있는 결함이 수정되었습니다.
💡 쉬운 설명
컴퓨터의 네트워크 부품을 관리하는 소프트웨어에서 사용이 끝난 메모리를 제대로 돌려주지 않아 시스템 자원이 낭비되는 문제가 있었습니다. 이로 인해 장시간 사용 시 시스템 성능이 떨어지거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
IB/mlx5: Fix transport-domain rollback and initialize lb mutex earlier
mlx5_ib_alloc_transport_domain() allocates a transport domain and then
may fail in mlx5_ib_enable_lb(). In that case, the allocated TD is leaked.
Fix this by deallocating the TD when mlx5_ib_enable_lb() returns an
error. Also return 0 explicitly in the no-loopback-capability success
branch, and move dev->lb.mutex initialization to mlx5_ib_stage_init_init().
📍 영향받는 시스템
Linux kernel (mlx5 IB driver 사용 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 사용자가 특정 네트워크 설정 변경을 유도하여 메모리 누수를 발생시킬 수 있음
🛡️ 대응 방법
mlx5 드라이버의 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인