{
  "cveId": "CVE-2025-40009",
  "url": "https://patchblox.com/security/cve/CVE-2025-40009",
  "summary": "CVE-2025-40009 is fixed in 35 products on 1 platform, first by DEBIAN-CVE-2025-40009, released October 20, 2025. It is not reported as exploited. Patch Radar priority: High.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  fs/proc/task_mmu: check p-\u003Evec_buf for NULL  Whe...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  fs/proc/task_mmu: check p-\u003Evec_buf for NULL  When the PAGEMAP_SCAN ioctl is invoked with vec_len = 0 reaches pagemap_scan_backout_range(), kernel panics with null-ptr-deref:  [   44.936808] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI [   44.937797] KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] [   44.938391] CPU: 1 UID: 0 PID: 2480 Comm: reproducer Not tainted 6.17.0-rc6 #22 PREEMPT(none) [   44.939062] Hardware name: QEMU Standard PC (i440FX \u002B PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [   44.939935] RIP: 0010:pagemap_scan_thp_entry.isra.0\u002B0x741/0xa80  \u003Csnip registers, unreliable trace\u003E  [   44.946828] Call Trace: [   44.947030]  \u003CTASK\u003E [   44.949219]  pagemap_scan_pmd_entry\u002B0xec/0xfa0 [   44.952593]  walk_pmd_range.isra.0\u002B0x302/0x910 [   44.954069]  walk_pud_range.isra.0\u002B0x419/0x790 [   44.954427]  walk_p4d_range\u002B0x41e/0x620 [   44.954743]  walk_pgd_range\u002B0x31e/0x630 [   44.955057]  __walk_page_range\u002B0x160/0x670 [   44.956883]  walk_page_range_mm\u002B0x408/0x980 [   44.958677]  walk_page_range\u002B0x66/0x90 [   44.958984]  do_pagemap_scan\u002B0x28d/0x9c0 [   44.961833]  do_pagemap_cmd\u002B0x59/0x80 [   44.962484]  __x64_sys_ioctl\u002B0x18d/0x210 [   44.962804]  do_syscall_64\u002B0x5b/0x290 [   44.963111]  entry_SYSCALL_64_after_hwframe\u002B0x76/0x7e  vec_len = 0 in pagemap_scan_init_bounce_buffer() means no buffers are allocated and p-\u003Evec_buf remains set to NULL.  This breaks an assumption made later in pagemap_scan_backout_range(), that page_region is always allocated for p-\u003Evec_buf_index.  Fix it by explicitly checking p-\u003Evec_buf for NULL before dereferencing.  Other sites that might run into same deref-issue are already (directly or transitively) protected by checking p-\u003Evec_buf.  Note: From PAGEMAP_SCAN man page, it seems vec_len = 0 is valid when no output is requested and it\u0027s only the side effects caller is interested in, hence it passes check in pagemap_scan_get_args().  This issue was found by syzkaller.",
  "published": "2025-10-20T16:15:37Z",
  "severity": "important",
  "epss": 0.00241,
  "epssPercentile": 0.15336,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "bpftool6.12",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "bpftool6.12-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.6.1.160000.2.4",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.6.1.160000.2.4",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-6.12.53-69.119",
      "release": "amzn 2023",
      "fixedVersion": "1:1.0-0.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "OPENSUSE-SU-2025:20091-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-su-2025-20091-1",
      "released": "2025-11-26T17:04:24Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 16.0",
      "fixedVersion": "6.12.0-160000.7.1",
      "fix": "SUSE-SU-2025:21147-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2025-21147-1",
      "released": "2025-11-26T15:59:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-debuginfo-common-aarch64",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-debuginfo-common-x86_64",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-devel",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-headers",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-libbpf",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-libbpf-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-libbpf-devel",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-libbpf-static",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-modules-extra",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-modules-extra-common",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-tools",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-tools-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "kernel6.12-tools-devel",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.57-1",
      "fix": "DEBIAN-CVE-2025-40009",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-40009",
      "released": "2025-10-20T16:15:37Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.16.10-1",
      "fix": "DEBIAN-CVE-2025-40009",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-40009",
      "released": "2025-10-20T16:15:37Z"
    },
    {
      "platform": "linux",
      "product": "perf6.12",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "perf6.12-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf6.12",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-perf6.12-debuginfo",
      "release": "amzn 2023",
      "fixedVersion": "1:6.12.53-69.119.amzn2023",
      "fix": "ALAS2023-2025-1254",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2025-1254",
      "released": "2025-10-27T14:26:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T13:31:49Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}