🇰🇷 한글 설명
Linux 커널의 accel: ethosu 드라이버에서 U65 하드웨어의 반올림 모드 비트를 저장 모드로 잘못 해석하는 취약점이 발견되었습니다. 이로 인해 특정 명령 스트림이 유효하지 않은 값으로 처리되어 실패하거나, 잘못된 메모리 주소 및 피처 맵 크기를 계산하는 오류가 발생합니다.
💡 쉬운 설명
컴퓨터의 AI 연산 장치(NPU)가 숫자를 처리하는 방식(반올림)을 데이터 저장 방식과 혼동하여 계산 오류를 일으키는 문제입니다. 이로 인해 특정 AI 작업이 실패하거나 잘못된 결과가 나올 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel: ethosu: Don't read the U65 rounding mode as a storage mode
Bits 15:14 of NPU_SET_{IFM,OFM}_PRECISION select the activation storage
mode on U85 only. On U65 the same field holds the rounding mode, and the
command stream parser has read it as a storage mode since the driver was
added.
That went unnoticed while unknown values fell through the switch, but
now that they are rejected, every U65 command stream that asks for
natural rounding (2) fails CMDSTREAM_BO_CREATE with -EINVAL. Mesa emits
it for average pooling, concatenation, split, unpack, strided slice, LUT
and argmax, which is 72 failures of the Teflon test suite on an i.MX93.
Truncating rounding (1) is misread as well: it picks the two-tile
address path and computes a bogus feature map size from tile bases the
command stream never set.
Read the field as a storage mode only on the hardware where it is one.
📍 영향받는 시스템
Linux kernel (accel: ethosu driver, specifically U65 hardware support)
⚔️ 공격 벡터
Local (잘못된 명령 스트림을 생성하여 시스템의 계산 오류 유도)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ethosu 드라이버의 비트 해석 로직을 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.