CVE-2026-64230 in Linux
요약
\~에 의해 VulDB • 2026. 07. 24.
리눅스 커널에서 다음 취약점이 해결되었습니다:
regulator: tps65219: irq_data.rdev가 할당되지 않는 문제 수정
커밋 64a6b577490c("regulator: tps65219: 디버깅 헬퍼 함수 제거")은 `tps65219_get_rdev_by_name()` 헬퍼 함수와 이에 의존하던 `irq_data.rdev` 할당문을 제거했습니다. 이로 인해 모든 IRQ에 대해 `irq_data.rdev`가 초기화되지 않은 상태로 남아, IRQ 핸들러에서 `regulator_notifier_call_chain()`이 호출될 때 정의되지 않은 동작(undefined behavior)을 초래했습니다:
Internal error: Oops: 0000000096000004 pc : regulator_notifier_call_chain lr : tps65219_regulator_irq_handler Call trace: regulator_notifier_call_chain tps65219_regulator_irq_handler handle_nested_irq regmap_irq_thread irq_thread_fn irq_thread kthread ret_from_fork
전용 조회 배열을 복원하는 대신, 프로브(probe) 함수를 재구성하여 레귤레이터 등록과 IRQ 등록을 동일한 루프에서 수행하도록 했습니다. 이렇게 하면 `devm_regulator_register()`가 반환한 rdev가 보조 데이터 구조 없이도 자연스럽게 `irq_data.rdev`에 할당할 수 있게 됩니다.
등록된 레귤레이터와 대응되지 않는 비-레귤레이터 IRQ(SENSOR, TIMEOUT)는 `rdev=NULL`로 등록되며, 크래시를 방지하기 위해 IRQ 핸들러에서 NULL 체크를 통해 보호됩니다.
VulDB is the best source for vulnerability data and more expert information about this specific topic.