{"id":"CVE-2026-31559","published":"2026-04-24T14:35:41Z","modified":"2026-05-23T16:05:21Z","title":"LoongArch: Fix missing NULL checks for kstrdup()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Fix missing NULL checks for kstrdup()\n\n1. Replace \"of_find_node_by_path(\"/\")\" with \"of_root\" to avoid multiple\ncalls to \"of_node_put()\".\n\n2. Fix a potential kernel oops during early boot when memory allocation\nfails while parsing CPU model from device tree.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00168,"percentile":0.03482,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0","tags":[]},{"url":"https://git.kernel.org/stable/c/a1da957c25cf751a2dce8fb7777f82ccbac0cb3e","tags":[]},{"url":"https://git.kernel.org/stable/c/b61a309743322fb57fb9afa9aa3495ac758e4f5e","tags":[]},{"url":"https://git.kernel.org/stable/c/3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1","tags":[]}],"priority":{"score":0.7,"factors":[{"name":"EPSS percentile","points":0.7}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= facc69f43502c135c16b97d5ded7253f15597912, < 5e7fde2c551f86e6c3de3fd7a9b1f52806ac8db0",">= 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8, < a1da957c25cf751a2dce8fb7777f82ccbac0cb3e",">= 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8, < b61a309743322fb57fb9afa9aa3495ac758e4f5e",">= 70a2365e18affc5ebdaab1ca6a0b3c4f3aac2ee8, < 3a28daa9b7d7c2ddf2c722e9e95d7e0928bf0cd1","620805dc674eab3055543496a7ef25beb9ffd2a8","8dfeedf9eceadc1a2fc9066b4c5230690d1cad48",">= 6.12.43, < 6.12.80",">= 6.15.11, < 6.16",">= 6.16.2, < 6.17"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2026-25452","exploited":false,"provenance":"source"}}