summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2026-07-25 01:54:40 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-07-27 13:37:10 -0400
commit3d9ce6e4639c2b769b58544e67ddb324cf95527a (patch)
tree2210d1e64841a1f54355039ddc773bf642941544 /net/bluetooth
parent4b56754e9da3e0a5f89f9530e3a44fe7b2843bb9 (diff)
downloadlinux-next-3d9ce6e4639c2b769b58544e67ddb324cf95527a.tar.gz
linux-next-3d9ce6e4639c2b769b58544e67ddb324cf95527a.zip
Bluetooth: btintel: Validate length before parsing diagnostics TLV
btintel_diagnostics() accesses tlv->val[0] without first validating that the diagnostics VSE is long enough to contain that field, so may cause reading data beyond the received frame. Fix by validating the length before access. Fixes: af395330abed ("Bluetooth: btintel: Add Intel devcoredump support") 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 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions