🇰🇷 한글 설명
Linux 커널의 net/sched cls_flow 구성 요소에서 커널 포인터가 노출되는 취약점이 발견되었습니다. 공격자가 사용자/네트워크 네임스페이스에서 클래스 통계를 통해 skb->sk, skb_dst() 또는 skb_nfct()와 같은 32비트 폴딩된 커널 포인터 값을 복구할 수 있습니다. 이를 해결하기 위해 기존의 XOR 폴딩 방식을 암호학적으로 안전한 keyed siphash로 교체하였습니다.
💡 쉬운 설명
해커가 네트워크 설정을 조작하여 컴퓨터 내부의 중요한 메모리 주소를 알아낼 수 있는 보안 약점이 있었습니다. 이 주소를 알게 되면 시스템의 다른 보안 장치를 무력화하는 데 악용될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
net/sched: cls_flow: Dont expose folded kernel pointers
The flow classifier falls back to addr_fold() for fields that are missing
from packet headers. In map mode, userspace controls mask, xor, rshift,
addend and divisor, and can observe the resulting classid through class
statistics. This allows a tc classifier in a user/network namespace to
recover the 32-bit folded value of skb->sk, skb_dst() or skb_nfct().
Align with standard kernel practices for pointer hashing and replace the
XOR folding with a keyed siphash (which is cryptographically secure)
📍 영향받는 시스템
Linux kernel (cls_flow 모듈을 사용하는 시스템)
⚔️ 공격 벡터
사용자 또는 네트워크 네임스페이스 내에서 tc classifier의 클래스 통계를 관찰하여 커널 포인터 값을 유추
🛡️ 대응 방법
커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 XOR 폴딩 대신 siphash를 사용하도록 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인