CVE-2025-40294
Bluetooth: MGMT: Fix OOB access in parse_adv_monitor_pattern()
Reported by linux · Published December 8, 2025
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix OOB access in parse_adv_monitor_pattern() In the parse_adv_monitor_pattern() function, the value of the 'length' variable is currently limited to HCI_MAX_EXT_AD_LENGTH(251). The size of the 'value' array in the mgmt_adv_pattern structure is 31. If the value of 'pattern[i].length' is set in the user space and exceeds 31, the 'patterns[i].value' array can be accessed out of bound when copied. Increasing the size of the 'value' array in the 'mgmt_adv_pattern' structure will break the userspace. Considering this, and to avoid OOB access revert the limits for 'offset' and 'length' back to the value of HCI_MAX_AD_LENGTH. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 99f30e12e588f9982a6eb1916e53510bff25b3b8, db08722fc7d46168fe31d9b8a7b29229dd959f9f, db08722fc7d46168fe31d9b8a7b29229dd959f9f |
| Linux | Linux | 6.6, 0, 6.1.159 |
| Linux | Linux | 6.1.83, 6.6.117, * |
| linux | linux_kernel | 6.1.83, 6.6, 6.6 |
Timeline
- Dec 7, 2025 CVE Published
- Dec 8, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Security Advisory (206 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (168 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40294
vulnetix vdb fixes CVE-2025-40294
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40294/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart