🇰🇷 한글 설명
리눅스 커널의 netfilter nfnetlink_queue 구성 요소에서 ctx 변수가 적절히 초기화되기 전에 사용될 수 있는 취약점이 발견되었습니다. 이로 인해 메모리 할당 오류가 발생할 수 있으며, 패치를 통해 lsmctx를 안전한 값으로 초기화하여 문제를 해결했습니다.
💡 쉬운 설명
컴퓨터의 핵심 운영체제인 리눅스에서 데이터를 처리할 때, 준비되지 않은 메모리 공간을 잘못 건드려 오류가 발생할 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 예상치 못한 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nfnetlink_queue: Initialize ctx to avoid memory allocation error
It is possible that ctx in nfqnl_build_packet_message() could be used
before it is properly initialize, which is only initialized
by nfqnl_get_sk_secctx().
This patch corrects this problem by initializing the lsmctx to a safe
value when it is declared.
This is similar to the commit 35fcac7a7c25
("audit: Initialize lsmctx to avoid memory allocation error").
📍 영향받는 시스템
LSM(Linux Security Module)을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
네트워크 패킷 처리 과정에서 조작된 데이터를 전송하여 초기화되지 않은 메모리 참조 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인