🔍 CVE-2026-89498

0.0
CVSS Score
UNKNOWN
2026-09-11
2026-10-19 09:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 orangefs 모듈에서 readdir 작업 중 복사 실패 시 trailer_buf를 중복 해제하는 취약점이 발견되었습니다. 데이터 복사 오류 발생 시 포인터를 초기화하지 않아, 이후 프로세스가 동일한 메모리 주소를 다시 해제하면서 발생하는 결정론적 double-free 문제입니다.

💡 쉬운 설명

컴퓨터 메모리를 관리하는 과정에서 이미 사용이 끝난 메모리 공간을 실수로 두 번 삭제하려고 시도하는 오류입니다. 공격자가 특수한 데이터를 보내 메모리 관리 체계를 혼란시켜 시스템을 중단시키거나 제어권을 얻을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: orangefs: fix double-free of trailer_buf on readdir copy failure On a readdir downcall, orangefs_devreq_write_iter() frees op->downcall.trailer_buf with vfree() when copy_from_iter_full() fails, but does not clear the pointer before goto Efault. The waiter in do_readdir() is then woken with a negative status and frees the same pointer again on its r < 0 path, causing a deterministic double-free. A client holding /dev/pvfs2-req triggers it by sending a readdir downcall whose declared trailer_size exceeds the bytes it supplies. Clear the pointer after freeing so the readdir-side vfree() becomes a no-op.

📍 영향받는 시스템

OrangeFS 파일 시스템을 사용하는 Linux 커널 버전

⚔️ 공격 벡터

/dev/pvfs2-req 장치에 실제 데이터보다 큰 trailer_size를 포함한 readdir 요청을 전송

🛡️ 대응 방법

커널 패치를 적용하여 메모리 해제 후 포인터를 NULL로 초기화하도록 업데이트

🔧 검증 코드

현재 커널 버전과 orangefs 모듈의 정보를 확인하여 패치 적용 여부를 검토합니다.

Shell / Script
uname -r && modinfo orangefs 2>/dev/null

💻 영향받는 소프트웨어

Linux Kernel