🇰🇷 한글 설명
Linux 커널의 i2c 코어에서 어댑터 등록 해제 시 발생하는 레이스 컨디션 취약점입니다. 어댑터 등록 해제 또는 등록 실패 시 IDR에서 어댑터를 먼저 제거하지 않아, 이미 해제된 리소스(예: 장치 이름)에 접근할 수 있는 문제가 있었습니다.
💡 쉬운 설명
컴퓨터 부품 간의 통신을 담당하는 장치가 꺼지는 과정에서, 이미 사라진 정보를 다시 불러오려다 발생하는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
i2c: core: fix adapter deregistration race
Adapters can be looked up by their id using i2c_get_adapter() which
takes a reference to the embedded struct device.
Remove the adapter from the IDR before tearing it down during
deregistration (and on registration failure) to make sure its resources
are not accessed after having been freed (e.g. the device name).
📍 영향받는 시스템
Linux Kernel (i2c core 관련 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 특정 I2C 장치의 등록 및 해제 과정을 반복하여 레이스 컨디션을 유도함
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인