In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Fix missing NULL checks for kstrdup()
-
Replace "of_find_node_by_path("/")" with "of_root" to avoid multiple
calls to "of_node_put()".
-
Fix a potential kernel oops during early boot when memory allocation
fails while parsing CPU model from device tree.