CVE-2025-40359
Last modified
CVE-2025-40359 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix KASAN global-out-of-bounds warning When running "perf mem record" command on CWF, the below KASAN global-out-of-bounds warning is seen. ================================================================== BUG: KASAN: global-out-of-bounds in cmt_latency_data+0x176/0x1b0 Read of size 4 at addr ffffffffb721d000 by task dtlb/9850 Call Trace: kasan_report+0xb8/0xf0 cmt_latency_data+0x176/0x1b0 setup_arch_pebs_sample_data+0xf49/0x2560 intel_pmu_drain_arch_pebs+0x577/0xb00 handle_pmi_common+0x6c4/0xc80 The issue is caused by below code in __grt_latency_data(). The code tries to access x86_hybrid_pmu structure which doesn't exist on non-hybrid platform like CWF. WARN_ON_ONCE(hybrid_pmu(event->pmu)->pmu_type == hybrid_big) So add is_hybrid() check before calling this WARN_ON_ONCE to fix the global-out-of-bounds access issue.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Fix KASAN global-out-of-bounds warning When running "perf mem record" command on CWF, the below KASAN global-out-of-bounds warning is seen. ================================================================== BUG: KASAN: global-out-of-bounds in cmt_latency_data+0x176/0x1b0 Read of size 4 at addr ffffffffb721d000 by task dtlb/9850 Call Trace: kasan_report+0xb8/0xf0 cmt_latency_data+0x176/0x1b0 setup_arch_pebs_sample_data+0xf49/0x2560 intel_pmu_drain_arch_pebs+0x577/0xb00 handle_pmi_common+0x6c4/0xc80 The issue is caused by below code in __grt_latency_data(). The code tries to access x86_hybrid_pmu structure which doesn't exist on non-hybrid platform like CWF. WARN_ON_ONCE(hybrid_pmu(event->pmu)->pmu_type == hybrid_big) So add is_hybrid() check before calling this WARN_ON_ONCE to fix the global-out-of-bounds access issue.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251 |
| Linux | Linux | 6.11 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40359?
How severe is CVE-2025-40359?
How do I fix CVE-2025-40359?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40353In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40354In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40355In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40356In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-40357In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40358In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-4036A vulnerability was found in 201206030 Novel 3.5.0 and class…9.8
- CVE-2025-40360In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40361Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-40362In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2025-40363In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40364In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2025-40359?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
