Correct it can be due to kernel configuration, please compare your .config with the NXP bsp .config file, Also check your memory allocs, since your issue sometimes happends sometime not it could be due to it.