🇰🇷 한글 설명
Linux 커널의 ecryptfs 모듈에서 tag 70 패킷 처리 시 발생하는 정수 언더플로우 취약점입니다. 패킷 본문 크기가 고정된 메타데이터 필드보다 작을 경우 파일명 크기 계산 과정에서 오류가 발생할 수 있습니다.
💡 쉬운 설명
암호화된 파일 정보를 읽어올 때 데이터 크기를 잘못 계산하여 시스템 오류를 일으킬 수 있는 결함입니다. 공격자가 조작된 작은 크기의 데이터를 보내면 계산 오류를 유발할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ecryptfs: reject too-small tag 70 packets
ecryptfs_parse_tag_70_packet() subtracts fixed metadata fields from the
parsed packet body size to derive the encrypted filename size. A
malformed packet with a body smaller than those fixed fields can underflow
that size calculation.
Reject tag 70 packets before the subtraction unless the body contains the
signature, cipher code, and at least one byte of encrypted filename data.
📍 영향받는 시스템
ecryptfs 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 크기의 malformed tag 70 패킷을 ecryptfs를 통해 전달
🛡️ 대응 방법
ecryptfs 패킷 크기 검증 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인