CVE-2026-43306

In the Linux kernel, the following vulnerability has been resolved: bpf: crypto: Use the correct destructor kfunc type With CONFIG_CFI enabled, the kernel strictly enforces that indirect function calls use a function pointer type that matches the target function. I ran into the following type mismatch when running BPF self-tests: CFI failure at bpf_obj_free_fields+0x190/0x238 (target: bpf_crypto_ctx_release+0x0/0x94; expected type: 0xa488ebfc) Internal error: Oops - CFI: 00000000f2008228 [#1] SMP ... As bpf_crypto_ctx_release() is also used in BPF programs and using a void pointer as the argument would make the verifier unhappy, add a simple stub function with the correct type and register it as the destructor kfunc instead.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bpf: crypto: Usar el tipo de kfunc de destructor correcto Con CONFIG_CFI habilitado, el kernel aplica estrictamente que las llamadas a funciones indirectas usen un tipo de puntero de función que coincida con la función objetivo. Me encontré con la siguiente falta de coincidencia de tipo al ejecutar las auto-pruebas de BPF: Fallo de CFI en bpf_obj_free_fields+0x190/0x238 (objetivo: bpf_crypto_ctx_release+0x0/0x94; tipo esperado: 0x a488ebfc) Error interno: Oops - CFI: 00000000f2008228 [#1] SMP ... Como bpf_crypto_ctx_release() también se usa en programas BPF y usar un puntero void como argumento haría que el verificador no estuviera satisfecho, añadir una función stub simple con el tipo correcto y registrarla como el kfunc de destructor en su lugar.

Information

Published : 2026-05-08 14:16

Updated : 2026-11-11 20:10


NVD link : CVE-2026-43306

Mitre link : CVE-2026-43306

CVE.ORG link : CVE-2026-43306


JSON object : View

Products Affected

linux

  • linux_kernel