summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorKyle Pepper <cochcoder@proton.me>2026-11-06 17:24:57 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-06 13:49:56 -0500
commitc1d50a71cdee90a0c68b7a67221d8aae96d14a0c (patch)
tree77add6d7eca66b55c49974a27529b9c25cfee9d6 /tools/perf/scripts/python/bin
parent868c886f45f7c10dc888b94c6993352702a84d04 (diff)
Bluetooth: reject invalid LE supervision timeout relationships
The LE parameter validator calculates an unsigned maximum latency by subtracting one from a truncated quotient. If the quotient is zero, this wraps and accepts invalid parameters. Exact quotient boundaries also accept equality where the supervision timeout must be greater. Compare the products directly after checking the field bounds. The validated interval and latency limits keep the products within int. This enforces the strict timeout relationship without division or unsigned subtraction. Sashiko identified the underflow while reviewing the soft interval preference RFC. The bug is already present in its unpatched base; keep this common-validator fix independent of that preference policy. Fixes: 8757825b128e ("Bluetooth: hci_check_conn_params() check proper range") Assisted-by: LLM Signed-off-by: Kyle Pepper <cochcoder@proton.me> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions