{"id":"CVE-2026-64126","revision":"87c1d90fb7214e1e9e10bd9a3e18a2e1","records":[{"revision":"87c1d90fb7214e1e9e10bd9a3e18a2e1","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64126","aliases":[],"title":"Bluetooth: MGMT: validate Add Extended Advertising Data length","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: MGMT: validate Add Extended Advertising Data length\n\nMGMT_OP_ADD_EXT_ADV_DATA is registered as a variable-length command,\nwith MGMT_ADD_EXT_ADV_DATA_SIZE as the fixed header size.  The handler\nthen uses cp->adv_data_len and cp->scan_rsp_len to validate and copy\ncp->data, but it never checks that those bytes are part of the mgmt\ncommand payload.\n\nA short command can therefore make add_ext_adv_data() pass an\nout-of-bounds pointer into tlv_data_is_valid().  If the bytes beyond\nthe command buffer are addressable, they can also be copied into the\nadvertising instance as scan response data, where the caller can read\nthem back via MGMT_OP_GET_ADV_INSTANCE.  The trigger requires\nCAP_NET_ADMIN in the initial user namespace; KASAN reports an 8-byte\nslab-out-of-bounds read.\n\nReject commands whose length does not match the fixed header plus both\nadvertising data lengths before parsing cp->data.","state":0,"publishedAt":"2026-07-19T15:40:23.276+00:00","modifiedAt":"2026-10-19T20:28:13.544+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/mgmt.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"0d5104390b445e7bd664ad583837e4c04d892c9d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"14b01b9cba04e6ce82825f68fc4c4322fa4ffa43\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"a143ce77a5292f2c9285137433d879ce71d190a7\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"a6c75a3fad226ccbd8ef9110dee87c92c299f2ab\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"f1febe93ef075314615f970a87681d9ab86691d1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"0bc1a5a69f541859293d79db72bd7854ac48df51\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12410572833a283ce92fcf9679ca8a2f372097ee\",\n                            \"lessThan\": \"d3f7d17960ed50df3a6709c5158caff989c8c905\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"net/bluetooth/mgmt.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.11\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.11\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.210\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.175\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.142\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.92\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.34\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.11\",\n                            \"lessThanOrEqual\": \"7.0.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.1\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","score":7.3,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/0d5104390b445e7bd664ad583837e4c04d892c9d","https://git.kernel.org/stable/c/14b01b9cba04e6ce82825f68fc4c4322fa4ffa43","https://git.kernel.org/stable/c/a143ce77a5292f2c9285137433d879ce71d190a7","https://git.kernel.org/stable/c/a6c75a3fad226ccbd8ef9110dee87c92c299f2ab","https://git.kernel.org/stable/c/f1febe93ef075314615f970a87681d9ab86691d1","https://git.kernel.org/stable/c/0bc1a5a69f541859293d79db72bd7854ac48df51","https://git.kernel.org/stable/c/d3f7d17960ed50df3a6709c5158caff989c8c905"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64126","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64126","identifiers":["CVE-2026-64126"]},"retained":false,"historicalAffected":[]}],"coverage":[]}