🇰🇷 한글 설명
Linux 커널의 EDAC/altera 구성 요소에서 altr_portb_setup() 함수가 devres 그룹 및 IRQ 요청 시 실제 부모 장치를 사용하지 않는 취약점이 해결되었습니다. 이로 인해 자원 해제 시 일관성이 결여될 수 있었으나, 이제 부모 장치를 참조함으로써 할당된 자원들이 함께 올바르게 해제됩니다.
💡 쉬운 설명
컴퓨터 부품을 사용할 때 빌려온 자원을 반납하는 과정에서 엉뚱한 대상을 참조하여 자원이 제대로 정리되지 않을 수 있었던 문제를 해결했습니다. 이제 시스템이 종료되거나 장치가 제거될 때 사용하던 메모리와 자원을 정확하고 안전하게 회수합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
EDAC/altera: Use parent device for devres in altr_portb_setup()
Anchor the devres group and the devm-managed IRQ requests in altr_portb_setup()
to the actual parent device (device->edac->dev) instead of the embedded struct
device inside the copied per-port altr_edac_device_dev.
This keeps devres_open_group(), devm_request_irq(), devres_remove_group() and
devres_release_group() all referring to the same long-lived device so the
group and the resources allocated inside it are torn down together.
📍 영향받는 시스템
Linux kernel (EDAC/altera driver 관련 버전)
⚔️ 공격 벡터
직접적인 공격은 어려우나, 자원 해제 오류를 이용한 시스템 불안정성 또는 메모리 누수 유발 가능성
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 이후의 버전인지 확인하십시오.