[PW_SID:1074052] Bluetooth: ISO: validate ISO_END fragments#35
[PW_SID:1074052] Bluetooth: ISO: validate ISO_END fragments#35BluezTestBot wants to merge 2 commits intoworkflowfrom
Conversation
bluez/action-ci uses master as default branch for workflow which is incorrect for kernel. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
A malformed ISO_END fragment can trigger a NULL pointer dereference due to missing validation before processing. An oversized end fragment should also be rejected. Add the same validation for ISO_END as for ISO_CONT, and reset the in-progress reassembly state when malformed input is detected. Fixes: ccf74f2 ("Bluetooth: Add BTPROTO_ISO socket type") Cc: stable@vger.kernel.org Signed-off-by: Kangzheng Gu <xiaoguai0992@gmail.com>
|
CheckPatch |
|
GitLint |
|
SubjectPrefix |
|
BuildKernel |
|
CheckAllWarning |
|
CheckSparse |
|
BuildKernel32 |
|
TestRunnerSetup |
|
TestRunner_l2cap-tester |
|
TestRunner_iso-tester |
|
TestRunner_bnep-tester |
|
TestRunner_mgmt-tester |
|
TestRunner_rfcomm-tester |
|
TestRunner_sco-tester |
|
TestRunner_ioctl-tester |
|
TestRunner_mesh-tester |
|
TestRunner_smp-tester |
|
TestRunner_userchan-tester |
|
TestRunner_6lowpan-tester |
|
IncrementalBuild |
A malformed ISO_END fragment can trigger a NULL pointer dereference
due to missing validation before processing. An oversized end fragment
should also be rejected.
Add the same validation for ISO_END as for ISO_CONT, and reset the
in-progress reassembly state when malformed input is detected.
Fixes: ccf74f2 ("Bluetooth: Add BTPROTO_ISO socket type")
Cc: stable@vger.kernel.org
Signed-off-by: Kangzheng Gu xiaoguai0992@gmail.com
net/bluetooth/iso.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)