Merge "kernel/lib: add additional debug capabilites for data corruption"