{"id":"CVE-2025-40059","published":"2025-10-28T11:48:32Z","modified":"2026-05-11T21:41:41Z","title":"coresight: Fix incorrect handling for return value of devm_kzalloc","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: Fix incorrect handling for return value of devm_kzalloc\n\nThe return value of devm_kzalloc could be an null pointer,\nuse \"!desc.pdata\" to fix incorrect handling return value\nof devm_kzalloc.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00274,"percentile":0.12535,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8c4e7e646d5d9050b374baf5c6bb3a00fb79e206","tags":[]},{"url":"https://git.kernel.org/stable/c/9688b66d0a5e0eecf44f6286b8d9f7a161264035","tags":[]},{"url":"https://git.kernel.org/stable/c/70714eb7243eaf333d23501d4c7bdd9daf011c01","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.51}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4277f035d227e829133df284be7e35b7236a5b0f, < 8c4e7e646d5d9050b374baf5c6bb3a00fb79e206",">= 4277f035d227e829133df284be7e35b7236a5b0f, < 9688b66d0a5e0eecf44f6286b8d9f7a161264035",">= 4277f035d227e829133df284be7e35b7236a5b0f, < 70714eb7243eaf333d23501d4c7bdd9daf011c01"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2025-36469","exploited":false,"provenance":"source"}}