CVEfocus › CVE database › CVE-2025-40040

CVE-2025-40040mm/ksm: fix flag-dropping behavior in ksm_madvise

CVSS 7.8 HighEPSS 0.2% (higher than 9% of CVEs)Published 2025-10-28Updated 2026-10-15Assigner: Linux

In the Linux kernel, the following vulnerability has been resolved: mm/ksm: fix flag-dropping behavior in ksm_madvise syzkaller discovered the following crash: (kernel BUG) [ 44.607039] ------------[ cut here ]------------ [ 44.607422] kernel BUG at mm/userfaultfd.c:2067! [ 44.608148] Oops: invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI [ 44.608814] CPU: 1 UID: 0 PID: 2475 Comm: reproducer Not tainted 6.16.0-rc6 #1 PREEMPT(none) [ 44.609635] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 44.610695] RIP: 0010:userfaultfd_release_all+0x3a8/0x460 <snip other registers, drop unreliable trace> [ 44.617726] Call Trace: [ 44.617926] <TASK> [ 44.619284] userfaultfd_release+0xef/0x1b0 [ 44.620976] __fput+0x3f9/0xb60 [ 44.621240] fput_close_sync+0x110/0x210 [ 44.622222] __x64_sys_close+0x8f/0x120 [ 44.622530] do_syscall_64+0x5b/0x2f0 [ 44.622840] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 44.623244] RIP: 0033:0x7f365bb3f227 Kernel panics because it detects UFFD inconsistency during userfaultfd_release_all(). Specifically, a VMA which has a valid pointer to vma->vm_userfaultfd_ctx, but no UFFD flags in vma->vm_flags. The inconsistency is caused in ksm_madvise(): when user calls madvise() with MADV_UNMEARGEABLE on a VMA that is registered for UFFD in MINOR mode, it accidentally clears all flags stored in the upper 32 bits of vma->vm_flags. Assuming x86_64 kernel build, unsigned long is 64-bit and unsigned int and int are 32-bit wide. This setup causes the following mishap during the &= ~VM_MERGEABLE assignment. VM_MERGEABLE is a 32-bit constant of type unsigned int, 0x8000'0000. After ~ is applied, it becomes 0x7fff'ffff unsigned int, which is then promoted to unsigned long before the & operation. This promotion fills upper 32 bits with leading 0s, as we're doing unsigned conversion (and even for a signed conversion, this wouldn't help as the leading bit is 0). & operation thus ends up AND-ing vm_flags with 0x0000'0000'7fff'ffff instead of intended 0xffff'ffff'7fff'ffff and hence accidentally clears the upper 32-bits of its value. Fix it by changing `VM_MERGEABLE` constant to unsigned long, using the BIT() macro. Note: other VM_* flags are not affected: This only happens to the VM_MERGEABLE flag, as the other VM_* flags are all constants of type int and after ~ operation, they end up with leading 1 and are thus converted to unsigned long with leading 1s. Note 2: After commit 31defc3b01d9 ("userfaultfd: remove (VM_)BUG_ON()s"), this is no longer a kernel BUG, but a WARNING at the same place: [ 45.595973] WARNING: CPU: 1 PID: 2474 at mm/userfaultfd.c:2067 but the root-cause (flag-drop) remains the same. [akpm@linux-foundation.org: rust bindgen wasn't able to handle BIT(), from Miguel]

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

34Fixed
219Fix pending
116Will not fix
106Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04linuxNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-azure-fdeNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-gkeNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-ibmNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-nvidiaNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-nvidia-bosNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-oem-7.0Not affected
vulnerable_code_not_present
Ubuntu 26.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-raspiNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-realtimeNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-riscvNot affected
vulnerable_code_not_present
Ubuntu 26.04linux-vmwareNot affected
vulnerable_code_not_present
Ubuntu 25.10linuxFixed6.17.0-14.14UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-awsFixed6.17.0-1007.7UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-azureFixed6.17.0-1008.8UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-azure-fdeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-gcpFixed6.17.0-1007.7UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-oracleFixed6.17.0-1007.7UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-raspiFixed6.17.0-1008.8UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-realtimeFixed6.17.0-1006.7UBUNTU-CVE-2025-40040
Ubuntu 25.10linux-riscvFixed6.17.0-14.14.1UBUNTU-CVE-2025-40040
Ubuntu 24.04linuxFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-awsFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-aws-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-aws-6.17Fixed6.17.0-1007.7~24.04.1UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-aws-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-azureFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-6.17Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-azure-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-azure-fdeFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-fde-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-fde-6.17Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-fde-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-azure-nvidiaFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-azure-nvidia-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gcpFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gcp-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gcp-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gcp-6.17Fixed6.17.0-1008.8~24.04.1UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gcp-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-gkeFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-gkeopFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-hwe-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-hwe-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-hwe-6.17Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-hwe-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-ibmFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-lowlatencyFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-lowlatency-hwe-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-nvidiaFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-nvidia-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-nvidia-6.17Fixed6.17.0-1008.8UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-nvidia-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-nvidia-lowlatencyFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-nvidia-tegraFixed6.8.0-1035.38UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oem-6.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oem-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oem-6.17Fixed6.17.0-1011.11UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oem-6.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oracleFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oracle-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oracle-6.17Fixed6.17.0-1007.7~24.04.1UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-oracle-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-raspiFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-raspi-realtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-realtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-riscvWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-riscv-6.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 24.04linux-riscv-6.17Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-riscv-7.0Not affected
vulnerable_code_not_present
Ubuntu 24.04linux-vmwareFix pendingUBUNTU-CVE-2025-40040
Ubuntu 24.04linux-xilinxFix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linuxFixed5.15.0-173.183UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-allwinner-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-awsFixed5.15.0-1103.110UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-aws-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-aws-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-aws-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-aws-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azureFixed5.15.0-1109.118UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-fdeFixed5.15.0-1109.118.1UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-fde-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-fde-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-azure-fde-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gcpFixed5.15.0-1103.112UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gcp-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gcp-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gcp-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gcp-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gkeFixed5.15.0-1099.105UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-gkeopFixed5.15.0-1086.94UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-hwe-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-hwe-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-hwe-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-hwe-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-ibmFixed5.15.0-1097.100UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-ibm-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-intel-iot-realtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-intel-iotgFixed5.15.0-1098.104UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-kvmFixed5.15.0-1095.100UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-lowlatencyFixed5.15.0-173.183UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-lowlatency-hwe-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-lowlatency-hwe-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-lowlatency-hwe-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-lowlatency-hwe-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidiaFixed5.15.0-1098.99UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidia-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidia-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidia-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidia-tegraFixed5.15.0-1055.55UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-nvidia-tegra-igxFixed5.15.0-1044.44UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oem-5.17Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oem-6.0Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oem-6.1Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oem-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oracleFixed5.15.0-1100.106UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oracle-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-oracle-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-raspiFixed5.15.0-1097.100UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-realtimeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-riscvWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-riscv-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-riscv-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-riscv-6.8Fix pendingUBUNTU-CVE-2025-40040
Ubuntu 22.04linux-starfive-5.19Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-starfive-6.2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-starfive-6.5Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 22.04linux-xilinx-zynqmpFixed5.15.0-1067.71UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-aws-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-aws-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-aws-5.15Fix pending5.15.0-1103.110~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-aws-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-azure-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-azure-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-azure-5.15Fix pending5.15.0-1110.119~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-azure-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-azure-fdeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gcp-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gcp-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gcp-5.15Fix pending5.15.0-1103.112~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gcp-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gkeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gke-5.15Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gkeopWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-gkeop-5.15Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-hwe-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-hwe-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-hwe-5.15Fix pending5.15.0-173.183~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-hwe-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-ibm-5.15Fix pending5.15.0-1097.100~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-intel-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-intel-iotg-5.15Fix pending5.15.0-1098.104~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-lowlatency-hwe-5.15Fix pending5.15.0-173.183~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-nvidia-tegra-5.15Fix pending5.15.0-1055.55~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oem-5.10Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oem-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oem-5.14Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oem-5.6Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oracle-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oracle-5.13Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oracle-5.15Fix pending5.15.0-1100.106~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-oracle-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-raspi2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-riscvWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-riscv-5.11Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-riscv-5.15Fix pending5.15.0-1097.101~20.04.1 (Ubuntu Pro)UBUNTU-CVE-2025-40040
Ubuntu 20.04linux-riscv-5.8Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-aws-5.0Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-aws-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-azureWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-azure-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-azure-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-gcpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-gcp-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-gke-4.15Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-gke-5.4Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-gkeop-5.4Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-hweWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-hwe-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-oemWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-oracle-5.0Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-oracle-5.3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 18.04linux-raspi2Will not fix
Ubuntu decided not to fix this in this release
Ubuntu 16.04linuxNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-awsNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-aws-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-azureNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gcpNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-gkeWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 16.04linux-hweNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-hwe-edgeWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-40040
Ubuntu 16.04linux-kvmNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-oemWill not fix
Ubuntu decided not to fix this in this release
Ubuntu 16.04linux-oracleNot affected
vulnerable_code_not_present
Ubuntu 16.04linux-raspi2Will not fix
Ubuntu decided not to fix this in this release
Debian 14linuxFixed6.17.6-1DEBIAN-CVE-2025-40040
Debian 13linuxFixed6.12.57-1DEBIAN-CVE-2025-40040
Debian 12linuxFixed6.1.158-1DEBIAN-CVE-2025-40040
Red Hat Enterprise Linux 10kernelFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64kFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debugFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-64k-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-abi-stablelistsFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debugFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-debug-uki-virtFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-docFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-modules-extra-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rtFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64kFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debugFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-64k-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debugFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-rt-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-tools-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-tools-libs-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-uki-virtFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-uki-virt-addonsFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdumpFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-develFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 10kernel-zfcpdump-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 10libperfFix pending
Fix deferred
Red Hat Enterprise Linux 10perfFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-perfFix pending
Fix deferred
Red Hat Enterprise Linux 10rtlaFix pending
Fix deferred
Red Hat Enterprise Linux 10rvFix pending
Fix deferred
Red Hat Enterprise Linux 9bpftoolFix pending
Fix deferred
Red Hat Enterprise Linux 9kernelFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64kFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debugFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-debug-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-64k-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-abi-stablelistsFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-cross-headersFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debugFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-uki-virtFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-debug-uki-virt-addonsFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-docFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-headersFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-ipaclones-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-kmap-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rtFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64kFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debugFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-debug-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-64k-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debugFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-debug-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-kvmFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-rt-selftests-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-selftests-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-toolsFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-tools-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-tools-libs-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-uki-virtFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-uki-virt-addonsFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdumpFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-develFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-devel-matchedFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-modulesFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-modules-coreFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-modules-extraFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-modules-internalFix pending
Fix deferred
Red Hat Enterprise Linux 9kernel-zfcpdump-modules-partnerFix pending
Fix deferred
Red Hat Enterprise Linux 9libperfFix pending
Fix deferred
Red Hat Enterprise Linux 9libperf-develFix pending
Fix deferred
Red Hat Enterprise Linux 9perfFix pending
Fix deferred
Red Hat Enterprise Linux 9python3-perfFix pending
Fix deferred
Red Hat Enterprise Linux 9rtlaFix pending
Fix deferred
Red Hat Enterprise Linux 9rvFix pending
Fix deferred
Red Hat Enterprise Linux 8bpftoolNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-abi-stablelistsNot affected
Red Hat Enterprise Linux 8kernel-abi-whitelistsNot affected
Red Hat Enterprise Linux 8kernel-coreNot affected
Red Hat Enterprise Linux 8kernel-cross-headersNot affected
Red Hat Enterprise Linux 8kernel-debugNot affected
Red Hat Enterprise Linux 8kernel-debug-coreNot affected
Red Hat Enterprise Linux 8kernel-debug-develNot affected
Red Hat Enterprise Linux 8kernel-debug-modulesNot affected

Showing 400 of 475 entries. The API returns all of them.

What the vendor says

As published in the CVE record by Linux, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.