In the Linux kernel, the following vulnerability has been resolved: bpf: Limit bpf program signature size Practical BPF signatures are significantly smaller than KMALLOC_MAX_CACHE_SIZE Allowing larger sizes opens the door for abuse by passing excessive size values and forcing the kernel into expensive allocation paths (via kmalloc_large or vmalloc).
https://git.kernel.org/stable/c/eb8166c79097996396468a341de258a798789d36
https://git.kernel.org/stable/c/ea1535e28bb3773fc0b3cbd1f3842b808016990c
https://git.kernel.org/stable/c/5835a077c6f5c565d525eaca9fac01572b97a9b9