aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ptp.c
diff options
context:
space:
mode:
authorZijun Hu <[email protected]>2024-05-30 13:14:37 +0000
committerGreg Kroah-Hartman <[email protected]>2024-06-12 11:24:05 +0000
commitdd6e9894b451e7c85cceb8e9dc5432679a70e7dc (patch)
treea4138835436a937aac882865cd96cfe89f148512 /drivers/net/ethernet/intel/ice/ice_ptp.c
parentdrivers: arch_topology: use __free attribute instead of of_node_put() (diff)
downloadkernel-dd6e9894b451e7c85cceb8e9dc5432679a70e7dc.tar.gz
kernel-dd6e9894b451e7c85cceb8e9dc5432679a70e7dc.zip
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/net/ethernet/intel/ice/ice_ptp.c')
0 files changed, 0 insertions, 0 deletions