{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-52992",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-52992"
  ],
  "published": "2026-06-24T16:31:02Z",
  "summary": "fs/adfs: validate nzones in adfs_validate_bblk()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/adfs: validate nzones in adfs_validate_bblk()\n\nReject ADFS disc records with a zero zone count during boot block\nvalidation, before the disc record is used.\n\nWhen nzones is 0, adfs_read_map() passes it to kmalloc_array(0, ...)\nwhich returns ZERO_SIZE_PTR, and adfs_map_layout() then writes to\ndm[-1], causing an out-of-bounds write before the allocated buffer.\n\nadfs_validate_dr0() already rejects nzones != 1 for old-format\nimages.  Add the equivalent check to adfs_validate_bblk() for\nnew-format images so that a crafted image with nzones == 0 is\nrejected at probe time.\n\nFound by syzkaller.",
  "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.175",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-52992"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/33aafd2418a59c96c0389d47ea09026661fa9ec6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1f0ed0f57f0fc87e46fe19a05435c214dc464be2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6ff8cca5cdb4f2e0ea6d28ecd78479dd3f221ebc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a11372a8b1ceaa5e950a84b3b5fbf8228f25e277"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1586bd2d2fb436a26df20a70e78b000d34a7d159"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a3fd5dc1c7b0aae947a67dc2e2c037d57557a4de"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/60d82592ac8b5637fbed871381eb0a16df0a492e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/dd9d3e16c2d5fa166e13dce07413be51f42c8f5d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-06-24T16:31:02Z"
  }
}
