🇰🇷 한글 설명
Linux 커널의 ds90ub9x3 드라이버에서 fwnode_handle_put() 함수가 중복 호출되는 취약점이 발견되었습니다. 드라이버가 여러 번 제거될 경우 참조 횟수가 초과되어 메모리 손상이나 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
장치를 제거할 때 시스템이 내부적으로 자원을 정리하는 과정에서 실수가 발생하여, 이미 정리된 자원을 또 정리하려고 시도하는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: i2c: ds90ub9x3: Fix extra fwnode_handle_put()
The ub913 and ub953 drivers call fwnode_handle_put(priv->sd.fwnode) as
part of their remove process, and if the driver is removed multiple
times, eventually leads to put "overflow", possibly causing memory
corruption or crash.
The fwnode_handle_put() is a leftover from commit 905f88ccebb1 ("media:
i2c: ds90ub9x3: Fix sub-device matching"), which changed the code
related to the sd.fwnode, but missed removing these fwnode_handle_put()
calls.
📍 영향받는 시스템
ds90ub9x3(ub913, ub953) 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
드라이버 제거 프로세스를 반복적으로 트리거하여 메모리 오버플로우 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 릴리스 버전인지 확인