> Replace kmalloc_array() with kcalloc() to avoid old (dirty) data being > used/freed. > Moreover, add a check for "bdt_info". Otherwise, if one of the allocations … Please provide desired changes as separate update steps. See also: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.13#n81 Regards, Markus