aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-05-30 23:13:32 +0000
committerDmitry Torokhov <[email protected]>2025-05-30 23:15:43 +0000
commita95ef0199e80f3384eb992889322957d26c00102 (patch)
tree48a99b6f06473c3300c94d614c196c22d1c7321a /rust/helpers
parentInput: gpio-keys - fix possible concurrent access in gpio_keys_irq_timer() (diff)
downloadkernel-a95ef0199e80f3384eb992889322957d26c00102.tar.gz
kernel-a95ef0199e80f3384eb992889322957d26c00102.zip
Input: ims-pcu - check record size in ims_pcu_flash_firmware()
The "len" variable comes from the firmware and we generally do trust firmware, but it's always better to double check. If the "len" is too large it could result in memory corruption when we do "memcpy(fragment->data, rec->data, len);" Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/131fd1ae92c828ee9f4fa2de03d8c210ae1f3524.1748463049.git.dan.carpenter@linaro.org Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions