🇰🇷 한글 설명
Linux 커널의 isp1301 PHY 드라이버에서 non-OF(Open Firmware) 환경 사용 시 장치 참조 횟수 불균형으로 인한 Use-After-Free 취약점이 발견되었습니다. isp1301_get_client() 헬퍼 함수가 OF 케이스에서만 참조 횟수를 증가시켜, non-OF 케이스에서 잘못된 메모리 참조가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품을 관리하는 소프트웨어에서 부품을 사용 중이라고 표시하는 횟수를 제대로 세지 않아 발생하는 문제입니다. 이로 인해 이미 사용이 끝난 메모리 영역에 접근하게 되어 시스템이 충돌하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: phy: isp1301: fix non-OF device reference imbalance
A recent change fixing a device reference leak in a UDC driver
introduced a potential use-after-free in the non-OF case as the
isp1301_get_client() helper only increases the reference count for the
returned I2C device in the OF case.
Increment the reference count also for non-OF so that the caller can
decrement it unconditionally.
Note that this is inherently racy just as using the returned I2C device
is since nothing is preventing the PHY driver from being unbound while
in use.
📍 영향받는 시스템
isp1301 PHY 드라이버를 사용하는 Linux 커널 (non-OF 환경)
⚔️ 공격 벡터
특정 하드웨어 구성(non-OF)에서 드라이버 언바인딩을 유도하여 메모리 오류를 일으키는 방식
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 isp1301 참조 횟수 수정 사항을 반영해야 합니다.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.