summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2026-05-08 14:48:04 +0100
committerLee Jones <lee@kernel.org>2026-06-17 11:32:30 +0100
commitb6ef1a74b3ec254f87a6a3c554fe8f8083ebd37c (patch)
tree443bde4777e9ff26a4b09b03ec924f90f7b76613 /scripts/objdiff
parent1cd125db9343dde0c521562a02190088dde2bd29 (diff)
mfd: cs42l43: Sanity check firmware size
Currently the code checks if a firmware was received, however it does not verify that the firmware size is larger than the firmware header. As the firmware pointer is dereferenced as a pointer to the header structure this could lead to an out of bounds memory access. Add the missing check. Fixes: ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260508134804.1787461-1-ckeepax@opensource.cirrus.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions