{"id":"CVE-2026-53252","state":"PUBLISHED","title":"Bluetooth: fix memory leak in error path of hci_alloc_dev()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix memory leak in error path of hci_alloc_dev()\n\nEarly failures in Bluetooth HCI UART configuration leak SRCU percpu\nmemory.\n\nWhen device initialization fails before hci_register_dev() completes,\nthe HCI_UNREGISTER flag is never set. As a result, when the device\nreference count reaches zero, bt_host_release() evaluates this flag as\nfalse and falls back to a direct kfree(hdev).\n\nBecause hci_release_dev() is bypassed, the SRCU struct initialized\nearly in hci_alloc_dev() is never cleaned up, resulting in a leak of\npercpu memory.\n\nFix the leak by explicitly calling cleanup_srcu_struct() in the\nfallback (unregistered) branch of bt_host_release() before freeing\nthe device.","publishedAt":"2026-06-25T08:39:43.951Z","updatedAt":"2026-06-25T08:39:43.951Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90dee0a0ff84fac8accd5be98412b3819f667149","status":"affected","lessThan":"5b7dfca6f852e6b9d809fd0263b5427cc9fb33fd","versionType":"git"},{"version":"c56b177efce8b62798e4d96bdb9867106cb7c4a0","status":"affected","lessThan":"c016118b9e51eeaf5bc93850d4c455a3b583c0aa","versionType":"git"},{"version":"bc0819a25e04cd68ef3568cfa51b63118fea39a7","status":"affected","lessThan":"0622e527a31d4b44737fed5c1a2ac1fc2cfb5184","versionType":"git"},{"version":"ce23b73f0f27e2dbeb81734a79db710f05aa33c6","status":"affected","lessThan":"bc2efe73c194a74839d7cf57b63880d97e21d309","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"ce4b4cac3c5749b6aa75e62e2991ae2263f2f889","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"f82799407a50af7bcacacf09cc9b279af8fe9b81","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f","versionType":"git"},{"version":"dd4becd3fd4102696e1c15e6d260a1712a2d8685","status":"affected","versionType":"git"},{"version":"0e5c144c557df910ab64d9c25d06399a9a735e65","status":"affected","versionType":"git"},{"version":"5.15.209","status":"affected","lessThan":"5.15.210","versionType":"semver"},{"version":"6.1.167","status":"affected","lessThan":"6.1.176","versionType":"semver"},{"version":"6.6.97","status":"affected","lessThan":"6.6.143","versionType":"semver"},{"version":"6.12.36","status":"affected","lessThan":"6.12.94","versionType":"semver"},{"version":"5.10.259","status":"affected","lessThan":"5.11","versionType":"semver"},{"version":"6.15.5","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sysfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sysfs.c"]}],"references":["https://git.kernel.org/stable/c/5b7dfca6f852e6b9d809fd0263b5427cc9fb33fd","https://git.kernel.org/stable/c/c016118b9e51eeaf5bc93850d4c455a3b583c0aa","https://git.kernel.org/stable/c/0622e527a31d4b44737fed5c1a2ac1fc2cfb5184","https://git.kernel.org/stable/c/bc2efe73c194a74839d7cf57b63880d97e21d309","https://git.kernel.org/stable/c/ce4b4cac3c5749b6aa75e62e2991ae2263f2f889","https://git.kernel.org/stable/c/f82799407a50af7bcacacf09cc9b279af8fe9b81","https://git.kernel.org/stable/c/37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53252.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53252","state":"PUBLISHED","datePublished":"2026-06-25T08:39:43.951Z","dateUpdated":"2026-06-25T08:39:43.951Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.394Z"},"containers":{"cna":{"title":"Bluetooth: fix memory leak in error path of hci_alloc_dev()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: fix memory leak in error path of hci_alloc_dev()\n\nEarly failures in Bluetooth HCI UART configuration leak SRCU percpu\nmemory.\n\nWhen device initialization fails before hci_register_dev() completes,\nthe HCI_UNREGISTER flag is never set. As a result, when the device\nreference count reaches zero, bt_host_release() evaluates this flag as\nfalse and falls back to a direct kfree(hdev).\n\nBecause hci_release_dev() is bypassed, the SRCU struct initialized\nearly in hci_alloc_dev() is never cleaned up, resulting in a leak of\npercpu memory.\n\nFix the leak by explicitly calling cleanup_srcu_struct() in the\nfallback (unregistered) branch of bt_host_release() before freeing\nthe device."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90dee0a0ff84fac8accd5be98412b3819f667149","status":"affected","lessThan":"5b7dfca6f852e6b9d809fd0263b5427cc9fb33fd","versionType":"git"},{"version":"c56b177efce8b62798e4d96bdb9867106cb7c4a0","status":"affected","lessThan":"c016118b9e51eeaf5bc93850d4c455a3b583c0aa","versionType":"git"},{"version":"bc0819a25e04cd68ef3568cfa51b63118fea39a7","status":"affected","lessThan":"0622e527a31d4b44737fed5c1a2ac1fc2cfb5184","versionType":"git"},{"version":"ce23b73f0f27e2dbeb81734a79db710f05aa33c6","status":"affected","lessThan":"bc2efe73c194a74839d7cf57b63880d97e21d309","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"ce4b4cac3c5749b6aa75e62e2991ae2263f2f889","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"f82799407a50af7bcacacf09cc9b279af8fe9b81","versionType":"git"},{"version":"1d6123102e9fbedc8d25bf4731da6d513173e49e","status":"affected","lessThan":"37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f","versionType":"git"},{"version":"dd4becd3fd4102696e1c15e6d260a1712a2d8685","status":"affected","versionType":"git"},{"version":"0e5c144c557df910ab64d9c25d06399a9a735e65","status":"affected","versionType":"git"},{"version":"5.15.209","status":"affected","lessThan":"5.15.210","versionType":"semver"},{"version":"6.1.167","status":"affected","lessThan":"6.1.176","versionType":"semver"},{"version":"6.6.97","status":"affected","lessThan":"6.6.143","versionType":"semver"},{"version":"6.12.36","status":"affected","lessThan":"6.12.94","versionType":"semver"},{"version":"5.10.259","status":"affected","lessThan":"5.11","versionType":"semver"},{"version":"6.15.5","status":"affected","lessThan":"6.16","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sysfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"5.15.210","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.176","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/hci_sysfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5b7dfca6f852e6b9d809fd0263b5427cc9fb33fd"},{"url":"https://git.kernel.org/stable/c/c016118b9e51eeaf5bc93850d4c455a3b583c0aa"},{"url":"https://git.kernel.org/stable/c/0622e527a31d4b44737fed5c1a2ac1fc2cfb5184"},{"url":"https://git.kernel.org/stable/c/bc2efe73c194a74839d7cf57b63880d97e21d309"},{"url":"https://git.kernel.org/stable/c/ce4b4cac3c5749b6aa75e62e2991ae2263f2f889"},{"url":"https://git.kernel.org/stable/c/f82799407a50af7bcacacf09cc9b279af8fe9b81"},{"url":"https://git.kernel.org/stable/c/37b3009bf5976e8ab77c8b9a9bc3bbd7ff49e37f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-25T08:39:43.951Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.209","versionEndExcluding":"5.15.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.167","versionEndExcluding":"6.1.176"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.97","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.36","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.259"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}