🇰🇷 한글 설명
Linux 커널의 codetag_load_module() 함수에서 오류 발생 시 에러 코드가 제대로 전달되지 않아 모듈 로드 실패 후에도 성공(0)을 반환하는 문제가 있습니다. 또한, 라이브패치 모듈 로드 실패 시 할당된 klp_info 메모리가 해제되지 않고 누수되는 결함이 수정되었습니다.
💡 쉬운 설명
리눅스 시스템에서 특정 모듈을 불러오려다 실패했을 때, 시스템이 이를 성공한 것으로 착각하거나 메모리를 제대로 정리하지 못하는 버그가 있었습니다. 이로 인해 시스템의 안정성이 떨어지거나 메모리가 낭비될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
module: fix lost error code from codetag_load_module()
If codetag_load_module() fails, err is not set to reflect the failure
and load_module() returns 0 after the module has been torn down.
Also, if the module is a livepatch, mod->klp_info allocated by
copy_module_elf() leaks on this error path. Free it via a new
livepatch_cleanup label.
📍 영향받는 시스템
Linux Kernel (codetag_load_module 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 모듈 로드를 시도하여 에러 처리 미흡을 이용하거나 메모리 누수를 유발할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인하십시오.