In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]powerpc/64: Init jump labels before parse_early_param()[EOL][EOL]On 64-bit, calling jump_label_init() in setup_feature_keys() is too[EOL]late because static keys may be used in subroutines of[EOL]parse_early_param() which is again subroutine of early_init_devtree().[EOL][EOL]For example booting with "threadirqs":[EOL][EOL] static_key_enable_cpuslocked(): static key '0xc000000002953260' used before call to jump_label_init()[EOL] WARNING: CPU: 0 PID: 0 at kernel/jump_label.c:166 static_key_enable_cpuslocked+0xfc/0x120[EOL] ...[EOL] NIP static_key_enable_cpuslocked+0xfc/0x120[EOL] LR static_key_enable_cpuslocked+0xf8/0x120[EOL] Call Trace:[EOL] static_key_enable_cpuslocked+0xf8/0x120 (unreliable)[EOL] static_key_enable+0x30/0x50[EOL] setup_forced_irqthreads+0x28/0x40[EOL] do_early_param+0xa0/0x108[EOL] parse_args+0x290/0x4e0[EOL] parse_early_options+0x48/0x5c[EOL] parse_early_param+0x58/0x84[EOL] early_init_devtree+0xd4/0x518[EOL] early_setup+0xb4/0x214[EOL][EOL]So call jump_label_init() just before parse_early_param() in[EOL]early_init_devtree().[EOL][EOL][mpe: Add call trace to change log and minor wording edits.] CREATE(Triage):(User=lchen-cn) [CVE-2022-50012 (https://nvd.nist.gov/vuln/detail/CVE-2022-50012)