{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2025-38412",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2025-38412"
  ],
  "published": "2025-07-25T13:09:05Z",
  "summary": "platform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: dell-wmi-sysman: Fix WMI data block retrieval in sysfs callbacks\n\nAfter retrieving WMI data blocks in sysfs callbacks, check for the\nvalidity of them before dereferencing their content.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/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.144",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-38412"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/92c2d914b5337431d885597a79a3a3d9d55e80b7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/68e9963583d11963ceca5d276e9c44684509f759"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0deb3eb78ebf225cb41aa9b2b2150f46cbfd359e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5df3b870bc389a1767c72448a3ce1c576ef4deab"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/aaf847dcb4114fe8b25d4c1c790bedcb6088cb3d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/eb617dd25ca176f3fee24f873f0fd60010773d67"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T12:19:11Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The vulnerability is reached only through a sysfs file read on the local machine (`/sys/class/firmware-attributes/dell-wmi-sysman/...`), which requires local access to the system. There is no network, adjacent-network, or physical-only path to `is_enabled_show()`/`current_value_show()`.\nAC:L - On an affected Dell/Alienware system whose firmware returns a non-package or short WMI data block, a single `cat` of the sysfs file deterministically and repeatably hits the unvalidated dereference \u2014 no race to win, no memory-layout grooming, and no state the attacker must wait for. The attack can be repeated arbitrarily to re-trigger the fault or harvest additional leaked bytes.\nPR:L - `passobj-attributes.c` exposes `is_enabled` via `__ATTR_RO()`, i.e. mode 0444, so any unprivileged local user can read it and drive `is_enabled_show()` into the unchecked `obj->package.elements[IS_PASS_SET]` dereference; only a basic user account is needed, not root.\nUI:N - The attacker performs the triggering read themselves via an ordinary open()/read() on the world-readable sysfs attribute. No victim action, no privileged helper, and no administrator interaction is required.\nS:U - The out-of-bounds read, wild-pointer dereference, and any resulting crash all occur inside the kernel of the same system, managed by the same security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - The type confusion turns a firmware-supplied 64-bit value (or a string/buffer data pointer) into the `elements` array base, yielding an out-of-bounds \u2014 effectively arbitrary-address \u2014 kernel read whose result is then formatted with `snprintf(\"%s\"/\"%lld\")` straight into the sysfs buffer returned to userspace. Because the vulnerable `is_enabled` attribute is world-readable, an unprivileged user obtains a repeatable kernel memory disclosure primitive.\nI:H - This is a genuine type confusion \u2014 a `union acpi_object` of type Integer/String/Buffer is interpreted as a Package, so an attacker-influencable firmware value is consumed as a kernel pointer and indexed. Per the type-confusion classification, and given that a firmware-controlled pointer dereference in a driver that also performs BIOS attribute and password-object operations undermines the integrity of the kernel's view of that data, this is scored High.\nA:H - Dereferencing the confused `elements` pointer (an arbitrary firmware integer, or an out-of-bounds address past a buffer/short package) reliably produces an unhandled page fault and kernel oops/panic, and the subsequent `%s` dereference of an out-of-bounds `string.pointer` compounds this. Any local user can trigger it on demand by reading the 0444 `is_enabled` file, making it a repeatable full denial of service."
    }
  }
}
