aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorZijun Hu <[email protected]>2024-05-30 21:14:37 +0800
committerGreg Kroah-Hartman <[email protected]>2024-06-12 13:24:05 +0200
commitdd6e9894b451e7c85cceb8e9dc5432679a70e7dc (patch)
treea4138835436a937aac882865cd96cfe89f148512 /drivers/fpga/fpga-bridge.c
parent880f5f58fd1aa22540d7e24693f411f6416b86d3 (diff)
kobject_uevent: Fix OOB access within zap_modalias_env()
zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove. Fixes: 9b3fa47d4a76 ("kobject: fix suppressing modalias in uevents delivered over netlink") Cc: [email protected] Signed-off-by: Zijun Hu <[email protected]> Reviewed-by: Lk Sii <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions