Bug 2376073 (CVE-2025-38128) - CVE-2025-38128 kernel: Bluetooth: MGMT: reject malformed HCI_CMD_SYNC commands
Summary: CVE-2025-38128 kernel: Bluetooth: MGMT: reject malformed HCI_CMD_SYNC commands
Keywords:
Status: NEW
Alias: CVE-2025-38128
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 09:03 UTC by OSIDB Bzimport
Modified: 2025-07-03 17:02 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 09:03:42 UTC
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()'.

Comment 1 Avinash Hanwate 2025-07-03 16:54:53 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070329-CVE-2025-38128-5b44@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.