{"id":"CVE-2026-23151","aliases":["CVE-2026-23151"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: MGMT: Fix memory leak in set_ssp_complete","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix memory leak in set_ssp_complete\n\nFix memory leak in set_ssp_complete() where mgmt_pending_cmd structures\nare not freed after being removed from the pending list.\n\nCommit 302a1f674c00 (\"Bluetooth: MGMT: Fix possible UAFs\") replaced\nmgmt_pending_foreach() calls with individual command handling but missed\nadding mgmt_pending_free() calls in both error and success paths of\nset_ssp_complete(). Other completion functions like set_le_complete()\nwere fixed correctly in the same commit.\n\nThis causes a memory leak of the mgmt_pending_cmd structure and its\nassociated parameter data for each SSP command that completes.\n\nAdd the missing mgmt_pending_free(cmd) calls in both code paths to fix\nthe memory leak. Also fix the same issue in set_advertising_complete().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: Fix memory leak in set_ssp_complete\n\nFix memory leak in set_ssp_complete() where mgmt_pending_cmd structures\nare not freed after being removed from the pending list.\n\nCommit 302a1f674c00 (\"Bluetooth: MGMT: Fix possible UAFs\") replaced\nmgmt_pending_foreach() calls with individual command handling but missed\nadding mgmt_pending_free() calls in both error and success paths of\nset_ssp_complete(). Other completion functions like set_le_complete()\nwere fixed correctly in the same commit.\n\nThis causes a memory leak of the mgmt_pending_cmd structure and its\nassociated parameter data for each SSP command that completes.\n\nAdd the missing mgmt_pending_free(cmd) calls in both code paths to fix\nthe memory leak. Also fix the same issue in set_advertising_complete().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nBluetooth: MGMT: Corrección de fuga de memoria en set_ssp_complete\n\nCorrige la fuga de memoria en set_ssp_complete() donde las estructuras mgmt_pending_cmd no son liberadas después de ser eliminadas de la lista de pendientes.\n\nEl commit 302a1f674c00 ('Bluetooth: MGMT: Corrige posibles UAFs') reemplazó las llamadas a mgmt_pending_foreach() con el manejo individual de comandos, pero omitió añadir llamadas a mgmt_pending_free() tanto en las rutas de error como de éxito de set_ssp_complete(). Otras funciones de completado como set_le_complete() fueron corregidas correctamente en el mismo commit.\n\nEsto causa una fuga de memoria de la estructura mgmt_pending_cmd y sus datos de parámetros asociados para cada comando SSP que se completa.\n\nAñade las llamadas faltantes a mgmt_pending_free(cmd) en ambas rutas de código para corregir la fuga de memoria. También corrige el mismo problema en set_advertising_complete().","source":"nvd"}],"published":"2026-02-14T16:01:19.663Z","modified":"2026-11-05T22:18:04.560Z","severity":{"scorer":"NVD","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":"NVD","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-401"],"affected":[{"ranges":[{"type":"git","introduced":"0b60eb04b8524e1b4b3f07fea0d16fda9a677d9a","fixed":"d7e42dc47beb48851bc0008c1e1b79126de9d975","status":"affected"},{"type":"git","introduced":"d71b98f253b079cbadc83266383f26fe7e9e103b","fixed":"1850a558d116d7e3e2ef36d06a56f59b640cc214","status":"affected"},{"type":"git","introduced":"302a1f674c00dd5581ab8e493ef44767c5101aab","fixed":"3b6318505378828ee415d6ef678db6a74c077504","status":"affected"},{"type":"git","introduced":"302a1f674c00dd5581ab8e493ef44767c5101aab","fixed":"1b9c17fd0a7fdcbe69ec5d6fe8e50bc5ed7f01f2","status":"affected"},{"type":"git","version":"87a1f16f07c6c43771754075e08f45b41d237421","status":"affected"},{"type":"semver","introduced":"6.12.59","fixed":"6.12.69","status":"affected"},{"type":"semver","introduced":"6.16.10","fixed":"6.17","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.12.69","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.9","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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":"6.12.59","fixed":"6.12.69"},{"status":"affected","introduced":"6.16.10","fixed":"6.17"},{"status":"affected","introduced":"6.17.1","fixed":"6.18.9"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d7e42dc47beb48851bc0008c1e1b79126de9d975","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1850a558d116d7e3e2ef36d06a56f59b640cc214","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b6318505378828ee415d6ef678db6a74c077504","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b9c17fd0a7fdcbe69ec5d6fe8e50bc5ed7f01f2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T21:20:54.936Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23151","url":"https://www.cve.org/CVERecord?id=CVE-2026-23151","licence":"CVE Terms of Use","modified":"2026-11-05T21:23:19.666Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23151","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23151","licence":"Public domain","modified":"2026-11-05T22:18:04.560Z"}],"updatedAt":"2026-11-25T22:59:13.891Z","epss":{"score":0.00174,"percentile":0.07148,"date":"2026-12-02T12:00:21.000Z"}}