{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-72140",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-72140"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ni2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()\n\nIf devm_platform_get_and_ioremap_resource() returns an error,\nmlxbf_i2c_init_resource() frees tmp_res before reading tmp_res->io to\nget the error code. This results in a use-after-free.\n\nSave the error code before freeing tmp_res.",
  "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.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-72140"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6a108c9f5a81bb7b29dbb1398be0089655b6bfd2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c4d9b6a0c9645366d9e4af8a6ac8347bd4c841aa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b398cbbbb9dd76210682a8c9aabd34c5168800b9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5290a52533e09c38374963f4bb0b35121fe555c7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ce960a1b2caa4ad08291f28d8bcf17ad5a864e54"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e6a395a71f4652261d09b572a03c96052662a056"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/fb267770bf822064f510c9b46743f533d8fa8a5f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/71356737a7a55c76fee847563e3d33f8e6dc6b6d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:24:08Z"
  }
}
