🇰🇷 한글 설명
리눅스 커널의 octeontx2-af 드라이버에서 kexec 부팅 시 PF 드라이버가 AF의 초기화 완료 상태를 잘못 감지하여 시스템 충돌이 발생하는 취약점입니다. 이는 이전 커널의 하드웨어 상태가 유지되면서 RVUM 블록 리비전 값이 초기화되지 않아 발생합니다.
💡 쉬운 설명
시스템을 재부팅할 때 이전 상태가 남아 있어 드라이버가 하드웨어 준비 여부를 잘못 판단해 프로그램이 충돌할 수 있습니다. 이는 재시작 과정에서 필요한 초기화 작업이 누락되어 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Fix PF driver crash with kexec kernel booting
During a kexec reboot the hardware is not power-cycled, so AF state from
the old kernel can persist into the new kernel. When AF and PF drivers
are built as modules, the PF driver may probe before AF reinitializes
the hardware.
The PF driver treats the RVUM block revision as an indication that AF
initialization is complete. If this value is left uncleared at shutdown,
PF may incorrectly assume AF is ready and access stale hardware state,
leading to a crash.
Clear the RVUM block revision during AF shutdown to avoid PF
mis-detecting AF readiness after kexec.
📍 영향받는 시스템
Linux kernel (octeontx2-af 드라이버 모듈 사용 시)
⚔️ 공격 벡터
kexec를 이용한 커널 재부팅 시 자동 발생 (악의적 공격 필요 없음)
🛡️ 대응 방법
벤더가 제공한 최신 커널 패치 또는 업데이트를 적용하여 RVUM 블록 리비전 초기화 로직을 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전이 패치가 적용된 최신 버전인지 확인합니다.