CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HMedium (5.5) in linux linux kernel. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-40040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-40040?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-40040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-40040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | 4.6 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.4 | 5.4.302 |
| Linux | 5.10 | 5.10.247 |
| Linux | 5.15 | 5.15.197 |
| Linux | 6.1 | 6.1.158 |
| Linux | 6.6 | 6.6.114 |
| Linux | 6.12 | 6.12.55 |
| Linux | 6.17 | 6.17.3 |
| Linux | later releases | 6.18 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | linux-6.1 | 6.1.158-1~deb11u1 | DLA-4379-1 |
| Debian | 12 | linux | 6.1.158-1 | DEBIAN-CVE-2025-40040 DSA-6053-1 |
| Debian | 13 | linux | 6.12.57-1 | DEBIAN-CVE-2025-40040 |
| Debian | 14 | linux | 6.17.6-1 | DEBIAN-CVE-2025-40040 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-40040 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-40040 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-40040 |
| Ubuntu | 22.04:LTS | linux, linux-lowlatency | 5.15.0-173.183 | UBUNTU-CVE-2025-40040 USN-8096-1 |
| Ubuntu | 22.04:LTS | linux-aws | 5.15.0-1103.110 | UBUNTU-CVE-2025-40040 USN-8096-1 |
| Ubuntu | 22.04:LTS | linux-azure | 5.15.0-1109.118 | UBUNTU-CVE-2025-40040 USN-8163-2 |
| Ubuntu | 22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-40040 |
| Ubuntu | 22.04:LTS | linux-gcp | 5.15.0-1103.112 | UBUNTU-CVE-2025-40040 USN-8096-1 |
| Ubuntu | 22.04:LTS | linux-gke | 5.15.0-1099.105 | UBUNTU-CVE-2025-40040 USN-8096-3 |
| Ubuntu | 22.04:LTS | linux-gkeop | 5.15.0-1086.94 | UBUNTU-CVE-2025-40040 USN-8096-1 |
| Ubuntu | 22.04:LTS | linux-ibm, linux-raspi | 5.15.0-1097.100 | UBUNTU-CVE-2025-40040 USN-8096-1 USN-8141-1 |
| Ubuntu | 22.04:LTS | linux-intel-iotg | 5.15.0-1098.104 | UBUNTU-CVE-2025-40040 USN-8096-1 |
| 40 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-64kb, kernel-source, kernel-default and 2 more | 5.3.18-150300.59.229.3 | SUSE-SU-2025:4530-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 more | kernel-default-base | 5.3.18-150300.59.229.3.150300.18.136.3 | SUSE-SU-2025:4530-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | kernel-docs | 5.3.18-150300.59.229.2 | SUSE-SU-2025:4530-1 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 more | kernel-syms | 5.3.18-150300.59.229.1 | SUSE-SU-2025:4530-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.2 | kernel-default | 5.3.18-150300.59.229.3 | SUSE-SU-2025:4530-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 more | kernel-default | 5.14.21-150400.24.187.3 | SUSE-SU-2026:0029-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 more | kernel-default | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 more | kernel-default | 6.4.0-150700.53.25.1 | SUSE-SU-2025:4393-1 |
| SUSE | Linux Enterprise High Availability Extension 16.0 | kernel-default | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-64kb, kernel-source, kernel-default and 1 more | 5.14.21-150400.24.187.3 | SUSE-SU-2026:0029-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 more | kernel-default-base | 5.14.21-150400.24.187.3.150400.24.96.3 | SUSE-SU-2026:0029-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 more | kernel-docs, kernel-syms | 5.14.21-150400.24.187.1 | SUSE-SU-2026:0029-1 |
| 54 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.6 | dtb-aarch64, kernel-docs, kernel-syms and 1 more | 6.4.0-150600.23.81.1 | SUSE-SU-2025:4422-1 |
| openSUSE | Leap 15.6 | kernel-64kb, kernel-debug, kernel-default and 3 more | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| openSUSE | Leap 15.6 | kernel-azure, kernel-syms-azure, kernel-source-azure | 6.4.0-150600.8.58.1 | SUSE-SU-2025:4505-1 |
| openSUSE | Leap 15.6 | kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 | SUSE-SU-2025:4422-1 |
| openSUSE | Leap 15.6 | kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more | 6.4.0-150600.10.61.1 | SUSE-SU-2025:4521-1 |
| openSUSE | Leap 15.6 | kernel-source | 6.4.0-150600.23.81.2 | SUSE-SU-2025:4422-1 |
| openSUSE | Leap 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | openSUSE-SU-2025:20091-1 |
| openSUSE | Leap 16.0 | kernel-rt, dtb-aarch64, kernel-64kb and 8 more | 6.12.0-160000.7.1 | openSUSE-SU-2025:20091-1 |
| openSUSE | Tumbleweed | kernel-source | 6.17.7-1.1 | openSUSE-SU-2025:15702-1 |
| openSUSE | Tumbleweed | kernel-source-longterm | 6.18.16-1.1 | openSUSE-SU-2026:10301-1 |
| Azure Linux | 2 | kernel | 5.15.200.1-1 | AZL-78386 |
| Azure Linux | 3 | kernel | 6.6.117.1-1 | AZL-68870 |
| Alpaquita | 23 | linux-lts | 6.1.158-r0 | BELL-CVE-2025-40040 |
| Alpaquita | 25 | linux-lts | 6.12.57-r0 | BELL-CVE-2025-40040 |
| Alpaquita | stream | linux-lts | 6.18.35-r1 | BELL-CVE-2025-40040 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.
Red Hat rates this Moderate.
This vulnerability is rated as Moderate because triggering the issue requires local access to execute specific memory advisory and userfaultfd system calls, limiting the risk primarily to a local denial of service. When an application attempts to mark registered memory ranges as unmergeable, improper type conversion inside the kernel memory management subsystem inadvertently strips high-order virtual memory flags. This flag corruption results in an inconsistent internal kernel state that can induce a kernel panic or trigger warnings during resource cleanup. Because exploitation cannot be achieved remotely and does not directly permit privilege escalation or information disclosure, the overall severity is kept at Moderate.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Affected | |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-40040.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.