CVE-2023-53017

Source
https://cve.org/CVERecord?id=CVE-2023-53017
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53017.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53017
Downstream
Published
2025-03-27T16:43:45.211Z
Modified
2026-02-24T10:45:40.534244Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()
Details

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: hcisync: fix memory leak in hciupdateadvdata()

When hcicmdsyncqueue() failed in hciupdateadvdata(), instptr is not freed, which will cause memory leak, convert to use ERRPTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53017.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
651cd3d65b0f76a2198fcf3a80ce5d53dd267717
Fixed
8ac6043bd3e5b58d30f50737aedc2e58e8087ad5
Fixed
1ed8b37cbaf14574c779064ef1372af62e8ba6aa

Affected versions

v6.*
v6.0
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.2-rc1
v6.2-rc2
v6.2-rc3

Database specific

vanir_signatures
[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "202815898202978762843469797874913659547",
                "274501860284484592339610675188501189909",
                "5408788565230365070124862574626839476",
                "54005360570043603420821281906571351531",
                "175558332070711879737369394027591613925",
                "137330245161898565634799067524434583242",
                "265963809771173924977317490701228863136",
                "71055919660155820238773974863546857623",
                "189372608088474868148125324485459466991",
                "42853647185899406025794434133692194833",
                "260071828040178813386721134618433818702",
                "10249578624698504430307933272584216141"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ed8b37cbaf14574c779064ef1372af62e8ba6aa",
        "deprecated": false,
        "id": "CVE-2023-53017-1b9a7ec3",
        "signature_type": "Line",
        "target": {
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    },
    {
        "digest": {
            "length": 148.0,
            "function_hash": "4127958160027686316590572849265613507"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ac6043bd3e5b58d30f50737aedc2e58e8087ad5",
        "deprecated": false,
        "id": "CVE-2023-53017-ab09d6b0",
        "signature_type": "Function",
        "target": {
            "function": "_update_adv_data_sync",
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "202815898202978762843469797874913659547",
                "274501860284484592339610675188501189909",
                "5408788565230365070124862574626839476",
                "54005360570043603420821281906571351531",
                "175558332070711879737369394027591613925",
                "137330245161898565634799067524434583242",
                "265963809771173924977317490701228863136",
                "71055919660155820238773974863546857623",
                "189372608088474868148125324485459466991",
                "42853647185899406025794434133692194833",
                "260071828040178813386721134618433818702",
                "10249578624698504430307933272584216141"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ac6043bd3e5b58d30f50737aedc2e58e8087ad5",
        "deprecated": false,
        "id": "CVE-2023-53017-b9cadaea",
        "signature_type": "Line",
        "target": {
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    },
    {
        "digest": {
            "length": 148.0,
            "function_hash": "4127958160027686316590572849265613507"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ed8b37cbaf14574c779064ef1372af62e8ba6aa",
        "deprecated": false,
        "id": "CVE-2023-53017-cdc0d7c6",
        "signature_type": "Function",
        "target": {
            "function": "_update_adv_data_sync",
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    },
    {
        "digest": {
            "length": 206.0,
            "function_hash": "236654080121170311934838027079149596591"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8ac6043bd3e5b58d30f50737aedc2e58e8087ad5",
        "deprecated": false,
        "id": "CVE-2023-53017-d5b147f1",
        "signature_type": "Function",
        "target": {
            "function": "hci_update_adv_data",
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    },
    {
        "digest": {
            "length": 206.0,
            "function_hash": "236654080121170311934838027079149596591"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1ed8b37cbaf14574c779064ef1372af62e8ba6aa",
        "deprecated": false,
        "id": "CVE-2023-53017-f506a633",
        "signature_type": "Function",
        "target": {
            "function": "hci_update_adv_data",
            "file": "net/bluetooth/hci_sync.c"
        },
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53017.json"

Git / github.com/gregkh/linux

Affected ranges

Type
GIT
Repo
https://github.com/gregkh/linux
Events

Affected versions

v6.*
v6.0
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53017.json"