{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90327",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-90327"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "phonet: pep: do not write beyond optlen in getsockopt",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nphonet: pep: do not write beyond optlen in getsockopt\n\npep_getsockopt() clamps the reported length to the caller's buffer with\nmin_t(), but then stores the value with put_user(val, (int __user *)\noptval), which always writes sizeof(int) bytes. A getsockopt() call with\nan optlen smaller than sizeof(int) thus reports the clamped length yet\nwrites a full int, one to three bytes past the user buffer.\n\nWrite the value with copy_to_user() bounded by len, so at most optlen\nbytes are copied, matching the length reported back to userspace.",
  "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.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90327"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6054fed6bad08b6d03973e8ffca7f0c9394d1c30"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/eac733a0b6fe0a52d91f9f623425735ed50ac6c2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/95e0ed2439dd1792eb454c68ae8d10f30ffe3bff"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/056eea1a2068ad2fb7c3093c5f1095268f87d0c7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1bf499e438da80455e258049bce60ffb3a53f3fa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c4487e4d5309de587479ecc2f5173b49586f46f4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f97022fefe6eb06ee18549d603420440f2959802"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/77e5eb0e192aec6710c03ca8144582fd2af36ca4"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
