cbcvebase.
CVE-2025-40060
published 2025-10-28

CVE-2025-40060: In the Linux kernel, the following vulnerability has been resolved: coresight: trbe: Return NULL pointer for allocation failures When the TRBE driver fails to…

PriorityP422high7.8
EPSS
0.21%
10.9th percentile
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

27 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < cef047e0a55cb07906fcaae99170f19a9c0bb6c2cef047e0a55cb07906fcaae99170f19a9c0bb6c2
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < fe53a726d5edf864e80b490780cc135fc1adece9fe53a726d5edf864e80b490780cc135fc1adece9
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < 9768536f82600a05ce901e31ccfabd92c027ff719768536f82600a05ce901e31ccfabd92c027ff71
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < 296da78494633e1ab5e2e74173a9c8683b04aa6b296da78494633e1ab5e2e74173a9c8683b04aa6b
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < f505a165f1c7cd37b4cb6952042a5984693a4067f505a165f1c7cd37b4cb6952042a5984693a4067
linuxlinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524 < 8a55c161f7f9c1aa1c70611b39830d51c83ef36d8a55c161f7f9c1aa1c70611b39830d51c83ef36d
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 5.15.0-170.1805.15.0-170.180
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 5.13.0 < 5.15.1955.15.195
linuxlinux_kernel>= 5.16.0 < 6.1.1566.1.156
linuxlinux_kernel>= 6.13.0 < 6.17.36.17.3
linuxlinux_kernel>= 6.2.0 < 6.6.1126.6.112
linuxlinux_kernel>= 6.7.0 < 6.12.536.12.53
msrcazl3_kernel_6.6.104.2-4_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-azure-5.15
ubuntulinux-intel-iotg-5.15
ubuntulinux-oracle

CVSS provenance

osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.