{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-43240",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-43240"
  ],
  "published": "2026-05-06T11:29:17Z",
  "summary": "x86/kexec: add a sanity check on previous kernel's ima kexec buffer",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/kexec: add a sanity check on previous kernel's ima kexec buffer\n\nWhen the second-stage kernel is booted via kexec with a limiting command\nline such as \"mem=<size>\", the physical range that contains the carried\nover IMA measurement list may fall outside the truncated RAM leading to a\nkernel panic.\n\n    BUG: unable to handle page fault for address: ffff97793ff47000\n    RIP: ima_restore_measurement_list+0xdc/0x45a\n    #PF: error_code(0x0000) \u2013 not-present page\n\nOther architectures already validate the range with page_is_ram(), as done\nin commit cbf9c4b9617b (\"of: check previous kernel's ima-kexec-buffer\nagainst memory bounds\") do a similar check on x86.\n\nWithout carrying the measurement list across kexec, the attestation\nwould fail.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.165",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-43240"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/37f18915a261afe84dab462624ed829cddb77a9b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22e460b6333a5f818b042ac89201f8e735556f4a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7e2476057950c174c7b2c2802246707bbfb497e4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f8f73bf0f8a57ee9b86792456bd42079bc98c6b7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d4a132f121c591b60dbaf57ea91f1faf11631fbc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4d7a8f5f28187e3d2958b2a134473da2665207e7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c5489d04337b47e93c0623e8145fcba3f5739efd"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-06-19T12:00:59Z"
  }
}
