{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2025-38143",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2025-38143"
  ],
  "published": "2025-07-03T08:36:23Z",
  "summary": "backlight: pm8941: Add NULL check in wled_configure()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: pm8941: Add NULL check in wled_configure()\n\ndevm_kasprintf() returns NULL when memory allocation fails. Currently,\nwled_configure() does not check for this case, which results in a NULL\npointer dereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue.",
  "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.142",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-38143"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6a56446595730a5e3f06a30902e23cb037d28146"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9d06ac32c202142da40904180f2669ed4f5073ac"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/21528806560510458378ea52c37e35b0773afaea"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fde314445332015273c8f51d2659885c606fe135"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1be2000b703b02e149f8f2061054489f6c18c972"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4a715be3fe80b68fa55cb3569af3d294be101626"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e12d3e1624a02706cdd3628bbf5668827214fa33"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-05-12T04:54:46Z"
  }
}
