🇰🇷 한글 설명
Linux 커널의 octeontx2-pf 드라이버 내 otx2_tc_add_flow() 함수에서 Use-After-Free 취약점이 발견되었습니다. 메모리 해제 함수인 kfree_rcu()를 호출한 후 해당 메모리 주소를 다시 참조하여 발생하는 문제입니다. 이 문제는 메모리 참조 순서를 재조정하여 해결되었습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
This code calls kfree_rcu(new_node, rcu) and then dereferences "new_node"
and then dereferences it on the next line. Two lines later, we take
a mutex so I don't think this is an RCU safe region. Re-order it to do
the dereferences before queuing up the free.
📍 영향받는 시스템
octeontx2-pf 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 특정 네트워크 트래픽 제어(tc) 설정을 조작하여 메모리 오류를 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인