🇰🇷 한글 설명
Linux 커널의 accel/ethosu 드라이버에서 구현되지 않은 NPU_OP_RESIZE 명령을 처리할 때 WARN_ON(1)을 호출하여 커널 로그를 과도하게 생성하는 취약점입니다. panic_on_warn 설정이 활성화된 경우, 권한이 없는 사용자가 이 명령을 제출하여 커널 패닉을 유도하고 시스템 서비스 거부(DoS)를 일으킬 수 있습니다.
💡 쉬운 설명
특정 명령을 잘못 보냈을 때 시스템이 경고를 남기는 대신 아예 멈춰버릴 수 있는 문제입니다. 공격자가 이 명령을 반복해서 보내면 컴퓨터가 작동을 멈추게 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
accel/ethosu: reject NPU_OP_RESIZE commands from userspace
NPU_OP_RESIZE is a U85-only command that the driver does not yet
implement. The existing WARN_ON(1) placeholder fires unconditionally
whenever userspace submits this command via DRM_IOCTL_ETHOSU_GEM_CREATE,
causing unbounded kernel log spam.
If panic_on_warn is set the kernel panics, giving any unprivileged user
with access to the DRM device a trivial denial-of-service primitive.
Replace the WARN_ON(1) with an explicit -EINVAL return so the ioctl
rejects the command before it reaches hardware.
📍 영향받는 시스템
Linux kernel (accel/ethosu driver component)
⚔️ 공격 벡터
DRM 장치에 접근 권한이 있는 로컬 사용자가 DRM_IOCTL_ETHOSU_GEM_CREATE를 통해 NPU_OP_RESIZE 명령을 제출
🛡️ 대응 방법
커널 패치를 적용하여 WARN_ON(1)을 -EINVAL 반환으로 교체하여 해당 명령을 거부하도록 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전인지 배포판 보안 공지를 통해 확인