{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-97451",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-97451"
  ],
  "published": "2026-09-24T16:08:25Z",
  "summary": "ACPICA: Fix integer overflow in acpi_ex_opcode_3A_1T_1R() (mid_op)",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nACPICA: Fix integer overflow in acpi_ex_opcode_3A_1T_1R() (mid_op)\n\nAdd overflow check for Index + Length to prevent integer overflow\nwhen calculating the truncation length. This prevents negative\nsize parameter being passed to memcpy().",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "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.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-97451"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6da963ed4c3de0963c23809af3194323328080d2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e539003886b34c8109574820b9ba67f0dbe62a12"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9010ad440f970e684324d507510415a67bc125e4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4532c9cf006bb6323957897455b6a5ab45957a19"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d0d89f2e16a874e0f8fb17045da293e8bedf8b21"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b96401812cbfbb4803faabeefa1f20b8562268b3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0e2021f49e64b3c8a9aa880d0c62a218bfe147ce"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-03T11:04:09Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.4,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The wrapping Index and Length are AML integer operands of Mid() in acpi_ex_opcode_3A_1T_1R(), taken from the local DSDT/SSDT. The path is acpi_bus_init() \u2192 acpi_load_tables() \u2192 acpi_tb_load_namespace() \u2192 acpi_ns_load_table() \u2192 acpi_ns_execute_table() \u2192 acpi_ds_exec_end_op(); no network protocol carries those integers.\nAC:L - A Mid() whose Index is in [1, Source.length) and Length is Ones (UINT64_MAX) makes (index+length) wrap so truncation is skipped; the STRING path then kzalloc(length+1)==kzalloc(0) and memcpy(..., length) on every acpi_ns_execute_table() of that table. The table author sets those operands; no race.\nPR:N - acpi_bus_init() calls acpi_load_tables(), which runs module-level Mid() in acpi_ns_execute_table() with no capable() or uid check. A compromised DSDT/SSDT is enough; no Linux account, user namespace, or /sys/kernel/config/acpi/table write is required.\nUI:N - acpi_ns_execute_table() evaluates definition-block AML, including a module-level Mid(), automatically during acpi_load_tables() at boot. No mount, file-open, or other victim action is required at trigger time.\nS:U - The overflowing memcpy in acpi_ex_opcode_3A_1T_1R() corrupts the host kernel heap around the Mid() result object from ACPI_ALLOCATE_ZEROED; it does not cross a KVM/Xen, IOMMU, or sandbox boundary.\nC:H - After the wrap, memcpy() in acpi_ex_opcode_3A_1T_1R() reads the untruncated length (UINT64_MAX) bytes from operand[0]->string.pointer+index, whose object is only operand[0]->string.length (u32) bytes, an unbounded kernel heap over-read rather than a few-byte leak.\nI:H - On ACPI_TYPE_STRING, ACPI_ALLOCATE_ZEROED(length+1) wraps to a 0-size allocation when length is UINT64_MAX, then memcpy writes that same untruncated length into it\u2014an out-of-bounds write/heap overflow exploitable for control-flow hijack.\nA:H - memcpy of the untruncated length into the wrapped 0-size STRING buffer in acpi_ex_opcode_3A_1T_1R() oopses or panics the kernel during acpi_ns_execute_table() or a later Mid() method evaluation."
    }
  }
}
