# CVE-2025-38128: Bluetooth: MGMT: reject malformed HCI_CMD_SYNC commands

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:33.089Z
- Modified: 2026-11-05T21:18:10.983Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: MGMT: reject malformed HCI_CMD_SYNC commands

In 'mgmt_hci_cmd_sync()', check whether the size of parameters passed
in 'struct mgmt_cp_hci_cmd_sync' matches the total size of the data
(i.e. 'sizeof(struct mgmt_cp_hci_cmd_sync)' plus trailing bytes).
Otherwise, large invalid 'params_len' will cause 'hci_cmd_sync_alloc()'
to do 'skb_put_data()' from an area beyond the one actually passed to
'mgmt_hci_cmd_sync()'.

(As written by CVE List.)

## Affected

- Linux Linux: from 827af4787e74e8df9e8e0677a69fbb15e0856d2f before 9eeafd16d76a7642d12b3442a26c15cd345e12f7; from 827af4787e74e8df9e8e0677a69fbb15e0856d2f before 03f1700b9b4d4f2fed3165370f3c23db76553178; 6.13 (not affected: before 6.13; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/9eeafd16d76a7642d12b3442a26c15cd345e12f7> (patch)
- <https://git.kernel.org/stable/c/03f1700b9b4d4f2fed3165370f3c23db76553178> (patch)

## Sources

- CVE List: [CVE-2025-38128](https://www.cve.org/CVERecord?id=CVE-2025-38128), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38128](https://nvd.nist.gov/vuln/detail/CVE-2025-38128), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38128 · Whole record: https://cve.day/CVE-2025-38128.json · Rebuilt by cve.day 2026-11-25T22:59:00.528Z
