An issue was discovered in the Linux kernel through 5.16-rc6. lkdtm_ARRAY_BOUNDS in drivers/misc/lkdtm/bugs.c lacks check of the return value of kmalloc() and will cause the null pointer dereference.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-42531
https://cert-portal.siemens.com/productcert/html/ssa-794697.html