🇰🇷 한글 설명
Linux 커널의 fsl-edma 드라이버에서 트레이싱 로그 출력 시 유효하지 않은 포인터를 참조하는 취약점이 발견되었습니다. 공격자가 이벤트 주입을 통해 잘못된 메모리 주소를 참조하게 만들면 시스템 충돌(Crash)을 유발할 수 있습니다.
💡 쉬운 설명
시스템의 기록을 남기는 과정에서 이미 사라진 메모리 주소를 참조하여 컴퓨터가 갑자기 멈추거나 꺼질 수 있는 문제입니다. 악의적인 데이터를 입력하여 시스템을 강제로 다운시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: fsl-edma: tracing: no ptr dereference during log output
The fsl edma events store a pointer to a struct fsl_edma_engine in the
ringbuffer and dereference it when a log entry is printed. At this time,
the pointer may no longer be valid.
Event injection can be used to trigger a crash:
$ cd /sys/kernel/tracing
$ echo 'value = 0' > events/fsl_edma/edma_writeb/inject
$ cat trace
The log output needs only edma->membase. Add a membase field at the end
of the event and use the new field for log output. Keep the existing
fields for backward compatibility.
📍 영향받는 시스템
fsl-edma 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
sysfs의 tracing 인터페이스를 통한 이벤트 주입(Event Injection)
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인합니다.