🇰🇷 한글 설명
Linux 커널의 ltc4282 hwmon 드라이버에서 clk_init_data 구조체가 완전히 초기화되지 않아 발생하는 취약점입니다. 특정 커널 설정(CONFIG_INIT_STACK_ALL_PATTERN 등)이 활성화된 경우, 초기화되지 않은 부모 클록 정보로 인해 시스템 충돌이 발생할 수 있습니다.
💡 쉬운 설명
하드웨어 제어를 위한 설정값이 제대로 채워지지 않아 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 보안 설정이 켜져 있을 때만 나타나는 잠재적인 오류입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (ltc4282) Make sure clk_init_data is fully initialized
The clk_init_data structure contains several mutually-exclusive members
for different methods to specify the possible parents of a clock,
prompting drivers to initialize only the members they need. However,
not initializing all members may cause subtle issues, which are only
exposed when CONFIG_INIT_STACK_ALL_PATTERN or CONFIG_INIT_STACK_NONE is
enabled.
ltc428_clk_provider_setup() does not fill in any parent clocks, and
assumes that init.num_parents is NULL. However, the latter in
uninitialized, and thus may cause a crash.
Make sure all members are fully initialized, to fix such bugs, and to
avoid future breakage when converting drivers to a different method for
specifying the parents.
📍 영향받는 시스템
ltc4282 드라이버를 사용하는 Linux 커널 (CONFIG_INIT_STACK_ALL_PATTERN 또는 CONFIG_INIT_STACK_NONE 설정 시 위험)
⚔️ 공격 벡터
로컬 공격자가 특정 커널 설정을 유도하거나 시스템 자원을 조작하여 커널 패닉(Crash)을 유발할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전과 함께 CONFIG_INIT_STACK_ALL_PATTERN 또는 CONFIG_INIT_STACK_NONE 설정이 'y'로 되어 있는지 확인하십시오.
uname -r && grep -E 'CONFIG_INIT_STACK_ALL_PATTERN|CONFIG_INIT_STACK_NONE' /boot/config-$(uname -r) 2>/dev/null