{"id":"CVE-2025-40081","summary":"perf: arm_spe: Prevent overflow in PERF_IDX2OFF()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nperf: arm_spe: Prevent overflow in PERF_IDX2OFF()\n\nCast nr_pages to unsigned long to avoid overflow when handling large\nAUX buffer sizes (\u003e= 2 GiB).","modified":"2026-04-16T04:40:30.927820684Z","published":"2025-10-28T11:48:45.392Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0316-1","SUSE-SU-2026:20012-1","SUSE-SU-2026:20015-1","SUSE-SU-2026:20021-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2025:15702-1","openSUSE-SU-2025:20172-1","openSUSE-SU-2026:10301-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40081.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1a19ba8e1f4ff24ece8ca69b79df8442c431db90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/379cae2cb982f571cda9493ac573ab71125fd299"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d01f2b81568289443d22f1e13a363f829de6343"},{"type":"WEB","url":"https://git.kernel.org/stable/c/656e9a5d69acdd1b20462f4a33378b90ddcb9626"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7500384d3c9587593d75ded3b006835e7aa73ef8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9c045d4501f7f70724a3bbb561f4f22d292bbfe6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a29fea30dd93da16652930162b177941abd8c75e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e516cfd19b0f4c774a57b17fb43a7f41991f0735"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40081.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40081"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d5d9696b03808bc6be723cc85288c912c3a05606"},{"fixed":"656e9a5d69acdd1b20462f4a33378b90ddcb9626"},{"fixed":"9c045d4501f7f70724a3bbb561f4f22d292bbfe6"},{"fixed":"5d01f2b81568289443d22f1e13a363f829de6343"},{"fixed":"7500384d3c9587593d75ded3b006835e7aa73ef8"},{"fixed":"379cae2cb982f571cda9493ac573ab71125fd299"},{"fixed":"1a19ba8e1f4ff24ece8ca69b79df8442c431db90"},{"fixed":"e516cfd19b0f4c774a57b17fb43a7f41991f0735"},{"fixed":"a29fea30dd93da16652930162b177941abd8c75e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40081.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"5.4.301"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.246"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.195"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.156"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40081.json"}}],"schema_version":"1.7.5"}