{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2023-54189",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2023-54189"
  ],
  "published": "2025-12-30T12:09:43Z",
  "summary": "pstore/ram: Add check for kstrdup",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\npstore/ram: Add check for kstrdup\n\nAdd check for the return value of kstrdup() and return the error\nif it fails in order to avoid NULL pointer dereference.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.21-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v6",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v7",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v7l",
            "binary_version": "1:6.1.21-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi1-rpi-v8",
            "binary_version": "1:6.1.21-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.21-1+rpt1": {
            "linux_commit": "0afb5e98488aed7017b9bf321b575d0177feb7ed",
            "upstream_version": "6.1.21",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.39"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-54189"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-05-24T06:48:58Z"
  }
}
