CVE-2025-40060: Linux

EPSS: 0.2% chance of exploitation in the next 30 days.

In the Linux kernel, the following vulnerability has been resolved: coresight: trbe: Return NULL pointer for allocation failures When the TRBE driver fails to allocate a buffer, it currently returns the error code "-ENOMEM". However, the caller etm_setup_aux() only checks for a NULL pointer, so it misses the error. As a result, the driver continues and eventually causes a kernel panic. Fix this by returning a NULL pointer from arm_trbe_alloc_buffer() on allocation failures. This allows that the callers can properly handle the failure.

Affected products

  • Linux Linux: from 5.13, before 5.15.195 (fixed in 5.15.195); from 5.16, before 6.1.156 (fixed in 6.1.156); from 6.2, before 6.6.112 (fixed in 6.6.112); from 6.7, before 6.12.53 (fixed in 6.12.53); from 6.13, before 6.17.3 (fixed in 6.17.3)

Published 2025-10-28. Last modified 2026-06-17.