Bluetooth: classic: avdtp: missing buffer length check #83024
Labels
area: Bluetooth Classic
Bluetooth Classic (BR/EDR)
area: Bluetooth
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Describe the bug
The remaining data length of net buffer needs to be checked before pulling data from it.
To Reproduce
The remaining data length of net buffer needs to be checked before the
net_buf_pull_u8
be called.Such as,
Expected behavior
The remaining data length of net buffer needs to be checked before pulling data from it.
Impact
Result of exploitation could lead to instability (i.e., crash) or denial of service attacks.
Logs and console output
N/A
Environment (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: