🇰🇷 한글 설명
Linux 커널의 rxrpc 구성 요소에서 신뢰할 수 없는 부호 없는 정수 뺄셈(untrusted unsigned subtract) 취약점이 발견되었습니다. rxgk_app.c 파일의 티켓 디코딩 과정에서 데이터 길이를 사전에 검증하지 않아 발생하며, 이를 해결하기 위해 길이 검증 로직이 추가되었습니다.
💡 쉬운 설명
데이터의 길이를 확인하지 않고 숫자를 빼는 과정에서 오류가 발생할 수 있는 보안 약점입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 공격자가 조작된 데이터를 보낼 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
rxrpc: Fix untrusted unsigned subtract
Fix the following Smatch static checker warning:
net/rxrpc/rxgk_app.c:65 rxgk_yfs_decode_ticket()
warn: untrusted unsigned subtract. 'ticket_len - 10 * 4'
by prechecking the length of what we're trying to extract in two places in
the token and decoding for a response packet.
Also use sizeof() on the struct we're extracting rather specifying the size
numerically to be consistent with the other related statements.
📍 영향받는 시스템
rxrpc 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 응답 패킷을 전송하여 rxrpc 티켓 디코딩 로직의 정수 언더플로우 유도
🛡️ 대응 방법
rxrpc 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인