CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8) in linux linux. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-40205 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-40205?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-40205?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-40205 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 | 2.6.29 and later |
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.4 | 5.4.301 |
| Linux | 5.10 | 5.10.246 |
| Linux | 5.15 | 5.15.195 |
| Linux | 6.1 | 6.1.157 |
| Linux | 6.6 | 6.6.113 |
| Linux | 6.12 | 6.12.54 |
| Linux | 6.17 | 6.17.4 |
| Linux | later releases | 6.18 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | linux | 5.10.247-1 | DLA-4404-1 |
| Debian | 11 | linux-6.1 | 6.1.158-1~deb11u1 | DLA-4379-1 |
| Debian | 12 | linux | 6.1.158-1 | DEBIAN-CVE-2025-40205 |
| Debian | 13 | linux | 6.12.57-1 | DEBIAN-CVE-2025-40205 |
| Debian | 14 | linux | 6.17.6-1 | DEBIAN-CVE-2025-40205 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-40205 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-40205 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-40205 |
| Ubuntu | 22.04:LTS | linux, linux-lowlatency | 5.15.0-170.180 | UBUNTU-CVE-2025-40205 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws | 5.15.0-1100.107 | UBUNTU-CVE-2025-40205 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws-6.8 | 6.8.0-1050.53~22.04.1 | UBUNTU-CVE-2025-40205 USN-8095-4 |
| Ubuntu | 22.04:LTS | linux-azure | 5.15.0-1109.118 | UBUNTU-CVE-2025-40205 USN-8163-2 |
| Ubuntu | 22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-40205 USN-8126-1 |
| Ubuntu | 22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-40205 |
| Ubuntu | 22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1058.65~22.04.1 | UBUNTU-CVE-2025-40205 |
| Ubuntu | 22.04:LTS | linux-gcp | 5.15.0-1100.109 | UBUNTU-CVE-2025-40205 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-gcp-6.8 | 6.8.0-1052.55~22.04.1 | UBUNTU-CVE-2025-40205 USN-8095-1 |
| 77 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| 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.8.1 | SUSE-SU-2026:20021-1 |
| SUSE | Linux Enterprise Live Patching 12 SP5 | kernel-default | 4.12.14-122.283.1 | SUSE-SU-2025:4515-1 |
| SUSE | Linux Enterprise Live Patching 12 SP5 | kgraft-patch-SLE12-SP5_Update_75 | 1-8.3.1 | SUSE-SU-2025:4515-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6-RT_Update_18 | 1-150600.1.3.1 | SUSE-SU-2025:4521-1 |
| SUSE | Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_18 | 1-150600.13.3.3 | SUSE-SU-2025:4422-1 |
| SUSE | Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7-RT_Update_7 | 1-150700.1.3.1 | SUSE-SU-2025:4516-1 |
| SUSE | Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_7 | 1-150700.15.3.1 | SUSE-SU-2025:4393-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | kernel-64kb, kernel-default, kernel-zfcpdump | 6.4.0-150600.23.81.3 | SUSE-SU-2025:4422-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6 | kernel-default-base | 6.4.0-150600.23.81.3.150600.12.36.3 | SUSE-SU-2025:4422-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | 6.4.0-150600.23.81.2 | SUSE-SU-2025:4422-1 |
| 22 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.8.1.160000.2.5 | openSUSE-SU-2025:20172-1 |
| openSUSE | Leap 16.0 | kernel-rt, dtb-aarch64, kernel-64kb and 8 more | 6.12.0-160000.8.1 | openSUSE-SU-2025:20172-1 |
| Azure Linux | 3 | kernel | 6.6.117.1-1 | AZL-70097 |
| Alpaquita | 23 | linux-lts | 6.1.158-r0 | BELL-CVE-2025-40205 |
| Alpaquita | 25 | linux-lts | 6.12.57-r0 | BELL-CVE-2025-40205 |
| Alpaquita | stream | linux-lts | 6.18.35-r1 | BELL-CVE-2025-40205 |
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 Low.
Btrfs file handle encoding has three size cases: 20 bytes (no parent), 32 bytes (parent in same root), or 40 bytes (parent in different root). The function initially returns either 20 or 32 to the caller, who allocates that much space. If the parent is later discovered to be in a different root, the code writes parent_root_objectid—extending to 40 bytes and overwriting 8 bytes past the allocated buffer. While the specific parent/subvolume conditions make this difficult to trigger, it's a real memory corruption bug.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 7 | kernel-rt | Fix deferred | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Not affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Not 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-40205.