CVE-2025-40060

Not scored yetLast modified Oct 19, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

VendorProductVersions
LinuxLinux>= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < cef047e0a55cb07906fcaae99170f19a9c0bb6c2; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < fe53a726d5edf864e80b490780cc135fc1adece9; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 9768536f82600a05ce901e31ccfabd92c027ff71; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 296da78494633e1ab5e2e74173a9c8683b04aa6b; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < f505a165f1c7cd37b4cb6952042a5984693a4067; >= 3fbf7f011f2426dac8c982f1d2ef469a7959a524, < 8a55c161f7f9c1aa1c70611b39830d51c83ef36d
LinuxLinux5.13

References

Timeline

Published
Oct 28, 2025
Last modified
Oct 19, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-400617.8In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix race in do_task() when draining When do_task() exhausts CVE-2025-40062In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/qm - set NULL to qm->debug.qm_diff_regs When the iniCVE-2025-400637.0In the Linux kernel, the following vulnerability has been resolved: crypto: comp - Use same definition of context alloc and free ops In coCVE-2025-400647.8In the Linux kernel, the following vulnerability has been resolved: smc: Fix use-after-free in __pnet_find_base_ndev(). syzbot reported usCVE-2025-40065In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Write hgatp register with valid mode bits According to thCVE-2025-40066In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_aCVE-2025-400677.8In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: reject index allocation if $BITMAP is empty but blocks exist CVE-2025-400688.4In the Linux kernel, the following vulnerability has been resolved: fs: ntfs3: Fix integer overflow in run_unpack() The MFT record relativCVE-2025-400697.8In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix obj leak in VM_BIND error path If we fail a handle-lookupCVE-2025-40078.8A vulnerability classified as critical was found in Tenda W12 and i24 3.0.0.4(2887)/3.0.0.5(3644). Affected by this vulnerability is the funCVE-2025-40070In the Linux kernel, the following vulnerability has been resolved: pps: fix warning in pps_register_cdev when register device fail SimilaCVE-2025-40071In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: Don't block input queue by waiting MSC Currently gsm_queue
CVE-2025-40060: Unscored | Vulnix