{
  "cveId": "CVE-2022-50513",
  "url": "https://patchblox.com/security/cve/CVE-2022-50513",
  "summary": "CVE-2022-50513 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50513, released October 7, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  staging: rtl8723bs: fix a potential memory leak...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()  In rtw_init_cmd_priv(), if \u0060pcmdpriv-\u003Ersp_allocated_buf\u0060 is allocated in failure, then \u0060pcmdpriv-\u003Ecmd_allocated_buf\u0060 will be not properly released. Besides, considering there are only two error paths and the first one can directly return, so we do not need implicitly jump to the \u0060exit\u0060 tag to execute the error handler.  So this patch added \u0060kfree(pcmdpriv-\u003Ecmd_allocated_buf);\u0060 on the error path to release the resource and simplified the return logic of rtw_init_cmd_priv(). As there is no proper device to test with, no runtime testing was performed.",
  "published": "2025-10-07T16:15:34Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0016,
  "epssPercentile": 0.05151,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50513",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50513",
      "released": "2025-10-07T16:15:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50513",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50513",
      "released": "2025-10-07T16:15:34Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.3-1",
      "fix": "DEBIAN-CVE-2022-50513",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50513",
      "released": "2025-10-07T16:15:34Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}