CVE-2023-52518

Source
https://cve.org/CVERecord?id=CVE-2023-52518
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52518.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52518
Downstream
Related
Published
2024-03-02T21:54:47.826Z
Modified
2026-03-20T12:32:34.724984Z
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_codec: Fix leaking content of local_codecs
Details

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

Bluetooth: hcicodec: Fix leaking content of localcodecs

The following memory leak can be observed when the controller supports codecs which are stored in local_codecs list but the elements are never freed:

unreferenced object 0xffff88800221d840 (size 32): comm "kworker/u3:0", pid 36, jiffies 4294898739 (age 127.060s) hex dump (first 32 bytes): f8 d3 02 03 80 88 ff ff 80 d8 21 02 80 88 ff ff ..........!..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffffb324f557>] __kmalloc+0x47/0x120 [<ffffffffb39ef37d>] hcicodeclistadd.isra.0+0x2d/0x160 [<ffffffffb39ef643>] hcireadcodeccapabilities+0x183/0x270 [<ffffffffb39ef9ab>] hcireadsupportedcodecs+0x1bb/0x2d0 [<ffffffffb39f162e>] hcireadlocalcodecssync+0x3e/0x60 [<ffffffffb39ff1b3>] hcidevopensync+0x943/0x11e0 [<ffffffffb396d55d>] hcipoweron+0x10d/0x3f0 [<ffffffffb30c99b4>] processonework+0x404/0x800 [<ffffffffb30ca134>] workerthread+0x374/0x670 [<ffffffffb30d9108>] kthread+0x188/0x1c0 [<ffffffffb304db6b>] retfromfork+0x2b/0x50 [<ffffffffb300206a>] retfromforkasm+0x1a/0x30

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52518.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
8961987f3f5fa2f2618e72304d013c8dd5e604a6
Fixed
626535077ba9dc110787540d1fe24881094c15a1
Fixed
eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1
Fixed
b938790e70540bf4f2e653dcd74b232494d06c8f

Database specific

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