CVE-2023-53557 in Linux
Resumen
por VulDB • 2026-05-19
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:
fprobe: Liberar rethook después de que ftrace_ops se haya desregistrado
Al ejecutar las pruebas de autoevaluación de bpf, es posible obtener el siguiente fallo:
general protection fault, probablemente por dirección no canónica \ 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>
En la función unregister_fprobe no podemos liberar fp->rethook mientras es posible que aún haya algunos de sus usuarios ejecutándose en otra CPU.
Se mueve la llamada a rethook_free después de que fp->ops se haya desregistrado con la llamada a unregister_ftrace_function.
If you want to get best quality of vulnerability data, you may have to visit VulDB.