{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90107",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-90107"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "net/smc: free pending qentry in smc_llc_flow_stop() before memset",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/smc: free pending qentry in smc_llc_flow_stop() before memset\n\nsmc_llc_flow_stop() resets a flow struct with a blind memset:\n\n\tspin_lock_bh(&lgr->llc_flow_lock);\n\tmemset(flow, 0, sizeof(*flow));\n\tflow->type = SMC_LLC_FLOW_NONE;\n\tspin_unlock_bh(&lgr->llc_flow_lock);\n\nIf flow->qentry is non-NULL at this point the pointer is overwritten without the\nallocation being freed, leaking one kmalloc object.\n\nA late-arriving duplicate CONFIRM_LINK or ADD_LINK_CONT message can set\nflow->qentry after the legitimate message has been consumed by the waiter via\nsmc_llc_flow_qentry_clr() (which NULLs the pointer but leaves flow->type\nnon-zero) but before the flow completes and smc_llc_flow_stop() runs.  In that\nwindow the duplicate is stashed into flow->qentry, and then lost when\nsmc_llc_flow_stop() zeros the struct.\n\nCall smc_llc_flow_qentry_del() inside the lock before the memset.\nsmc_llc_flow_qentry_del() already checks flow->qentry before freeing, so the\nnormal case where no entry is pending is a no-op.",
  "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-90107"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/8e3deb150a5237b672c4579e69a6deb02027dbed"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/11bc373ee6630709f0c2da2e7860c23d503c9e9d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/032aec7d03c9102616b98fea74f8f7145e7f867c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/957dba2b8b5aebfe09caa6a6b22b958079082eab"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f03aa5d36ae3c4068a1c3885146be99aa7fd9307"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0879ea157acc1ac6752f6fcb755d1f91a2359238"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5ff429dd6725fa6c1e17a4ed0be8ab675f67a98b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5ee0ceddc7785c6dcf4a8107fef01f0414a354f4"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
