CVE-2025-40081

High

Description

In the Linux kernel, the following vulnerability has been resolved: perf: arm_spe: Prevent overflow in PERF_IDX2OFF() Cast nr_pages to unsigned long to avoid overflow when handling large AUX buffer sizes (>= 2 GiB).

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux
PublishedOct 28, 2025
First seenOct 28, 2025

How to fix

Update
  • Linux Linux656e9a5d69acdd1b20462f4a33378b90ddcb9626, 9c045d4501f7f70724a3bbb561f4f22d292bbfe6, 5d01f2b81568289443d22f1e13a363f829de6343, 7500384d3c9587593d75ded3b006835e7aa73ef8, 379cae2cb982f571cda9493ac573ab71125fd299, 1a19ba8e1f4ff24ece8ca69b79df8442c431db90, e516cfd19b0f4c774a57b17fb43a7f41991f0735, a29fea30dd93da16652930162b177941abd8c75e or later

Affected products

ProductAffected versionsFixed in
Linux Linuxd5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 656e9a5d69acdd1b20462f4a33378b90ddcb9626, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 9c045d4501f7f70724a3bbb561f4f22d292bbfe6, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 5d01f2b81568289443d22f1e13a363f829de6343, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 7500384d3c9587593d75ded3b006835e7aa73ef8, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 379cae2cb982f571cda9493ac573ab71125fd299, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < 1a19ba8e1f4ff24ece8ca69b79df8442c431db90, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < e516cfd19b0f4c774a57b17fb43a7f41991f0735, d5d9696b03808bc6be723cc85288c912c3a05606 ≤ v < a29fea30dd93da16652930162b177941abd8c75e, 4.15656e9a5d69acdd1b20462f4a33378b90ddcb9626, 9c045d4501f7f70724a3bbb561f4f22d292bbfe6, 5d01f2b81568289443d22f1e13a363f829de6343, 7500384d3c9587593d75ded3b006835e7aa73ef8, 379cae2cb982f571cda9493ac573ab71125fd299, 1a19ba8e1f4ff24ece8ca69b79df8442c431db90, e516cfd19b0f4c774a57b17fb43a7f41991f0735, a29fea30dd93da16652930162b177941abd8c75e

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.