{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40060","published":"2025-10-28T12:15:40.377000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40060/","html_en":"/en/cve/CVE-2025-40060/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40060","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40060"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: trbe: Return NULL pointer for allocation failures\n\nWhen the TRBE driver fails to allocate a buffer, it currently returns\nthe error code \"-ENOMEM\". However, the caller etm_setup_aux() only\nchecks for a NULL pointer, so it misses the error. As a result, the\ndriver continues and eventually causes a kernel panic.\n\nFix this by returning a NULL pointer from arm_trbe_alloc_buffer() on\nallocation failures. This allows that the callers can properly handle\nthe failure.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/296da78494633e1ab5e2e74173a9c8683b04aa6b","tags":[]},{"url":"https://git.kernel.org/stable/c/8a55c161f7f9c1aa1c70611b39830d51c83ef36d","tags":[]},{"url":"https://git.kernel.org/stable/c/9768536f82600a05ce901e31ccfabd92c027ff71","tags":[]},{"url":"https://git.kernel.org/stable/c/cef047e0a55cb07906fcaae99170f19a9c0bb6c2","tags":[]},{"url":"https://git.kernel.org/stable/c/f505a165f1c7cd37b4cb6952042a5984693a4067","tags":[]},{"url":"https://git.kernel.org/stable/c/fe53a726d5edf864e80b490780cc135fc1adece9","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10301-1","url":"https://www.suse.com/support/update/","published":"2026-03-07T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-longterm-6.18.16-1.1 on GA media"}}]}