Skip to content
Commit bece6aea authored by Lee Gibson's avatar Lee Gibson Committed by Greg Kroah-Hartman
Browse files

qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth



[ Upstream commit 130f634d ]

Function qtnf_event_handle_external_auth calls memcpy without
checking the length.
A user could control that length and trigger a buffer overflow.
Fix by checking the length is within the maximum allowed size.

Signed-off-by: default avatarLee Gibson <leegib@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210419145842.345787-1-leegib@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ededc732
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment