🇰🇷 한글 설명
Linux 커널의 netfilter x_tables 구성 요소에서 percpu 카운터 포인터가 유출되는 취약점이 발견되었습니다. 규칙 헤더를 복사하는 과정에서 의도적인 메모리 오류를 유발하면 커널 내부의 민감한 주소 정보가 사용자 공간으로 노출될 수 있습니다.
💡 쉬운 설명
컴퓨터의 중요한 내부 주소 정보가 실수로 외부로 새어나갈 수 있는 보안 허점이 발견되었습니다. 공격자가 이 주소를 알게 되면 시스템을 해킹하는 데 악용할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
netfilter: x_tables: avoid leaking percpu counter pointers
The native and compat get-entries paths copy the fixed rule entry header
from the kernelized rule blob to userspace before overwriting the entry's
counter fields with a sanitized counter snapshot.
On SMP kernels, entry->counters.pcnt contains the percpu allocation
address used by x_tables rule counters. A caller can provide a userspace
buffer that faults during the initial fixed-header copy after pcnt has
been copied but before the later sanitized counter copy runs. The syscall
then returns -EFAULT while leaving the raw percpu pointer in userspace.
Copy only the fixed entry prefix before counters from the kernelized rule
blob, then copy the sanitized counter snapshot into the counter field.
Apply this ordering to the IPv4, IPv6, and ARP native and compat
get-entries implementations so a fault cannot expose the internal percpu
counter pointer.
📍 영향받는 시스템
Linux kernel (netfilter: x_tables 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 사용자 공간 버퍼를 사용하여 시스템 호출 중 메모리 오류(fault)를 유발하여 커널 포인터 탈취
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.