diff options
author | 2024-05-30 21:14:37 +0800 | |
---|---|---|
committer | 2024-06-12 13:24:05 +0200 | |
commit | dd6e9894b451e7c85cceb8e9dc5432679a70e7dc (patch) | |
tree | a4138835436a937aac882865cd96cfe89f148512 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers: arch_topology: use __free attribute instead of of_node_put() (diff) | |
download | wireguard-linux-dd6e9894b451e7c85cceb8e9dc5432679a70e7dc.tar.xz wireguard-linux-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: stable@vger.kernel.org
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Reviewed-by: Lk Sii <lk_sii@163.com>
Link: https://lore.kernel.org/r/1717074877-11352-1-git-send-email-quic_zijuhu@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions