Skip to content
Heist/ feed
Back to feed
MediumFix available

Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.9
CVEs
CVE-2023-53017
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:45 UTC · Revision 1

Source evidence

Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()

core-osv · Original source

Published 27 Mar 2025, 16:43 UTC

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.

osv:CVE-2023-53017

Kernel

Fixed versions: 6.1.9

Complete source record
{
  "id": "1a567039577543f1f9493c92db86b16d35c31f541ee87eac4aa223f9947f4fa5",
  "url": "https://osv.dev/vulnerability/CVE-2023-53017",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.",
    "evidence": "osv:CVE-2023-53017",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53017",
      "aliases": [
        "CVE-2023-53017"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "651cd3d65b0f76a2198fcf3a80ce5d53dd267717"
                },
                {
                  "fixed": "8ac6043bd3e5b58d30f50737aedc2e58e8087ad5"
                },
                {
                  "fixed": "1ed8b37cbaf14574c779064ef1372af62e8ba6aa"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53017.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53017.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.688169601Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1ed8b37cbaf14574c779064ef1372af62e8ba6aa",
        "https://git.kernel.org/stable/c/8ac6043bd3e5b58d30f50737aedc2e58e8087ad5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53017.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53017",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53017.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53017",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496477,
  "published_at": "2025-03-27T16:43:45.211+00:00"
}