summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorNiranjan H Y <niranjan.hy@ti.com>2025-10-30 20:46:37 +0530
committerMark Brown <broonie@kernel.org>2025-11-06 13:12:34 +0000
commit84f5526e4dce0a44d050ceb1b1bf21d43016d91b (patch)
tree2c4a3d77ddce4df45d93659a2d8e5ac4e99be971 /net/unix/af_unix.c
parent1a58d865f423f4339edf59053e496089075fa950 (diff)
ASoC: tas2783A: Fix issues in firmware parsing
During firmware download, if the size of the firmware is too small, it wrongly assumes the firmware download is successful. If there is size mismatch with chunk's header, invalid memory is accessed. Fix these issues by throwing error during these cases. Fixes: 4cc9bd8d7b32 (ASoc: tas2783A: Add soundwire based codec driver) Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/r/202510291226.2R3fbYNh-lkp@intel.com/ Signed-off-by: Niranjan H Y <niranjan.hy@ti.com> Link: https://patch.msgid.link/20251030151637.566-1-niranjan.hy@ti.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions