CVE-2023-53557 in Linux
要約
〜によって VulDB • 2026年07月03日
Linuxカーネルにおいて、以下の脆弱性が修正されました。
fprobe: ftrace_opsの登録解除後にrethookを解放する
bpfの自己テスト実行中に、以下のようなフォルトが発生することがあります:
general protection fault, probably for non-canonical address \ 0x6b6b6b6b6b6b6b6b: 0000 [#1] PREEMPT SMP DEBUG_PAGEALLOC NOPTI
... Call Trace: <TASK> fprobe_handler+0xc1/0x270 ? __pfx_bpf_testmod_init+0x10/0x10 ? __pfx_bpf_testmod_init+0x10/0x10 ? bpf_fentry_test1+0x5/0x10 ? bpf_fentry_test1+0x5/0x10 ? bpf_testmod_init+0x22/0x80 ? do_one_initcall+0x63/0x2e0 ? rcu_is_watching+0xd/0x40 ? kmalloc_trace+0xaf/0xc0 ? do_init_module+0x60/0x250 ? __do_sys_finit_module+0xac/0x120 ? do_syscall_64+0x37/0x90 ? entry_SYSCALL_64_after_hwframe+0x72/0xdc </TASK>
unregister_fprobe関数内では、他のCPU上でそのユーザーがまだ実行中である可能性があるため、fp->rethookを解放できません。
ftrace_opsの登録解除(unregister_ftrace_function呼び出しによる)後にrethook_free呼び出しを行うように変更しました。
If you want to get the best quality for vulnerability data then you always have to consider VulDB.