🇰🇷 한글 설명
Linux 커널의 i.MX 플랫폼 imx-lpi2c 드라이버에서 시스템 절전(suspend) 또는 복구(resume) 과정 중 하드웨어 자원이 비활성화된 상태에서 I2C 전송이 시도될 수 있는 취약점입니다. 이로 인해 하드웨어 레지스터에 접근할 때 시스템이 멈추는(hang) 현상이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터가 잠자기 모드로 들어가거나 깨어날 때, 하드웨어가 꺼져 있는 짧은 순간에 장치가 작동하려고 시도하여 시스템이 멈출 수 있는 문제입니다. 이를 방지하기 위해 장치가 잠든 동안에는 새로운 명령을 내리지 못하도록 차단하는 조치가 필요합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i2c: imx-lpi2c: mark I2C adapter when hardware is powered down
On some i.MX platforms, certain I2C client drivers keep a periodic
workqueue which continues to trigger I2C transfers.
During system suspend/resume, there exists a time window between:
- suspend_noirq and the system entering suspend
- the system starting to resume and resume_noirq
In this window, the I2C controller resources such as clock and pinctrl
may already be disabled or not yet restored.
If a workqueue triggers an I2C transfer in this period, the driver
attempts to access I2C registers while the hardware resources are
unavailable, which may lead to system hang.
Mark the I2C adapter as suspended during noirq suspend and block new
transfers until resume, ensuring that I2C transfers are only issued
when hardware resources are available.
📍 영향받는 시스템
i.MX 플랫폼을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
물리적 접근 또는 시스템 전원 관리 상태 변화를 유도하여 시스템 중단 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인