🇰🇷 한글 설명
Linux 커널의 iio: adc: ti-ads1119 드라이버에서 PM(전원 관리) 참조 누수가 발생합니다. buffer preenable 과정 중 I2C 통신이 실패하면 전원 관리 참조 카운터가 해제되지 않아 장치가 무기한 활성 상태로 유지될 수 있습니다.
💡 쉬운 설명
기기 전원을 관리하는 과정에서 오류가 발생했을 때, 전원을 끄는 명령이 제대로 전달되지 않는 버그입니다. 이로 인해 장치가 계속 전력을 소모하며 잠들지 못하는 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
iio: adc: ti-ads1119: fix PM reference leak in buffer preenable
ads1119_triggered_buffer_preenable() resumes the device with
pm_runtime_resume_and_get() before starting a conversion.
If i2c_smbus_write_byte() fails, the function returns the error directly
and leaves the runtime PM usage counter elevated. The matching
postdisable callback is not called when preenable fails, so the reference
is leaked and the device may remain runtime-active indefinitely.
Store the I2C transfer result in ret and drop the runtime PM reference on
failure before returning the error.
📍 영향받는 시스템
Linux kernel (ti-ads1119 driver component)
⚔️ 공격 벡터
로컬 공격자가 I2C 통신 오류를 유도하여 시스템 자원(전력)을 고갈시키는 방식
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.