{"id":"CVE-2023-52518","aliases":["CVE-2023-52518"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_codec: Fix leaking content of local_codecs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_codec: Fix leaking content of local_codecs\n\nThe following memory leak can be observed when the controller supports\ncodecs which are stored in local_codecs list but the elements are never\nfreed:\n\nunreferenced object 0xffff88800221d840 (size 32):\n  comm \"kworker/u3:0\", pid 36, jiffies 4294898739 (age 127.060s)\n  hex dump (first 32 bytes):\n    f8 d3 02 03 80 88 ff ff 80 d8 21 02 80 88 ff ff  ..........!.....\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<ffffffffb324f557>] __kmalloc+0x47/0x120\n    [<ffffffffb39ef37d>] hci_codec_list_add.isra.0+0x2d/0x160\n    [<ffffffffb39ef643>] hci_read_codec_capabilities+0x183/0x270\n    [<ffffffffb39ef9ab>] hci_read_supported_codecs+0x1bb/0x2d0\n    [<ffffffffb39f162e>] hci_read_local_codecs_sync+0x3e/0x60\n    [<ffffffffb39ff1b3>] hci_dev_open_sync+0x943/0x11e0\n    [<ffffffffb396d55d>] hci_power_on+0x10d/0x3f0\n    [<ffffffffb30c99b4>] process_one_work+0x404/0x800\n    [<ffffffffb30ca134>] worker_thread+0x374/0x670\n    [<ffffffffb30d9108>] kthread+0x188/0x1c0\n    [<ffffffffb304db6b>] ret_from_fork+0x2b/0x50\n    [<ffffffffb300206a>] ret_from_fork_asm+0x1a/0x30","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_codec: Fix leaking content of local_codecs\n\nThe following memory leak can be observed when the controller supports\ncodecs which are stored in local_codecs list but the elements are never\nfreed:\n\nunreferenced object 0xffff88800221d840 (size 32):\n  comm \"kworker/u3:0\", pid 36, jiffies 4294898739 (age 127.060s)\n  hex dump (first 32 bytes):\n    f8 d3 02 03 80 88 ff ff 80 d8 21 02 80 88 ff ff  ..........!.....\n    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n  backtrace:\n    [<ffffffffb324f557>] __kmalloc+0x47/0x120\n    [<ffffffffb39ef37d>] hci_codec_list_add.isra.0+0x2d/0x160\n    [<ffffffffb39ef643>] hci_read_codec_capabilities+0x183/0x270\n    [<ffffffffb39ef9ab>] hci_read_supported_codecs+0x1bb/0x2d0\n    [<ffffffffb39f162e>] hci_read_local_codecs_sync+0x3e/0x60\n    [<ffffffffb39ff1b3>] hci_dev_open_sync+0x943/0x11e0\n    [<ffffffffb396d55d>] hci_power_on+0x10d/0x3f0\n    [<ffffffffb30c99b4>] process_one_work+0x404/0x800\n    [<ffffffffb30ca134>] worker_thread+0x374/0x670\n    [<ffffffffb30d9108>] kthread+0x188/0x1c0\n    [<ffffffffb304db6b>] ret_from_fork+0x2b/0x50\n    [<ffffffffb300206a>] ret_from_fork_asm+0x1a/0x30","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: Bluetooth: hci_codec: corrige el contenido filtrado de local_codecs La siguiente pérdida de memoria se puede observar cuando el controlador admite códecs que se almacenan en la lista local_codecs pero los elementos nunca se liberan: objeto sin referencia 0xffff88800221d840 ( tamaño 32): comunicación \"kworker/u3:0\", pid 36, santiamén 4294898739 (edad 127.060 s) volcado hexadecimal (primeros 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 ................ retroceso: [] __kmalloc+0x47/0x120 [] hci_codec_list_add.isra.0+0x2d/0x160 [] hci_read_codec_capabilities+0x183/0x270 [] hci_read_supported_codecs+0x 1bb/0x2d0 [] hci_read_local_codecs_sync+0x3e/ 0x60 [] hci_dev_open_sync+0x943/0x11e0 [] hci_power_on+0x10d/0x3f0 [] Process_one_work+0x404/0x800 [] hilo_trabajador+0x374/0x670 [] kthread+0x188/ 0x1c0 [] ret_from_fork+0x2b/0x50 [] ret_from_fork_asm+0x1a/0x30","source":"nvd"}],"published":"2024-03-02T21:54:47.826Z","modified":"2026-06-17T06:42:55.010Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"626535077ba9dc110787540d1fe24881094c15a1","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1","status":"affected"},{"type":"git","introduced":"8961987f3f5fa2f2618e72304d013c8dd5e604a6","fixed":"b938790e70540bf4f2e653dcd74b232494d06c8f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.57","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.5.7","lastAffected":"6.5.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.6","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.1.57"},{"status":"affected","introduced":"6.2","fixed":"6.5.7"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/626535077ba9dc110787540d1fe24881094c15a1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b938790e70540bf4f2e653dcd74b232494d06c8f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-24T14:55:30.640Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52518","url":"https://www.cve.org/CVERecord?id=CVE-2023-52518","licence":"CVE Terms of Use","modified":"2026-05-11T19:28:51.101Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52518","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52518","licence":"Public domain","modified":"2026-06-17T06:42:55.010Z"}],"updatedAt":"2026-11-25T22:58:33.161Z","epss":{"score":0.00238,"percentile":0.15992,"date":"2026-12-01T12:00:22.000Z"}}