CVE-2025-38128

Summary

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()'.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux827af4787e74e8df9e8e0677a69fbb15e0856d2f < 9eeafd16d76a7642d12b3442a26c15cd345e12f7affected
LinuxLinux827af4787e74e8df9e8e0677a69fbb15e0856d2f < 03f1700b9b4d4f2fed3165370f3c23db76553178affected
LinuxLinux6.13affected
LinuxLinux0 < 6.13unaffected
LinuxLinux6.15.3 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

References