You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kobject_uevent: Fix OOB access within zap_modalias_env()
jira LE-2974
cve CVE-2024-42292
Rebuild_History Non-Buildable kernel-5.14.0-503.40.1.el9_5
commit-author Zijun Hu <quic_zijuhu@quicinc.com>
commit dd6e989
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: 9b3fa47 ("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>
(cherry picked from commit dd6e989)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>
0 commit comments