🇰🇷 한글 설명
리눅스 커널의 firewire nosy 드라이버에서 패킷 내용을 가져올 때 user_length를 적절히 고려하지 않는 취약점이 발견되었습니다. packet_buffer_get 함수가 사용자가 제공한 길이를 준수하도록 수정하여, 헤더 패킷의 길이가 user_length를 초과할 경우 0을 반환함으로써 사용자 공간의 버퍼 오버플로우를 방지합니다.
💡 쉬운 설명
컴퓨터의 데이터 통로 중 하나인 firewire를 사용할 때, 데이터 크기를 잘못 계산하여 메모리가 넘치는 문제가 있었습니다. 이로 인해 해커가 시스템을 공격할 수 있었으나, 데이터 크기를 정확히 확인하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
firewire: nosy: ensure user_length is taken into account when fetching packet contents
Ensure that packet_buffer_get respects the user_length provided. If
the length of the head packet exceeds the user_length, packet_buffer_get
will now return 0 to signify to the user that no data were read
and a larger buffer size is required. Helps prevent user space overflows.
📍 영향받는 시스템
firewire nosy 드라이버를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
조작된 크기의 패킷을 전송하여 사용자 공간 메모리 오버플로우 유도
🛡️ 대응 방법
firewire nosy 취약점이 패치된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인