Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40359

UNSCOREDEPSS 13%

perf/x86/intel: Fix KASAN global-out-of-bounds warning

Mitigation

  • Upgrade Linux to 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251 or later.

Who should check

  • Anyone running Linux >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251
  • Anyone running Linux 6.11

Vulnerability facts

Affected
Linux >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251; Linux 6.11
Fixed in
Linux 1b61a1da3d8105ea1be548c94c2856697eb7ffd1, Linux 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3, Linux 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251—cvelist
Linux6.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40359. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40359.md
Affected: Linux >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251; Linux 6.11
Fixed in: Linux 1b61a1da3d8105ea1be548c94c2856697eb7ffd1, Linux 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3, Linux 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40359 being exploited?

There is no confirmed exploitation: CVE-2025-40359 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40359?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2025-40359?

Linux >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 1b61a1da3d8105ea1be548c94c2856697eb7ffd1; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3; >= 090262439f66df03d4e9d0e52e14104b729e2ef8, < 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251; Linux 6.11.

Is there a fix for CVE-2025-40359?

Yes. Fixed in Linux 1b61a1da3d8105ea1be548c94c2856697eb7ffd1, Linux 710a72e81a7028e1ad1a10eb14f941f8dd45ffd3, Linux 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251. Upgrade Linux to 0ba6502ce167fc3d598c08c2cc3b4ed7ca5aa251 or later.

How do I check if I'm affected by CVE-2025-40359?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors