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>] retfromfork_asm+0x1a/0x30
{ "vanir_signatures": [ { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_sync.c", "function": "hci_dev_close_sync" }, "id": "CVE-2023-52518-255c5045", "digest": { "length": 2606.0, "function_hash": "138388566095515076952124836524431803041" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b938790e70540bf4f2e653dcd74b232494d06c8f", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_core.c", "function": "hci_release_dev" }, "id": "CVE-2023-52518-257fbf91", "digest": { "length": 748.0, "function_hash": "269612816867665299279485723838663326509" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@626535077ba9dc110787540d1fe24881094c15a1", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_core.c", "function": "hci_release_dev" }, "id": "CVE-2023-52518-27f24860", "digest": { "length": 748.0, "function_hash": "269612816867665299279485723838663326509" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_core.c" }, "id": "CVE-2023-52518-2abf6b4d", "digest": { "threshold": 0.9, "line_hashes": [ "33943256398421284035012376557771855229", "34230078953617088054735732913110411688", "223702392381093982727326718695889451804", "65468377724186977175654261422465525085" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b938790e70540bf4f2e653dcd74b232494d06c8f", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_event.c" }, "id": "CVE-2023-52518-4e04679f", "digest": { "threshold": 0.9, "line_hashes": [ "168677874375001215161149845090803591641", "234424866714265517135235150320131445873", "72143148703625248671423633201073550190", "15124507207556745863693436202741850439" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@626535077ba9dc110787540d1fe24881094c15a1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_sync.c" }, "id": "CVE-2023-52518-64e4912c", "digest": { "threshold": 0.9, "line_hashes": [ "34695787841259042656178294908306207390", "80608938881490404418292027492665187501", "258794377161775654593054446709620584307", "73219624278508598001330876014715152894" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_core.c", "function": "hci_release_dev" }, "id": "CVE-2023-52518-75ec742e", "digest": { "length": 748.0, "function_hash": "269612816867665299279485723838663326509" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b938790e70540bf4f2e653dcd74b232494d06c8f", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_sync.c", "function": "hci_dev_close_sync" }, "id": "CVE-2023-52518-794ca697", "digest": { "length": 2606.0, "function_hash": "138388566095515076952124836524431803041" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_sync.c" }, "id": "CVE-2023-52518-86ee8174", "digest": { "threshold": 0.9, "line_hashes": [ "34695787841259042656178294908306207390", "80608938881490404418292027492665187501", "258794377161775654593054446709620584307", "73219624278508598001330876014715152894" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b938790e70540bf4f2e653dcd74b232494d06c8f", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_sync.c" }, "id": "CVE-2023-52518-94156912", "digest": { "threshold": 0.9, "line_hashes": [ "34695787841259042656178294908306207390", "80608938881490404418292027492665187501", "258794377161775654593054446709620584307", "73219624278508598001330876014715152894" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@626535077ba9dc110787540d1fe24881094c15a1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_core.c" }, "id": "CVE-2023-52518-99cfc6d2", "digest": { "threshold": 0.9, "line_hashes": [ "33943256398421284035012376557771855229", "34230078953617088054735732913110411688", "223702392381093982727326718695889451804", "65468377724186977175654261422465525085" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1", "signature_version": "v1" }, { "signature_type": "Function", "target": { "file": "net/bluetooth/hci_sync.c", "function": "hci_dev_close_sync" }, "id": "CVE-2023-52518-a387798f", "digest": { "length": 2606.0, "function_hash": "138388566095515076952124836524431803041" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@626535077ba9dc110787540d1fe24881094c15a1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_event.c" }, "id": "CVE-2023-52518-b0602f1c", "digest": { "threshold": 0.9, "line_hashes": [ "168677874375001215161149845090803591641", "234424866714265517135235150320131445873", "72143148703625248671423633201073550190", "15124507207556745863693436202741850439" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eea5a8f0c3b7c884d2351e75fbdd0a3d7def5ae1", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_event.c" }, "id": "CVE-2023-52518-cd0d8553", "digest": { "threshold": 0.9, "line_hashes": [ "168677874375001215161149845090803591641", "234424866714265517135235150320131445873", "72143148703625248671423633201073550190", "15124507207556745863693436202741850439" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b938790e70540bf4f2e653dcd74b232494d06c8f", "signature_version": "v1" }, { "signature_type": "Line", "target": { "file": "net/bluetooth/hci_core.c" }, "id": "CVE-2023-52518-eae0d61c", "digest": { "threshold": 0.9, "line_hashes": [ "33943256398421284035012376557771855229", "34230078953617088054735732913110411688", "223702392381093982727326718695889451804", "65468377724186977175654261422465525085" ] }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@626535077ba9dc110787540d1fe24881094c15a1", "signature_version": "v1" } ] }