🇰🇷 한글 설명
Linux 커널의 PowerPC 64비트 아키텍처에서 jump label 초기화(jump_label_init)가 parse_early_param() 이후에 호출되어, 'threadirqs' 등 부팅 인자 처리 중 static key가 초기화되기 전에 사용되는 문제가 있었습니다. 이로 인해 부팅 시 경고가 발생하며, 이를 해결하기 위해 jump_label_init() 호출 위치를 parse_early_param() 이전으로 옮겼습니다.
💡 쉬운 설명
컴퓨터가 켜질 때 필요한 설정을 읽는 순서가 잘못되어 경고가 뜨는 문제였습니다. 순서를 바로잡아 이 문제를 고쳤습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
powerpc/64: Init jump labels before parse_early_param()
On 64-bit, calling jump_label_init() in setup_feature_keys() is too
late because static keys may be used in subroutines of
parse_early_param() which is again subroutine of early_init_devtree().
For example booting with "threadirqs":
static_key_enable_cpuslocked(): static key '0xc000000002953260' used before call to jump_label_init()
WARNING: CPU: 0 PID: 0 at kernel/jump_label.c:166 static_key_enable_cpuslocked+0xfc/0x120
...
NIP static_key_enable_cpuslocked+0xfc/0x120
LR static_key_enable_cpuslocked+0xf8/0x120
Call Trace:
static_key_enable_cpuslocked+0xf8/0x120 (unreliable)
static_key_enable+0x30/0x50
setup_forced_irqthreads+0x28/0x40
do_early_param+0xa0/0x108
parse_args+0x290/0x4e0
parse_early_options+0x48/0x5c
parse_early_param+0x58/0x84
early_init_devtree+0xd4/0x518
early_setup+0xb4/0x214
So call jump_label_init() just before parse_early_param() in
early_init_devtree().
[mpe: Add call trace to change log and minor wording edits.]
📍 영향받는 시스템
PowerPC 64비트 아키텍처를 사용하는 Linux 커널 (수정 이전 버전)
⚔️ 공격 벡터
원격 공격 경로는 확인되지 않았으며, 부팅 시 초기화 순서 오류로 인한 경고 및 불안정성 문제입니다.
🛡️ 대응 방법
해당 수정이 포함된 최신 Linux 커널 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 아키텍처가 ppc64 또는 ppc64le이면 PowerPC 64비트 시스템이며, 커널 버전을 배포판 보안 공지와 대조해 수정 여부를 확인하십시오.