{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98740",
  "modified": "2026-10-19T04:30:01Z",
  "upstream": [
    "CVE-2026-98740"
  ],
  "published": "2026-10-18T15:54:51Z",
  "summary": "EDAC/altera: Drop __init from ECC setup paths for re-probe safety",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nEDAC/altera: Drop __init from ECC setup paths for re-probe safety\n\nSashiko reports:\n\n\"Does suppressing sysfs unbinding fully prevent the execution of freed __init\nmemory? If altr_sysmgr_regmap_lookup_by_phandle() returns -EPROBE_DEFER, the\nprobe is deferred until after __init memory is freed.\"\n\nThe a10 EDAC .setup callbacks (sdmmc, ethernet, nand, dma, usb, qspi) and\ntheir helpers (altr_init_a10_ecc_device_type, altr_init_a10_ecc_block) were\nmarked __init. These run from the probe path, which may execute after init\nmemory is freed -- e.g. a probe deferred via -EPROBE_DEFER that only succeeds\nonce a late/module dependency appears, or a manual unbind/rebind. Calling\n__init code then dereferences freed memory. Remove __init so these functions\nremain valid at runtime.",
  "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": null,
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98740"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9846b85c2eb8b749c3f14bdcc31b1070f6aabba8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4ec26cb7984740941892ad21fa974963c198bfaa"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b62a264163ca51bee04785c581344751812395df"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-18T15:54:51Z"
  }
}
