summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2026-09-15 19:17:18 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-09-16 13:32:24 -0400
commitf2bbb36426581045a8bf7793da5419b9375e4348 (patch)
tree268b5cc7cea6e6d8c2f132c25cddeeb272d6a10c /tools/perf/scripts/python
parentf033482d76a9f18080c7a40c5f9c678bd7adc8f3 (diff)
downloadlinux-f2bbb36426581045a8bf7793da5419b9375e4348.tar.gz
linux-f2bbb36426581045a8bf7793da5419b9375e4348.zip
Bluetooth: btnxpuart: Fix skb leak in nxp_process_fw_dump()
When CONFIG_DEV_COREDUMP=n, hci_devcd_append() returns -EOPNOTSUPP without freeing its skb argument. This leaks the cloned skb and also prevents nxp_set_ind_reset() from being called to perform recovery. Fix by guarding the hci_devcd_append(hdev, skb_clone(skb, GFP_ATOMIC)) call with IS_ENABLED(CONFIG_DEV_COREDUMP). Fixes: 998e447f443f ("Bluetooth: btnxpuart: Add support for HCI coredump feature") Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions