diff options
| author | Zijun Hu <[email protected]> | 2024-05-30 13:14:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-12 11:24:05 +0000 |
| commit | dd6e9894b451e7c85cceb8e9dc5432679a70e7dc (patch) | |
| tree | a4138835436a937aac882865cd96cfe89f148512 /drivers/net/ethernet/intel/ice/ice_ptp.c | |
| parent | drivers: arch_topology: use __free attribute instead of of_node_put() (diff) | |
| download | kernel-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
