🇰🇷 한글 설명
Linux 커널의 crypto: bcm 모듈에서 포인터 산술 오류 발생. spu2_dump_omd() 함수에서 hash_iv_len 대신 ciph_key_len으로 포인터가 증가되어 버퍼 경계를 초과할 수 있음. 이는 메모리 손상이나 정보 유출로 이어질 수 있음.
💡 쉬운 설명
리눅스 커널의 암호화 모듈에서 메모리 주소를 잘못 계산하는 버그입니다. 할당된 메모리 영역을 벗어나 접근하여 시스템 불안정이나 정보 노출을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
crypto: bcm - Fix pointer arithmetic
In spu2_dump_omd() value of ptr is increased by ciph_key_len
instead of hash_iv_len which could lead to going beyond the
buffer boundaries.
Fix this bug by changing ciph_key_len to hash_iv_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
📍 영향받는 시스템
Linux kernel (BCM SPU2 암호화 가속기 탑재 시스템)
⚔️ 공격 벡터
로컬 사용자가 영향받는 커널 함수 호출 시 버퍼 오버플로우 트리거
🛡️ 대응 방법
Linux 커널을 CVE-2024-38579 수정이 포함된 버전 이상으로 업데이트
🔧 검증 코드
커널 드라이버가 설치된 경우 수정된 코드 확인, 없으면 현재 커널 버전 표시. 패치된 버전 릴리스노트와 비교하여 보안 업데이트 확인 필요.
grep -r 'hash_iv_len' /lib/modules/$(uname -r)/kernel/drivers/crypto/bcm/ 2>/dev/null || uname -r