{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99035",
  "modified": "2026-10-24T04:30:01Z",
  "upstream": [
    "CVE-2026-99035"
  ],
  "published": "2026-10-23T12:29:05Z",
  "summary": "mmc: mtk-sd: Cancel request timeout work on remove",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mtk-sd: Cancel request timeout work on remove\n\nThe driver queues req_timeout while a request is active.\nmsdc_request_done() uses cancel_delayed_work(), which does not wait for\na timeout callback that has already started.\n\nThe timeout callback calls mmc_request_done(), which wakes the request\nwaiter, and then continues to use host->dev_comp and check the SDIO IRQ.\nDuring unbind, msdc_drv_remove() can return and the managed mmc_host can\nbe freed before the callback finishes.\n\nKASAN reported use-after-free accesses in msdc_request_done() and\nmsdc_recheck_sdio_irq() in each of three unbind tests.  The same tests\ncompleted without a kernel diagnostic after this change.\n\nCall cancel_delayed_work_sync() after mmc_remove_host() has stopped new\nrequests and before the driver releases the host resources.",
  "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-99035"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9e799f25c420e759641eb25102967ea091fc758f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f37e0367ad6f2147a0b37564b442b7a25bec0d23"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/46e75703ca3f00fb8c935b3ce35b90836e34e8af"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/edef1355224c0799a502a46b71d3649fa0dd218e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b38af5386a74416e898955443f2e26547b358cb2"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-23T12:29:05Z"
  }
}
