🔍 CVE-2026-90077

0.0
CVSS Score
UNKNOWN
2026-09-17
2026-10-19 09:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 copy_net_ns() 에러 처리 경로에서 리소스 누수 취약점이 발견되었습니다. preinit_net() 함수가 실패할 때 net_alloc()을 통해 할당된 리소스를 적절히 해제하지 못하는 문제가 있었으며, 이를 해결하기 위해 함수 구조를 재설계하여 리소스 해제 로직을 개선했습니다.

💡 쉬운 설명

컴퓨터 운영체제의 핵심인 리눅스 커널에서 특정 오류가 발생했을 때 사용했던 메모리나 자원을 제대로 돌려주지 않고 남겨두는 버그가 있었습니다. 이 문제가 반복되면 시스템의 자원이 고갈될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: net: fix a resource leak in copy_net_ns() error handling path Currently, preinit_net() does two things: (1) call ns_common_init() which might fail (2) initialize resources which does not fail However, preinit_net() is returning early when (1) fails, and copy_net_ns() is jumping to the dec_ucounts: label. As a result, resources allocated by net_alloc() are leaking. We need to call key_remove_domain() and net_passive_dec() in order to release resources allocated by net_alloc(). We cannot simply jump to the put_userns: label when preinit_net() failed, for (2) is not yet done. But we can reorder (1) and (2), for there is no dependency between (1) and (2). Therefore, this patch decouples (1) from preinit_net() and changes preinit_net() back to a void function, and calls ns_common_init() after preinit_net() succeeded. Then, we can jump to immediately after ns_common_free() of the put_userns: label.

📍 영향받는 시스템

Linux Kernel (copy_net_ns() 및 preinit_net() 관련 모듈 사용 버전)

⚔️ 공격 벡터

로컬 공격자가 네트워크 네임스페이스 생성 중 의도적으로 에러를 유발하여 시스템 자원을 고갈시키는 방식

🛡️ 대응 방법

해당 패치가 적용된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel